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

Bug#969456: kmix 20.08.0 crashes on exit



Package: kmix
Version: 4:20.08.0-1
Severity: normal
Forwarded: https://bugs.kde.org/show_bug.cgi?id=425469
Tags: upstream fixed-upstream


Dear Maintainer,
I found several kmix cores lately and investigated a bit.

It crashes when attempting to do some cleanup on process exit.
There unfortunately the QtPaMainLoop structure got deleted,
but later still accessed.

Upstream has already a patch in git.

Kind regards,
Bernhard



==3727== Invalid read of size 8
==3727==    at 0x7FBA456: pa_srbchannel_free (srbchannel.c:364)
==3727==    by 0x7FB7032: check_srbpending.part.0 (pstream.c:724)
==3727==    by 0x7FB9319: pa_pstream_unlink (pstream.c:1190)
==3727==    by 0x7FB9319: pa_pstream_unlink (pstream.c:1181)
==3727==    by 0x6E1FCB4: context_unlink (context.c:223)
==3727==    by 0x6E1FCB4: context_unlink (context.c:201)
==3727==    by 0x6E1FE01: context_free (context.c:244)
==3727==    by 0x4A60F87: Mixer_PULSE::~Mixer_PULSE() (mixer_pulse.cpp:1073)
==3727==    by 0x4A60FA8: Mixer_PULSE::~Mixer_PULSE() (mixer_pulse.cpp:1080)
==3727==    by 0x4A3E0C4: Mixer::~Mixer() (mixer.cpp:115)
==3727==    by 0x4A3E0D8: Mixer::~Mixer() (mixer.cpp:116)
==3727==    by 0x4A37C36: MixerToolBox::deinitMixer() (mixertoolbox.cpp:356)
==3727==    by 0x12D3F7: KMixWindow::~KMixWindow() (kmix.cpp:139)
==3727==    by 0x12D4D8: KMixWindow::~KMixWindow() (kmix.cpp:151)
==3727==  Address 0x10704168 is 88 bytes inside a block of size 112 free'd
==3727==    at 0x4839EAB: operator delete(void*) (vg_replace_malloc.c:584)
==3727==    by 0x4A60F40: operator() (unique_ptr.h:85)
==3727==    by 0x4A60F40: ~unique_ptr (unique_ptr.h:361)
==3727==    by 0x4A60F40: Mixer_PULSE::~Mixer_PULSE() (mixer_pulse.cpp:1056)
==3727==    by 0x4A60FA8: Mixer_PULSE::~Mixer_PULSE() (mixer_pulse.cpp:1080)
==3727==    by 0x4A3E0C4: Mixer::~Mixer() (mixer.cpp:115)
==3727==    by 0x4A3E0D8: Mixer::~Mixer() (mixer.cpp:116)
==3727==    by 0x4A37C36: MixerToolBox::deinitMixer() (mixertoolbox.cpp:356)
==3727==    by 0x12D3F7: KMixWindow::~KMixWindow() (kmix.cpp:139)
==3727==    by 0x12D4D8: KMixWindow::~KMixWindow() (kmix.cpp:151)
==3727==    by 0x136533: KMixApp::~KMixApp() (KMixApp.cpp:58)
==3727==    by 0x12A527: main (main.cpp:73)
==3727==  Block was alloc'd at
==3727==    at 0x4838DEF: operator new(unsigned long) (vg_replace_malloc.c:342)
==3727==    by 0x4A5E538: Mixer_PULSE::connectToDaemon() (mixer_pulse.cpp:961)
==3727==    by 0x4A61387: Mixer_PULSE::Mixer_PULSE(Mixer*, int) (mixer_pulse.cpp:1037)
==3727==    by 0x4A61745: PULSE_getMixer(Mixer*, int) (mixer_pulse.cpp:947)
==3727==    by 0x4A3E9F7: Mixer::Mixer(QString const&, int) (mixer.cpp:102)
==3727==    by 0x4A381FE: MixerToolBox::initMixerInternal(MixerToolBox::MultiDriverMode, QStringList const&, bool) (mixertoolbox.cpp:142)
==3727==    by 0x4A39602: initMixer (mixertoolbox.cpp:273)
==3727==    by 0x4A39602: MixerToolBox::initMixer(bool, QStringList const&, bool) (mixertoolbox.cpp:284)
==3727==    by 0x133724: KMixWindow::KMixWindow(bool, bool) (kmix.cpp:91)
==3727==    by 0x1363AD: KMixApp::createWindowOnce(bool, bool) [clone .part.0] (KMixApp.cpp:69)
==3727==    by 0x136B41: createWindowOnce (KMixApp.cpp:125)
==3727==    by 0x136B41: KMixApp::restoreSessionIfApplicable(bool, bool) (KMixApp.cpp:125)
==3727==    by 0x136CDE: KMixApp::newInstance(QStringList const&, QString const&) (KMixApp.cpp:166)
==3727==    by 0x12A4F1: main (main.cpp:84)



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'proposed-updates-debug'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kmix depends on:
ii  libasound2             1.2.3.2-1
ii  libc6                  2.31-3
ii  libcanberra0           0.30-7
ii  libkf5configcore5      5.70.0-1
ii  libkf5configgui5       5.70.0-1
ii  libkf5configwidgets5   5.70.0-2
ii  libkf5coreaddons5      5.70.0-2
ii  libkf5dbusaddons5      5.70.0-1
ii  libkf5globalaccel-bin  5.70.0-1
ii  libkf5globalaccel5     5.70.0-1
ii  libkf5i18n5            5.70.0-1
ii  libkf5notifications5   5.70.0-1
ii  libkf5plasma5          5.70.1-1
ii  libkf5solid5           5.70.0-1
ii  libkf5widgetsaddons5   5.70.0-1
ii  libkf5windowsystem5    5.70.0-1
ii  libkf5xmlgui5          5.70.0-1+b1
ii  libpulse0              13.0-5
ii  libqt5core5a           5.14.2+dfsg-6
ii  libqt5dbus5            5.14.2+dfsg-6
ii  libqt5gui5             5.14.2+dfsg-6
ii  libqt5widgets5         5.14.2+dfsg-6
ii  libqt5xml5             5.14.2+dfsg-6
ii  libstdc++6             10.2.0-5

kmix recommends no packages.

kmix suggests no packages.

-- no debconf information


Reply to: