Bug 33188 - Kmetronome crashes after clicking Play
Summary: Kmetronome crashes after clicking Play
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-05-09 16:46 CEST by Kateto
Modified: 2024-11-09 06:18 CET (History)
2 users (show)

See Also:
Source RPM: drumstick,kmetronome
CVE:
Status comment:


Attachments

Description Kateto 2024-05-09 16:46:38 CEST
Description of problem:
Kmetronome (Drumstick Metronome) crashes as soon as I click on button Play. When lauched from the command line, I get this message: "Violació de segment (s'ha bolcat la memòria)"

I have a back trace retrieved from here: https://forums.mageia.org/en/viewtopic.php?f=8&t=15356#p89795

(gdb) bt full
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x00007ffff7f7f1c5 in drumstick::ALSA::MidiClient::doEvents (this=0x5c30b0) at /usr/src/debug/drumstick-2.7.2-1.mga9.x86_64/library/alsa/alsaclient.cpp:680
        err = <optimized out>
        evp = 0x69a7fc
        event = 0x7fffe8001390
#2  0x00007ffff7f7f739 in drumstick::ALSA::MidiClient::SequencerInputThread::run (this=0x67c9e0) at /usr/src/debug/drumstick-2.7.2-1.mga9.x86_64/library/alsa/alsaclient.cpp:1812
        rt = <optimized out>
        npfd = 1
        pfd = 0x7fffe8001370
#3  0x00007ffff66ea340 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase6-6.4.1-5.mga9.x86_64/src/corelib/thread/qthread_unix.cpp:321
        thr = 0x67c9e0
        data = 0x5d2ff0
        arg = <optimized out>
        arg = <optimized out>
        thr = <optimized out>
        data = <optimized out>
        locker = <optimized out>
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/debug/qtbase6-6.4.1-5.mga9.x86_64/src/corelib/thread/qthread_unix.cpp:257
No locals.
#5  QThreadPrivate::start (arg=0x67c9e0) at /usr/src/debug/qtbase6-6.4.1-5.mga9.x86_64/src/corelib/thread/qthread_unix.cpp:280
        __clframe = {__cancel_routine = 0x7ffff66e9980 <QThreadPrivate::finish(void*)>, __cancel_arg = 0x67c9e0, __do_it = 1, __cancel_type = <optimized out>}
#6  0x00007ffff6ab19ca in start_thread () from /lib64/libc.so.6
No symbol table info available.
#7  0x00007ffff6b2d61c in clone3 () from /lib64/libc.so.6
No symbol table info available.

Version-Release number of selected component (if applicable):
kmetronome-1.3.1-1.mga9

How reproducible:
Always.

Steps to Reproduce:
1. Launch FluidSynth manually (by clicking on the desktop icon).
2. Launch Kmetronome (as above)
3. Click on Play button
4. Kmetronome crashes and its window disappears.
Comment 1 Lewis Smith 2024-05-09 21:01:23 CEST
Thank you for the report.

Summary     : Drumstick Metronome - MIDI Metronome using ALSA sequencer
I am not going to try to reproduce this!

Cauldron has new version: 1.4.0, so this is the obvious thing to try first; unless we can spot another reason for the crash.
Assigning this to DavidG who committed that, to make it available to Kateto to try.

Assignee: bugsquad => geiger.david68210

Comment 2 David GEIGER 2024-05-16 07:00:33 CEST
I think drumstick should be rebuilded against Qt 6.4.1 on mga9, so does drumstick-2.7.2-1.1.mga9 fixes this issue?


drumstick-examples-2.7.2-1.1.mga9
libdrumstick-devel-2.7.2-1.1.mga9
libdrumstick2-2.7.2-1.1.mga9
lib64drumstick-devel-2.7.2-1.1.mga9
lib64drumstick2-2.7.2-1.1.mga9
Comment 3 David GEIGER 2024-11-07 16:54:28 CET
Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
drumstick-examples-2.7.2-1.1.mga9
libdrumstick-devel-2.7.2-1.1.mga9
libdrumstick2-2.7.2-1.1.mga9
lib64drumstick-devel-2.7.2-1.1.mga9
lib64drumstick2-2.7.2-1.1.mga9

From SRPMS:
drumstick-2.7.2-1.1.mga9.src.rpm

