Bug 416562 - Kwave crashes when closed
Summary: Kwave crashes when closed
Status: RESOLVED FIXED
Alias: None
Product: kwave
Classification: Applications
Component: general (show other bugs)
Version: 19.12
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Eschenbacher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 02:20 UTC by poperigby
Modified: 2020-11-02 20:44 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poperigby 2020-01-22 02:20:05 UTC
SUMMARY
When Kwave is closed down normally, it crashes.

STEPS TO REPRODUCE
1. Open Kwave
2. Close Kwave

OBSERVED RESULT
Kwave crashes

EXPECTED RESULT
Kwave closes peacefully.


SOFTWARE/OS VERSIONS
Linux: 5.4.11-arch1-1
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0
Comment 1 Thomas McNicholas 2020-02-09 20:22:35 UTC
SUMMARY
When Kwave is closed down normally, it crashes.

STEPS TO REPRODUCE
1. Open Kwave
2. Close Kwave

OBSERVED RESULT
Kwave crashes

EXPECTED RESULT
Kwave closes peacefully.

Application: kwave (19.12.2)

Qt Version: 5.14.1
Frameworks Version: 5.66.0
Operating System: Linux 5.5.2-arch1-1 x86_64
Distribution: Arch Linux

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced every time.

-- Backtrace:
Application: Kwave (kwave), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7262834840 (LWP 16010))]

Thread 8 (Thread 0x7f724d9b7700 (LWP 16017)):
#0  0x00007f72664b3c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72599ccdfc in ?? () from /usr/lib/dri/r600_dri.so
#2  0x00007f72599cc9f8 in ?? () from /usr/lib/dri/r600_dri.so
#3  0x00007f72664ad4cf in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72668652d3 in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f724e1b8700 (LWP 16016)):
#0  0x00007f72664b3c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72599ccdfc in ?? () from /usr/lib/dri/r600_dri.so
#2  0x00007f72599cc9f8 in ?? () from /usr/lib/dri/r600_dri.so
#3  0x00007f72664ad4cf in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72668652d3 in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f724e9b9700 (LWP 16015)):
#0  0x00007f72664b3c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72599ccdfc in ?? () from /usr/lib/dri/r600_dri.so
#2  0x00007f72599cc9f8 in ?? () from /usr/lib/dri/r600_dri.so
#3  0x00007f72664ad4cf in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72668652d3 in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f724f1ba700 (LWP 16014)):
#0  0x00007f72664b3c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72599ccdfc in ?? () from /usr/lib/dri/r600_dri.so
#2  0x00007f72599cc9f8 in ?? () from /usr/lib/dri/r600_dri.so
#3  0x00007f72664ad4cf in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72668652d3 in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f7258e71700 (LWP 16013)):
#0  0x00007f72664b3c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f72599ccdfc in ?? () from /usr/lib/dri/r600_dri.so
#2  0x00007f72599cc9f8 in ?? () from /usr/lib/dri/r600_dri.so
#3  0x00007f72664ad4cf in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007f72668652d3 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f725bdd3700 (LWP 16012)):
#0  0x00007f726685642c in read () from /usr/lib/libc.so.6
#1  0x00007f7264fbd9f0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f726500b9e1 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007f726500d0c8 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007f726500d1f1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007f7266f5b03c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007f7266f014cc in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#7  0x00007f7266d25e52 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#8  0x00007f7265b4eb28 in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x00007f7266d26fc6 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00007f72664ad4cf in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007f72668652d3 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f72619af700 (LWP 16011)):
#0  0x00007f726685a9ef in poll () from /usr/lib/libc.so.6
#1  0x00007f7264ac1630 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f7264ac32db in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007f7262381b81 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f7266d26fc6 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f72664ad4cf in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f72668652d3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f7262834840 (LWP 16010)):
[KCrash Handler]
#6  0x00007f7266d64553 in QMapNodeBase::nextNode() const () from /usr/lib/libQt5Core.so.5
#7  0x00007f72684e43e9 in Kwave::PluginManager::~PluginManager() () from /usr/lib/libkwave.so.19
#8  0x00007f72684e44ba in Kwave::PluginManager::~PluginManager() () from /usr/lib/libkwave.so.19
#9  0x00005624fae9717a in Kwave::FileContext::~FileContext() ()
#10 0x00005624fae9743a in Kwave::FileContext::~FileContext() ()
#11 0x00005624faeadbd2 in Kwave::TopWidget::~TopWidget() ()
#12 0x00005624faeadc2a in Kwave::TopWidget::~TopWidget() ()
#13 0x00007f7266f30000 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007f72679de489 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f7267af8575 in QMainWindow::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f726827e45c in KMainWindow::event(QEvent*) () from /usr/lib/libKF5XmlGui.so.5
#17 0x00007f726799a362 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007f72679a3819 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#19 0x00007f7266f02962 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#20 0x00007f7266f051c6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#21 0x00007f7266f094f0 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#22 0x00005624fae8f5c3 in ?? ()
#23 0x00007f726678d153 in __libc_start_main () from /usr/lib/libc.so.6
#24 0x00005624fae8f77e in _start ()
[Inferior 1 (process 16010) detached]
Comment 2 Patrick Silva 2020-02-09 23:28:55 UTC
kwave 19.12.2 is still crasing when closed on Arch Linux.
Comment 3 mshmm 2020-03-25 16:09:58 UTC
Same issue here of Kwave crashing when closed on Kubuntu 19.10 with Kwave 19.12.3.

