Bug 492629 - launching amarok failed remote peer disconnected
Summary: launching amarok failed remote peer disconnected
Status: RESOLVED DUPLICATE of bug 486468
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 3.0.1
Platform: Fedora RPMs Linux
: NOR critical
Target Milestone: kf5
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-04 04:04 UTC by Eddie
Modified: 2024-09-17 13:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
gbd debug (203 bytes, text/plain)
2024-09-10 05:15 UTC, Eddie
Details
outcome of gdb backtrace (2.17 KB, text/plain)
2024-09-17 05:14 UTC, Eddie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eddie 2024-09-04 04:04:38 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. launch amarok
2. it should start
3. it dosn,t

OBSERVED RESULT
plasma reports
launching amarok failed remote peer disconnected

EXPECTED RESULT
That it would start

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  Fedora 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
running in a terminal gives 
QObject::connect: No such signal Phonon::VLC::MediaObject::angleChanged(int)
QObject::connect: No such signal Phonon::VLC::MediaObject::availableAnglesChanged(int)
Got ERROR: "Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist" errno: 2000
Got ERROR: "unknown: Table '/home/john/.local/share/amarok/mysqle/amarok/admin' is marked as crashed and should be repaired" errno: 2000
Got ERROR: "unknown: Table '/home/john/.local/share/amarok/mysqle/amarok/devices' is marked as crashed and should be repaired" errno: 2000
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
KCrash: Application 'amarok' crashing...
The Wayland connection experienced a fatal error: Bad file descriptor
Comment 1 Tuomas Nurmi 2024-09-06 17:18:09 UTC
Thank you for the report! Looking at output, might be duplicate of https://bugs.kde.org/show_bug.cgi?id=486468

Can you try running

gdb amarok
run

and checking if the output is similar to linked bug, i.e.

Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
vlc_pw_lock (ctx=0x8000000300080005) at modules/audio_output/vlc_pipewire.c:76
76          pw_thread_loop_lock(ctx->loop);
Comment 2 Eddie 2024-09-10 05:15:54 UTC
Created attachment 173513 [details]
gbd debug

Ok ran gbd amarok run | output is 
Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
___pthread_mutex_lock (mutex=mutex@entry=0x28) at pthread_mutex_lock.c:80
80        unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);
Comment 3 Tuomas Nurmi 2024-09-16 13:59:02 UTC
(In reply to Eddie from comment #2)
> Created attachment 173513 [details]
> gbd debug
> 
> Ok ran gbd amarok run | output is 
> Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
> ___pthread_mutex_lock (mutex=mutex@entry=0x28) at pthread_mutex_lock.c:80
> 80        unsigned int type = PTHREAD_MUTEX_TYPE_ELISION (mutex);

Great, thank you!
Interesting, so this is apparently not quite the same issue as the other one.
Could you also try getting a gdb backtrace by running
gdb amarok
run
backtrace

and pasting the out here, please?
Comment 4 Eddie 2024-09-17 05:14:48 UTC
Created attachment 173749 [details]
outcome of gdb backtrace
Comment 5 Tuomas Nurmi 2024-09-17 13:30:25 UTC
(In reply to Eddie from comment #4)
> Created attachment 173749 [details]
> outcome of gdb backtrace

Okay, thank you very much!
So although some lines are slightly different, this apparently still is a duplicate of https://bugs.kde.org/show_bug.cgi?id=486468 so marking as such.
There seems to be a potential solution in the latest message of the other bug report, hopefully it fixes the crash for you, too.

*** This bug has been marked as a duplicate of bug 486468 ***