Bernd Feige <[EMAIL PROTECTED]> wrote: > the current package crashes whenever an image or workspace is loaded. > I downloaded the current CVS version of vips and nip2 (nip2-7.11.1) > and verified the problem there (gcc 4.0.2 20050806); it occurs in > led.c:107, within gdk_pixmap_create_from_xpm_d (gdb says in strlen there). > I first skipped led_realize completely and got a working nip2; then I > found that compiling led.c with optimization -O (or none) instead of -O2 > also yields a working nip2. Therefore, not gdk_pixmap_create_from_xpm_d > appears at fault but it's obviously a gcc data initialization > optimization bug.
Thanks for providing all these details in your report. I'll try to resolve this as quickly as possible. Have you reported any bugs against gcc on this? Either way, I'll look into it and, at the very least, attempt to implement the workaround you've suggested of compiling led.c with -O or, if needed, compiling the whole package with -O. I should find time to get to this in the next few days. Thanks for the report. -- Jay Berkenbilt <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]