Summary: | K3B crashes from time to tiem | ||
---|---|---|---|
Product: | [Applications] k3b | Reporter: | Michael Lashkevich <lashkevi> |
Component: | general | Assignee: | k3b developers <k3b> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | bugseforuns, michalm, phobian, trueg, zhaixiang |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michael Lashkevich
2017-08-01 13:59:29 UTC
Hi Michael, Could you use gdb to debug k3b git master https://github.com/KDE/k3b I can not reproduce the issue, thanks! Regards, Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/ Cc Mark, could you help Michael to debug gdb? thanks! Cc Dr. Chapatin, he can burn several projects https://bugs.kde.org/show_bug.cgi?id=382488#c0 but no crash. To Michael, DrKonqi can not show the detailed backtrace information, please enable -DK3B_DEBUG=ON https://github.com/KDE/k3b/blob/master/INSTALL.txt#L47 then use gdb to bt, thanks! Hi Michael and g'day again Leslie, Leslie, I can confirm at least that if main window is hidden when burning, it never re-appears after closing the burning dialog even though k3b is still running. This has always been the case in the Qt5 version (for me). Michael, here is some info to help make a detailed backtrace. Un-install the openSUSE package before beginning. Firstly, you'll need to download and compile k3b with debugging information. In a terminal, run the following: git clone https://github.com/KDE/k3b.git cd k3b mkdir build-debug cd build-debug cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS=-ggdb -DCMAKE_CXX_FLAGS=-ggdb -DK3B_DEBUG=on -Wno-dev .. make -j4 sudo make install Now, start the debugging session by running: gdb k3b When loaded you'll have a prompt (gdb). Type (no quote marks) 'run' to start k3b then use k3b normally until you trigger the segfault. Go back to the (gdb) prompt and type 'backtrace'. Copy the output from this into your bug report. Now type 'detach' so that gdb closes the application then type 'quit' to exit gdb. Mark Hi Mark, Thanks for your help! and please do me a favor to use gdb debug k3b and paste the bt information, thanks! Regards, Leslie Zhai Hi Erwin, Could you do me a favor to reproduce the issue by gdb, and provide the backtrance information please? thanks! Regards, Leslie Zhai Leslie, Please, do not add my e-mail address to other bug reports. I will do that myself if I would be interested. Regarding this bug report, I did not experience the issue nor did I report it. Regards, Erwin Lam I added a -debuginfo package from Packmann repository. A crash appeared on closing k3b this time. (gdb) backtrace #0 0x0000000a00000000 in () #1 0x00007ffff1b98d84 in KFileMetaData::Extractor::~Extractor() () at /usr/lib64/libKF5FileMetaData.so.3 #2 0x00007ffff1b98da9 in KFileMetaData::Extractor::~Extractor() () at /usr/lib64/libKF5FileMetaData.so.3 #3 0x00007ffff1b9a41f in KFileMetaData::ExtractorCollection::~ExtractorCollection() () at /usr/lib64/libKF5FileMetaData.so.3 #4 0x00007ffff7a9936e in K3b::AudioDecoder::~AudioDecoder() (this=0x1a41c30, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/plugin/k3baudiodecoder.cpp:90 #5 0x00007ffff7a9936e in K3b::AudioDecoder::~AudioDecoder() (this=0xd90fa0, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/plugin/k3baudiodecoder.cpp:174 #6 0x00007fffcc8b5299 in K3bMadDecoder::~K3bMadDecoder() (this=0xd90fa0, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/plugins/decoder/mp3/k3bmaddecoder.cpp:95 #7 0x00007ffff7af6fc4 in K3b::AudioDoc::decreaseDecoderUsage(K3b::AudioDecoder*) (this=<optimized out>, decoder=0xd90fa0) at /usr/src/debug/k3b-17.04.3/libk3b/projects/audiocd/k3baudiodoc.cpp:1056 #8 0x00007ffff7afb592 in K3b::AudioFile::~AudioFile() (this=0x12b47b0, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/projects/audiocd/k3baudiofile.cpp:53 #9 0x00007ffff7afb5b9 in K3b::AudioFile::~AudioFile() (this=0x12b47b0, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/projects/audiocd/k3baudiofile.cpp:54 #10 0x00007ffff7aecf25 in K3b::AudioTrack::~AudioTrack() (this=0xaff1f0, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/projects/audiocd/k3baudiotrack.cpp:101 #11 0x00007ffff7aed059 in K3b::AudioTrack::~AudioTrack() (this=0xaff1f0, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/projects/audiocd/k3baudiotrack.cpp:106 #12 0x00007ffff7af31fe in K3b::AudioDoc::~AudioDoc() (this=0x11fab20, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/projects/audiocd/k3baudiodoc.cpp:101 #13 0x00007ffff7af3489 in K3b::AudioDoc::~AudioDoc() (this=0x11fab20, __in_chrg=<optimized out>) at /usr/src/debug/k3b-17.04.3/libk3b/projects/audiocd/k3baudiodoc.cpp:107 #14 0x00000000004867e4 in K3b::MainWindow::queryClose() (this=0xcb02b0) at /usr/src/debug/k3b-17.04.3/src/k3b.cpp:886 #15 0x00007ffff5f90e74 in KMainWindow::closeEvent(QCloseEvent*) () at /usr/lib64/libKF5XmlGui.so.5 #16 0x00007ffff3719c68 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #17 0x00007ffff382a0cb in QMainWindow::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #18 0x00007ffff5f91057 in KMainWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5 #19 0x00007ffff5fcdc45 in KXmlGuiWindow::event(QEvent*) () at /usr/lib64/libKF5XmlGui.so.5 #20 0x00007ffff36d7e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #21 0x00007ffff36dc49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #22 0x00007ffff274efd5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #23 0x00007ffff3714fa9 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () at /usr/lib64/libQt5Widgets.so.5 #24 0x00007ffff3731ea6 in () at /usr/lib64/libQt5Widgets.so.5 #25 0x00007ffff3734e53 in () at /usr/lib64/libQt5Widgets.so.5 #26 0x00007ffff36d7e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #27 0x00007ffff36dc49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #28 0x00007ffff274efd5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #29 0x00007ffff2f21e3c in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) () at /usr/lib64/libQt5Gui.so.5 #30 0x00007ffff2f25e35 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5 #31 0x00007ffff2f07eeb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5 #32 0x00007fffe1645bc0 in () at /usr/lib64/libQt5XcbQpa.so.5 #33 0x00007fffec127134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #34 0x00007fffec127388 in () at /usr/lib64/libglib-2.0.so.0 #35 0x00007fffec12742c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #36 0x00007ffff279f31c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #37 0x00007ffff274cfeb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #38 0x00007ffff2754ed6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #39 0x0000000000465f25 in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/k3b-17.04.3/src/main.cpp:133 Git commit 9a289750eec11de8acfb9bf5aea12dcab09ba005 by Leslie Zhai. Committed on 07/08/2017 at 01:58. Pushed by lesliezhai into branch 'master'. Fix SRC_STATE use-after-free issue. M +4 -2 libk3b/plugin/k3baudiodecoder.cpp https://commits.kde.org/k3b/9a289750eec11de8acfb9bf5aea12dcab09ba005 Hi Michael, Thanks for your report! please try my patch https://commits.kde.org/k3b/9a289750eec11de8acfb9bf5aea12dcab09ba005 Regards, Leslie Zhai Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |