Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 923217

Summary: media-sound/musescore-4.2.1-r1: seg fault on saving file
Product: Gentoo Linux Reporter: William Sherwin <wsherwin>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: UNCONFIRMED ---    
Severity: critical CC: vimproved, wsherwin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 926328    
Attachments: Traceback log
emerge --info
Updated Traceback

Description William Sherwin 2024-01-29 06:58:54 UTC
As an end-user running MuseScore 4.2.1-r1, when either I create a new file or open an existing file and make a change and attempt to save, I get a segmentation fault just after the Save dialog box (pointing to the file system) appears.

Reproducible: Always

Steps to Reproduce:
1. Open MuseScore.
2. Open a file (new or existing).
3. Make a change.
4. Type CTRL+S (or choose File > Save).
5. Select "Save to My Computer".
Actual Results:  
Segmentation fault. With Address Sanitizer configured, the attached traceback is issued when running from a terminal window.

Expected Results:  
The Save File dialog box is displayed, and the User is able to save the file.

Address Sanitizer was configured as per http://wiki.gentoo.org/wiki/AddressSanitizer, and MuseScore was recompiled with it.
Comment 1 William Sherwin 2024-01-29 07:00:00 UTC
Created attachment 883514 [details]
Traceback log
Comment 2 William Sherwin 2024-01-29 07:04:49 UTC
Created attachment 883515 [details]
emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-29 07:50:42 UTC
(In reply to William Sherwin from comment #1)
> Created attachment 883514 [details]
> Traceback log

Did you have debugging symbols for dev-qt/* (no need for it for qtwebengine) and musescore?

See https://wiki.gentoo.org/wiki/Debugging#Per-package.
Comment 4 William Sherwin 2024-01-29 08:03:53 UTC
(In reply to Sam James from comment #3)
> (In reply to William Sherwin from comment #1)
> > Created attachment 883514 [details]
> > Traceback log
> 
> Did you have debugging symbols for dev-qt/* (no need for it for qtwebengine)
> and musescore?
> 
> See https://wiki.gentoo.org/wiki/Debugging#Per-package.

I did not: I will recompile and install them.
Comment 5 Violet Purcell 2024-01-29 13:37:39 UTC
Are you using Wayland? If so, could you make sure you have dev-qt/qtgui[X] installed and try launching musescore with the QT_QPA_PLATFORM=xcb environment variable?
Comment 6 William Sherwin 2024-01-29 17:37:26 UTC
Created attachment 883570 [details]
Updated Traceback
Comment 7 William Sherwin 2024-01-29 17:38:35 UTC
(In reply to Violet Purcell from comment #5)
> Are you using Wayland? If so, could you make sure you have dev-qt/qtgui[X]
> installed and try launching musescore with the QT_QPA_PLATFORM=xcb
> environment variable?

I am not: I'm still using X11.

With the newer traceback, I actually got the Save File modal; after a few seconds, it vanished with the segfault.