Tobias,


A very quick message to tell you that I think I may have found the bug. An extremely silly bug. If you're in a rush, I can tell you what lines to fix in the code, but Ill probably release 0.4.7 over the weekend.



Paul.


On 30 Sep 2004, at 6:34, Tobias Kretz wrote:

Hi Paul,

I use pngwriter not only to save images created in memory but also to read pngs as an input for my program (spatial starting configuration)
therefore I use readfromfile quite often in my programs
It appears that readfromfile segfaults when one uses it more than 1019 (this number might depend on the size of the image) times in a program.


A program where this error occures together with a backtrace of the error is here:
http://www.traffic.uni-duisburg.de/~kretz/pngwriter/pngwritertest.cpp
and compiled:
http://www.traffic.uni-duisburg.de/~kretz/pngwriter/pngwritertest.out
the testimage is
http://www.traffic.uni-duisburg.de/~kretz/pngwriter/testimage.png


I used the memory supervison system (MSS) to follow all memory operations of the program. The generated logfile is here:
http://www.traffic.uni-duisburg.de/~kretz/pngwriter/mss_segfault.log (36.9 MB)
Normally MSS gives warnings in the logfile for all critical memory
operations. But no warnings appear in this logfile which for me makes the error even more mysterious.
I donīt know if this error is in pngwriter, libpng or maybe even in RedHat 8.0 system. My hope is just that you might find a way to trace the error back a bit closer to its source.


best regards,

Tobias

--
----------------------------------------------------------------------
Tobias Kretz                     | Lotharstr. 1, Building MD, Room 263
Physics of Transport and Traffic | D-47048 Duisburg
Department of Physics            | Phone: +49-203-379-2754
Campus Duisburg                  | Fax:   +49-203-379-6564
University Duisburg-Essen        | http://www.traffic.uni-duisburg.de/
----------------------------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
http://pngwriter.sourceforge.net/
PNGwriter-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pngwriter-users





------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ http://pngwriter.sourceforge.net/ PNGwriter-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pngwriter-users

Reply via email to