[Bug 606321] Re: libpng Decompression error

2010-07-21 Thread Mike
Sorry for bothering. This seems my fault. ** Changed in: libpng (Ubuntu) Status: Incomplete => Invalid -- libpng Decompression error https://bugs.launchpad.net/bugs/606321 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubun

[Bug 606321] Re: libpng Decompression error

2010-07-21 Thread Marcel Stimberg
Compile this program with: gcc -o pngtest -Wall $(pkg-config --cflags --libs SDL_image) png.c and run it with: ./pngtest for example: ./pngtest /usr/share/icons/gnome/24x24/apps/*.png ** Attachment added: "Test program for sdl and libpng" http://launchpadlibrarian.net/52276782/png.c -- lib

[Bug 606321] Re: libpng Decompression error

2010-07-21 Thread Marcel Stimberg
Dear Mike, as you were told in that list, it is most likely a bug in your code that is triggering this problem. There are 692 packages depending on libpng, and if the basic loading of an image were broken there would be other bug reports about this issue. Of course, this does not exclude a probl

[Bug 606321] Re: libpng Decompression error

2010-07-21 Thread Mike
No seems broken. See also here libpng error: decompression error thread in: http://news.gmane.org/gmane.comp.lib.sdl Single stepping until exit from function siglongjmp, which has no line number information. Warning: Cannot insert breakpoint 0. Error accessing memory address 0x131210e3: Input/ou

[Bug 606321] Re: libpng Decompression error

2010-07-20 Thread Marcel Stimberg
If the bug occurs randomly for different pngs than it is very likely a problem in your code and not in the libpng library. I'm therefore marking this bug as invalid. A forum is indeed a more appropriate way to discuss such problems, I'm sorry that I can't help you with your code. Please continu

[Bug 606321] Re: libpng Decompression error

2010-07-18 Thread Mike
Look here the last posting (mike4linux) http://www.gamedev.net/community/forums/topic.asp?topic_id=546917 I don't think it's related to my pngs as it loads of those 4 randomly 1-2. It might be solved by changing my code. Any help on that? Thanks Michael -- libpng Decompression error https://b

[Bug 606321] Re: libpng Decompression error

2010-07-18 Thread Marcel Stimberg
I doubt this is a general libpng error, this library is widely used by almost all applications that want to display PNGs -- if it didn't work there would be more bug reports about this issue. I also tested a very small SDL_Surface/IMG_Load program and it did not show any errors. If this only happen

[Bug 606321] Re: libpng Decompression error

2010-07-18 Thread Mike
I used previously openSuse and had no problems there. This is the code generating the error: -- SDL_Surface* lotto[TextureId]; lotto[TextureId] = IMG_Load(TextureFileName); The error occurs at IMG_Load. Is that enough info? Simply loading a png with SDL should reproduce t

[Bug 606321] Re: libpng Decompression error

2010-07-16 Thread Marcel Stimberg
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html.