#19 du * | xdiskusage leads do segfault

None
closed-fixed
nobody
None
5
2014-11-20
2010-04-04
Thierry
No

This bug was reporting on debian BTS http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=319221

Hi,

$ du * | xdiskusage; echo $?
Segmentation fault
139

$ du | xdiskusage; echo $?
0

$ du * > du
$ gdb xdiskusage

(gdb) r < du
Starting program: /usr/bin/xdiskusage < du
(no debugging symbols found)
...
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 25901)]
(no debugging symbols found)
...
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 25901)]
0x0804bda6 in ?? ()
(gdb) bt
#0 0x0804bda6 in ?? ()
#1 0x0804c3ef in ?? ()
#2 0x400472c2 in Fl_Window::flush () from /usr/lib/libfltk.so.1.1
#3 0x40045e4f in Fl::flush () from /usr/lib/libfltk.so.1.1
#4 0x40045a55 in Fl::wait () from /usr/lib/libfltk.so.1.1
#5 0x40045b6b in Fl::run () from /usr/lib/libfltk.so.1.1
#6 0x0804ad46 in ?? ()
#7 0x40378e36 in __libc_start_main () from /lib/libc.so.6
#8 0x08049ce1 in ?? ()

Discussion

  • Bill Spitzak
    Bill Spitzak
    2014-11-20

    Thanks! Fixed.

    Current version requires you to give a "-" command-line switch to pipe from stdin, so you do "du * | xdiskusage -".

     
  • Bill Spitzak
    Bill Spitzak
    2014-11-20

    • status: open --> closed-fixed
    • Group: -->