Operating System: Kubuntu 19.10
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.67.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-42-generic
Comment 4 mshmm 2020-03-26 09:12:08 UTC
Terminal output:
~$ kwave

This is kwave v19.12.3 (compiled with KDE Frameworks 5.67.0)

Benchmarking memcpy methods (smaller is better):
        libc : 13229506
        linux kernel : 13529911
        MMX  : 19027920
        MMXEXT : 35490140
        SSE : 32983726
        AVX : 32667772
using -> 'libc'


    notch_filter   2.3 written by Dave Flogeras
       band_pass   2.3 written by Dave Flogeras
     pitch_shift   2.3 written by Thomas Eschenbacher
      saveblocks   2.4 written by Thomas Eschenbacher
     amplifyfree   2.3 written by Thomas Eschenbacher
       codec_wav   2.3 written by Thomas Eschenbacher
       insert_at   2.3 written by Thomas Eschenbacher
            goto   2.3 written by Thomas Eschenbacher
     stringenter   2.3 written by Thomas Eschenbacher
         lowpass   2.3 written by Thomas Eschenbacher
     codec_ascii   2.3 written by Thomas Eschenbacher
        sonagram   2.3 written by Thomas Eschenbacher
       newsignal   2.3 written by Thomas Eschenbacher
     selectrange   2.3 written by Thomas Eschenbacher
      codec_flac   2.3 written by Thomas Eschenbacher
        fileinfo   2.3 written by Thomas Eschenbacher
       codec_mp3   2.3 written by Thomas Eschenbacher
           debug   2.3 written by Thomas Eschenbacher
      export_k3b   2.3 written by Thomas Eschenbacher
      samplerate   2.3 written by Thomas Eschenbacher
         reverse   2.3 written by Thomas Eschenbacher
           noise   2.3 written by Thomas Eschenbacher
       normalize   2.3 written by Thomas Eschenbacher
        playback   2.4 written by Thomas Eschenbacher
          record   2.6 written by Thomas Eschenbacher
          volume   2.3 written by Thomas Eschenbacher
           about   2.3 written by Ralf Waspe & Gilles Caulier
       codec_ogg   2.3 written by Thomas Eschenbacher
 codec_audiofile   2.3 written by Thomas Eschenbacher
            zero   2.3 written by Thomas Eschenbacher
--- 
 found 30 plugins

toolbar layout changed => resetting toolbars to defaults
# quit() 
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kwave path = /usr/bin pid = 10054
KCrash: Arguments: /usr/bin/kwave 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 kwave
Comment 5 Thiago Sueto 2020-11-02 20:19:33 UTC
Cannot reproduce this on KWave 20.11 from master.
Comment 6 Patrick Silva 2020-11-02 20:44:46 UTC
I also can't reproduce with kwave 20.08.2 on Arch Linux.
Let's consider this bug fixed.

Operating System: Arch Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1