Version: 2.0.2 (using KDE 4.7.2) OS: Linux K3b crashes in allocating a new thread (apparently) when the operator instructs it to close a CD drive tray if the CD tray was initially open. Reproducible: Always Steps to Reproduce: 0. Make sure the CD drive tray is ejected and K3b is not running. 1. Tell K3b to close the CD drive tray. Actual Results: 1. Program received signal SIGABRT, Aborted. [Switching to Thread 0x7fb20cfaf700 (LWP 21420)] 0x00007fb229fb4d95 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 in ../nptl/sysdeps/unix/sysv/linux/raise.c #0 0x00007fb229fb4d95 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007fb229fb62ab in __GI_abort () at abort.c:93 #2 0x00007fb22a3cdf2d in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95 #3 0x00007fb22a3cc0d6 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:40 #4 0x00007fb22a3cc103 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:50 #5 0x00007fb22a3cc1fe in __cxxabiv1::__cxa_throw (obj=0x7fb22a6068a0, tinfo=<optimized out>, dest=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:83 #6 0x00007fb22a3cc6dd in operator new (sz=16) at ../../../../libstdc++-v3/libsupc++/new_op.cc:58 #7 0x00007fb22b33352a in QThreadPrivate::createEventDispatcher (data=0xf315b0) at thread/qthread_unix.cpp:272 #8 0x00007fb22b334006 in QThreadPrivate::start (arg=0xf373e0) at thread/qthread_unix.cpp:324 #9 0x00007fb229d6af05 in start_thread (arg=0x7fb20cfaf700) at pthread_create.c:301 #10 0x00007fb22a05963d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Process Manager reports that K3b uses 7 MB of memory. Expected Results: 1. K3b should close the drive tray. OS: Linux (x86_64) release 3.1.0-1.2-desktop Compiler: gcc (Created with gdb because DrKonqi is unable to extract a stack trace for unknown reasons.) Workaround: { mount /dev/cdrom; }
can you please run valgrind k3b --nofork and try to reproduce this problem, and attach the output of valgrind?
Hi Christopher, please try k3b master https://github.com/KDE/k3b if still crash please let me know, thanks a lot! Regards, Leslie Zhai