Assignee: geiger.david68210 => qa-bugs

katnatek 2024-11-07 19:12:50 CET

Source RPM: kmetronome-1.3.1-1.mga9 => drumstick

katnatek 2024-11-07 19:15:39 CET

Keywords: (none) => advisory

Comment 4 katnatek 2024-11-08 02:00:14 CET
RH x86_64

Install kmetronome
Reproduce the issue

kmetronome 
kmetronome: Symbol `_ZTVN9drumstick4ALSA14SequencerEventE' has different size in shared object, consider re-linking
Failure loading Qt5 translations for "" from "/usr/share/qt6/translations"
Violación de segmento (`core' generado)


installing lib64drumstick2-2.7.2-1.1.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64
Preparing...                     ##################################################################################################
      1/1: lib64drumstick2       ##################################################################################################
      1/1: removing lib64drumstick2-2.7.2-1.mga9.x86_64
                                 ##################################################################################################


kmetronome 
kmetronome: Symbol `_ZTVN9drumstick4ALSA14SequencerEventE' has different size in shared object, consider re-linking
Failure loading Qt5 translations for "" from "/usr/share/qt6/translations"
Violación de segmento (`core' generado)

Look like kmetronome need some care too

CC: (none) => geiger.david68210
Source RPM: drumstick => drumstick,kmetronome

Comment 5 katnatek 2024-11-08 04:13:17 CET
The message

Failure loading Qt5 translations for "" from "/usr/share/qt6/translations"

Disappear if install qttranslations6, but I suggest also update to the latest version 1.4.0 of kmetronome
Comment 6 David GEIGER 2024-11-08 05:49:47 CET
We can't update to latest 1.4.0 as it needs drumstick >= 2.9
Comment 7 David GEIGER 2024-11-08 05:59:04 CET
kmetronome-1.3.1-1.1.mga9 now pull in qt6-qttranslations!


Packages in 9/Core/Updates_testing:
======================
kmetronome-1.3.1-1.1.mga9
drumstick-examples-2.7.2-1.1.mga9
libdrumstick-devel-2.7.2-1.1.mga9
libdrumstick2-2.7.2-1.1.mga9
lib64drumstick-devel-2.7.2-1.1.mga9
lib64drumstick2-2.7.2-1.1.mga9


From SRPMS:
kmetronome-1.3.1-1.1.mga9.src.rpm
drumstick-2.7.2-1.1.mga9.src.rpm
Comment 8 katnatek 2024-11-08 17:45:30 CET
RH x86_64

LC_ALL=C urpmi --auto --auto-update
medium "QA Testing (64-bit)" is up-to-date
medium "Core Release (distrib1)" is up-to-date
medium "Core Updates (distrib3)" is up-to-date
medium "Nonfree Release (distrib11)" is up-to-date
medium "Nonfree Updates (distrib13)" is up-to-date
medium "Tainted Release (distrib21)" is up-to-date
medium "Tainted Updates (distrib23)" is up-to-date
medium "Core 32bit Release (distrib31)" is up-to-date
medium "Core 32bit Updates (distrib32)" is up-to-date
medium "Nonfree 32bit Release (distrib36)" is up-to-date
medium "Nonfree 32bit Updates (distrib37)" is up-to-date
medium "Tainted 32bit Release (distrib41)" is up-to-date
medium "Tainted 32bit Updates (distrib42)" is up-to-date

    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/qttranslations6-6.4.1-1.mga9.noarch.rpm
installing //home/katnatek/qa-testing/x86_64/kmetronome-1.3.1-1.1.mga9.x86_64.rpm                                                   
/var/cache/urpmi/rpms/qttranslations6-6.4.1-1.mga9.noarch.rpm
Preparing...                     ##################################################################################################
      1/2: qttranslations6       ##################################################################################################
      2/2: kmetronome            ##################################################################################################
      1/1: removing kmetronome-1.3.1-1.mga9.x86_64
                                 ##################################################################################################

start kmetronome
Click on play

The application keep working
katnatek 2024-11-08 17:48:55 CET

CC: geiger.david68210 => andrewsfarm
Whiteboard: (none) => MGA9-64-OK

Comment 9 Thomas Andrews 2024-11-09 02:17:20 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 10 Mageia Robot 2024-11-09 06:18:37 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0226.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.