glib segfault
- From: Havoc Pennington <hp Mcs Net>
- To: gtk-devel-list redhat com
- Subject: glib segfault
- Date: Sun, 24 Jan 1999 18:23:46 -0600 (CST)
gnome-apt is dying here, I see there have been a flurry of changes to this
code recently. I don't see the problem offhand, maybe it's more obvious
to whoever's been hacking on it.
#0 0x4057fdb2 in free ()
#1 0x4057fc71 in free ()
#2 0x4043e02f in g_free (mem=0x80b63d8) at gmem.c:394
#3 0x4044ed62 in g_get_any_init () at gutils.c:451
#4 0x4044f160 in g_get_home_dir () at gutils.c:545
#5 0x4040ef72 in gnomelib_init (app_id=0x809667c "gnome-apt",
app_version=0x809669b "0.1") at gnomelib-init.c:138
#6 0x400896fd in gnome_init_with_popt_table (app_id=0x809667c
"gnome-apt",
app_version=0x809669b "0.1", argc=1, argv=0xbffffa28,
options=0x8096810,
flags=0, return_ctx=0xbffffa0c) at gnome-init.c:401
#7 0x806e41e in main (argc=1, argv=0xbffffa28) at gnome-apt.cc:80
(gdb) up 3
#3 0x4044ed62 in g_get_any_init () at gutils.c:451
451 g_free (buffer);
(gdb) list
446 guint bufsize = 1; /* sizeof (struct passwd); */
447 gint error;
448
449 do
450 {
451 g_free (buffer);
452 buffer = g_malloc (bufsize);
453
454 errno = 0;
455 # ifdef HAVE_GETPWUID_R_POSIX
(gdb) p buffer
$1 = (void *) 0x80b63d8
(gdb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]