From: <ma...@on...> - 2007-06-30 20:11:45
|
2007/6/30, Greg Roelofs <ne...@po...>: > >> Try changing dummy_value_a and dummy_value_d at line 2247 from png_bytep > >> to ull. I just noticed that bug, and it will affect only 32-bit systems. > >> (OpenBSD might be particularly susceptible due to security-related stack > >> protections.) > > > Yes, that helps. All's fine. :-) > > Actually, I was wrong; it shouldn't even compile on 32-bit. Are you > sure you reenabled the MMX code? (You said you changed something in > pngconf.h.) Ah sorry, no, I didn't. > Do you have valgrind on your OpenBSD box, by any chance? If No. "Valgrind is a flexible program for debugging and profiling Linux executables". OpenBSD != Linux. Btw: A bt of the core is #0 0x06a30cb7 in avg_go () at pnggccrd.c:3330 #1 0x06a3176e in png_read_filter_row (png_ptr=0x7f9cd000, row_info=0x7f9cd0f0, row=0x887f4a21 "", prev_row=0x887f4c01 "", filter=3) at pnggccrd.c:5881 #2 0x06a1de58 in png_read_row (png_ptr=0x7f9cd000, row=0x887f4800 "", dsp_row=0x0) at pngread.c:751 #3 0x06a1e0a4 in png_read_rows (png_ptr=0x7f9cd000, row=0xcf7d4704, display_row=0x0, num_rows=1) at pngread.c:854 #4 0x1c0026de in test_one_file (inname=0x3c00026e "pngtest.png", outname=0x3c00027a "pngout.png") at pngtest.c:1098 #5 0x1c0030fd in main (argc=1, argv=0xcf7d49f8) at pngtest.c:1470 Best Martin |