diskusage applet problem



The diskusage applet SEGV's when it encounters mount points not directly on 
root, e.g. /u/local/loop1 or /u/net/gnome.
After moving these to /loop1 and /gnome the applet keeps running.

BTW, I had to read the source to discover clicking on the applet showed the 
other mount points, a choice in the properties would be nice, I also would 
like to see the selected mount be stored using the device name instead of the 
ordinal in the mountlist.

Anybody working on a diskusage indicator(=FS Monitor) like the one in ePlus?

gdb backtrace diskusage_applet:

This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /usr/bin/diskusage_applet 
message: Initializing CORBA for applet

message: Finished handling request 5
message: Finished handling request 6
message: Finished handling request 7

Program received signal SIGSEGV, Segmentation fault.
0x4040b82f in chunk_free (ar_ptr=0x4045fbd0, p=0x807ca38) at malloc.c:2964
malloc.c:2964: No such file or directory.
(gdb) bt
#0  0x4040b82f in chunk_free (ar_ptr=0x4045fbd0, p=0x807ca38) at malloc.c:2964
#1  0x4040b6a1 in __libc_free (mem=0x807ca40) at malloc.c:2877
#2  0x804aca4 in diskusage_read (ps=0x804d634) at diskusage_read.c:49
#3  0x804a649 in update_values () at diskusage.c:379
#4  0x402152b9 in gtk_invoke_timeout_function (timeoutf=0x807d828)
    at gtkmain.c:1398
#5  0x40215320 in gtk_handle_current_timeouts (the_time=13450)
    at gtkmain.c:1431
#6  0x40215442 in gtk_handle_timeouts () at gtkmain.c:1492
#7  0x4021449f in gtk_main_iteration_do (blocking=1) at gtkmain.c:762
#8  0x402140bb in gtk_main_iteration () at gtkmain.c:517
#9  0x40213f15 in gtk_main () at gtkmain.c:423
#10 0x400100e5 in applet_corba_gtk_main (str=0x4001623a "IDL:GNOME/Applet:1.0")
    at orbit-applet-lib.c:652
#11 0x4001104c in applet_widget_gtk_main () at applet-widget.c:459
#12 0x804abd2 in main (argc=1, argv=0xbffff878) at diskusage.c:589


-- 
<- Ronald Offerman | ron@gjt-it.nl
<- Root Powered Carrot Munchers Ltd. Inc. SA AG BV

"Daddy, why do those people have to use Microsoft Windows?"
"Don't stare, son; it's not polite."
"M$ Windows NT, an accident waiting to happen"



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