Re: Any problems with malloc functions?



Owen Taylor wrote:

> (I think the archive is just lagged. Though it is a bit strange
>  that the last message is on Dec 31)
> 
On the web there's no 1999 areas at all.  Hopefully the lag catches up
soon . . .

> This problem has not been reported before. Generally, I'd
> say that if malloc() hangs, it probably means that memory
> has been corrupted in some fashion somewhere else - a
> double free(), or a buffer-overwrite. :-(
> 
> Since this doesn't seem to occur on other platforms, it
> may be rather nasty to debug. Do other GTK+ programs
> show the same problem. For instance, the gtk/simple
> program?
> 
> Could you try out 1.1.12 and see if that helps?
> (Actuallyy, 1.1.13 should be coming out in the next
> day or so.)

Sorry, I was using 1.1.12.  Stupid fingers . . .  the gtk/simple program
works, as do the testdnd and testrgb programs.  The test RGB program
seems much slower than before, could this be related to installing Imlib
1.9?  I do get one warning in the output of testrgb:

ic802:/usr3/kens/gtk+-1.1.12/gtk> ./testrgb
Visual 0x20, type = pseudo color, depth = 8, 0:0:0 (system); score=4111
color cube: 6 x 6 x 6

Gdk-WARNING **: shmget failed!
Chose visual 0x20, image bpp=8, msb first
Color test time elapsed: 20.00s, 5.0 fps, 0.32 megapixels/s
Color test (dithered) time elapsed: 20.01s, 5.0 fps, 0.32 megapixels/s
Grayscale test time elapsed: 9.99s, 10.0 fps, 0.64 megapixels/s
Grayscale test (dithered) time elapsed: 20.02s, 5.0 fps, 0.32
megapixels/s
Please submit these results to http://www.levien.com/gdkrgb/survey.html
ic802:/usr3/kens/gtk+-1.1.12/gtk>

I don't know if that is serious/helpful or not.  I was compiling GNOME
when I first noticed this problem, all gnome apps crash right away,
without a window ever appearing.  How do I go about tracking down this
problem?  Is there any chance that some old library is causing this? 
I'll try 1.1.13 as soon as it debuts . .

here's what panel says:

ic802:/usr3/kens> panel
Gdk-Message: locale not supported by Xlib, locale set to C
Gdk-Message: can not set locale modifiers

** CRITICAL **: file gnome-pixmap.c: line 121
(gnome_pixmap_new_from_file): assertion `filename != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1414 (gtk_widget_show):
assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 694 (gtk_container_add):
assertion `widget != NULL' failed.

** CRITICAL **: file gnome-pixmap.c: line 121
(gnome_pixmap_new_from_file): assertion `filename != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1414 (gtk_widget_show):
assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 694 (gtk_container_add):
assertion `widget != NULL' failed.

** CRITICAL **: file gnome-pixmap.c: line 121
(gnome_pixmap_new_from_file): assertion `filename != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1414 (gtk_widget_show):
assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 694 (gtk_container_add):
assertion `widget != NULL' failed.

** CRITICAL **: file gnome-pixmap.c: line 121
(gnome_pixmap_new_from_file): assertion `filename != NULL' failed.

Gtk-CRITICAL **: file gtkwidget.c: line 1414 (gtk_widget_show):
assertion `widget != NULL' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 694 (gtk_container_add):
assertion `widget != NULL' failed.
Memory fault(coredump)

Ken



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