GMC/MC problems




This is a RedHat rawhide system with gtk+/glib 1.1.9, gnome-libs and
gnome-core from GNOME_STABLE yesterday.  The mc package was checked out of
anonymous CVS this morning (US/Eastern).

I have problems with both gmc and mc.  Gmc core dumps on me.  Here's the
backtrace:

$ gdb gmc
GNU gdb 4.17
[copyright snipped]
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /opt/gnome/bin/gmc 

Program received signal SIGSEGV, Segmentation fault.
0x403de55b in metadata_get_list (space=0x403e527c "regex", 
    object=0x80dcba2 "icon-position", value=0xbffff9a4)
    at gnome-metadata.c:362
362             r = database->get (database, &key, value, 0);
(gdb) bt
#0  0x403de55b in metadata_get_list (space=0x403e527c "regex", 
    object=0x80dcba2 "icon-position", value=0xbffff9a4)
    at gnome-metadata.c:362
#1  0x403df0af in get_worker (file=0x8161de0
    "/home/dzol/desktop/Trashcan", name=0x80dcba2 "icon-position",
    size=0xbffff9fc, buffer=0xbffffa00, is_fast=0) at gnome-metadata.c:860 
#2  0x403df710 in gnome_metadata_get (
    file=0x8161de0 "/home/dzol/desktop/Trashcan", 
    name=0x80dcba2 "icon-position", size=0xbffff9fc, buffer=0xbffffa00)
    at gnome-metadata.c:996
#3  0x80a0f23 in gmeta_get_icon_pos (
    filename=0x8161de0 "/home/dzol/desktop/Trashcan", x=0xbffffa30, 
    y=0xbffffa34) at gmetadata.c:41
#4  0x809a9ef in load_desktop_icons (incremental=0, xpos=0, ypos=0)
    at gdesktop.c:335
#5  0x809c9b0 in desktop_init () at gdesktop.c:1939
#6  0x809ec0d in create_panels () at gmain.c:508
#7  0x806286b in do_nc () at main.c:1834
#8  0x806340e in main (argc=1, argv=0xbffffb54) at main.c:2986
#9  0x40465877 in __libc_start_main (main=0x80630a4 <main>, argc=1, 
    argv=0xbffffb54, init=0x805eb88 <_init>, fini=0x80d3c3c <_fini>, 
    rtld_fini=0x4000a710 <_dl_fini>, stack_end=0xbffffb4c)
    at ../sysdeps/generic/libc-start.c:78
(gdb) print database
$1 = (DB *) 0x0
(gdb) print key
$2 = {data = 0xbffff930, size = 24}
(gdb) print value
$3 = (DBT *) 0xbffff9a4
(gdb) print r
$4 = -1073743528

*************************

When I run mc, it hangs both itself and the rxvt I'm running it in.
The backtrace is pretty useless when I interrupt it:

$ gdb /opt/gnome/bin/mc
GNU gdb 4.17
[copyright snipped]
This GDB was configured as "i386-redhat-linux"...
(gdb) run

[At this point the screen clears, something flashes by too quickly to
 read.]
[I wait a while and hit ^C]

Program received signal SIGINT, Interrupt.
0x4012f0be in __select ()
(gdb) bt
#0  0x4012f0be in __select ()
#1  0x0 in ?? ()

I have an strace (1058 lines long) if you want to see it, it certainly
seems more informative than the backtrace.  Here's the tail end of it:

$ tail -n20 /tmp/mc.strace  |strings
lseek(4, 0, SEEK_CUR)                   = 5120
getdents(4, 0 32
/* 1 entries */, 3933) = 32
lstat("/home/dzol/hobbit.ftpbounce.txt", {st_mode=0, st_size=0, ...}) = 0
lseek(4, 0, SEEK_CUR)                   = 6144
getdents(4, /* 0 entries */, 3933)      = 0
brk(0x811c000)                          = 0x811c000
close(4)                                = 0
SYS_174(0x1c, 0xbffff880, 0xbffff7f4, 0x8, 0x1c) = 0
write(1, "\33[?1001s\33[?1000h", 16
[?1001s
[?1000h)    = 16
gettimeofday({914954111, 949237}, NULL) = 0
stat("/opt/gnome/lib/mc/mc.hint", {st_mode=0, st_size=0, ...}) = 0
open("/opt/gnome/lib/mc/mc.hint", O_RDONLY|0x8000) = 4
read(4, "Midnight Commander (c) 1995-1997"..., 3327) = 3327
close(4)                                = 0
chdir("/home/dzol")                     = 0
select(1024, [0], NULL, NULL, {0, 0})   = 0 (Timeout)
gettimeofday({914954111, 953195}, NULL) = 0
SYS_174(0x2, 0xbffff85c, 0, 0x8, 0x2)   = 0
select(1024, [3], NULL, NULL, NULL <unfinished ...>

Thank you very much,
-Gleef



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