Jump to content

png_write_chunk


photo

Recommended Posts

Do you have any hints about troubleshooting png_write_chunk?

It is png_write_chunk that is caught in BugTrap when the program crashes intermittently.

Currently we are using 2.0 beta version.

Is there a problem with the method I'm using?

 

UserInterfacePtr Test_UI;

Test_UI = UserInterface::create(Gui::get(), "data/test.ui");

Test_UI->getWidget(Test_UI->findWidget("test_sprite"))->setHidden(1);  // Is there a problem if this code is running in duplicate?

 

test.ui

<?xml version="1.0" encoding="utf-8"?>
<ui version="1.0">

<groupbox name="test_groupbox" export="1" align="overlap" pos_x="0" pos_y="0" border="0" hidden="1">

    <sprite name="test_sprite" export="1" align="overlap" pos_x="100" pos_y="100" texture="data/image/test.png" width="100" height="100" ></sprite>

</groupbox>

</ui>

 

Thanks!

Link to comment

Hi Guade,

2.0 is pretty much outdated version (also, beta is not designed for any production use). If you can update at least to 2.0 release to see if this behavior will be fixed? Also, make sure that you have non-damaged png image (sometimes artists can save other image formats like JPG in PNG files) inside data/image/test.png (also you can try to change path to something like image/test.png) or just replace an image itself with some working one.

If that doesn't help, we would need a small test scene (you can modify any sample from <SDK>/data/samples/widgets) with your images so we can check that on our side.

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
×
×
  • Create New...