Re: Re: gdk_draw_gray_image_crashes



Tried reversing the order. I dumped core. gdb result as below:

----------------------------------------------------
Program received signal SIGSEGV, Segmentation fault.
gdk_rgb_choose_visual () at gdkrgb.c:492
gdkrgb.c:492: No such file or directory.
(gdb) bt
#0  gdk_rgb_choose_visual () at gdkrgb.c:492
#1  0xef5d4690 in gdk_rgb_init () at gdkrgb.c:595
#2  0x11250 in init (argc=1, argv=0xefffef64) at image.c:39
#3  0x11144 in main (argc=1, argv=0xefffef64) at image.c:8
(gdb)
------------------------------------------------------

Not having the gdk_rgb_init at all caused the same error, i.e,, "gdkrgb.c
not found", but it happened in the expose function and not right at the
start.

-Nikhil


You wrote :

On Sun, 2001-10-28 at 12:30, Nikhil Hegde wrote:
gtk_init(&argc, &argv);
gdk_rgb_init();

Do it in the other order, I think...







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]