Bug 2547739 - mediawriter crashes immediately when trying to write an image in Rawhide
Summary: mediawriter crashes immediately when trying to write an image in Rawhide
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: mediawriter
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Grulich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-07 22:23 UTC by Adam Williamson (Fedora)
Modified: 2026-11-13 07:57 UTC (History)
5 users (show)

Fixed In Version: mediawriter-5.3.2-3.fc46 mediawriter-5.3.2-3.fc44 mediawriter-5.3.2-3.fc45
Clone Of:
Environment:
Last Closed: 2026-10-12 08:46:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
crash backtrace (current thread is 1) (101.77 KB, text/plain)
2026-10-07 22:25 UTC, Adam Williamson (Fedora)
no flags Details

Description Adam Williamson (Fedora) 2026-10-07 22:23:22 UTC
In openQA tests recently, it looks like mediawriter crashes immediately when trying to write images in Rawhide, as soon as we click the Write button. I'm attaching the backtrace.

Comment 1 Adam Williamson (Fedora) 2026-10-07 22:25:36 UTC
Created attachment 2160414 [details]
crash backtrace (current thread is 1)

Comment 2 Adam Williamson (Fedora) 2026-10-07 22:26:49 UTC
backtrace preamble:

Program terminated with signal SIGSEGV, Segmentation fault.
Downloading source file /usr/src/debug/qt6-qtbase-6.11.2-3.fc46.x86_64/src/corelib/tools/qscopedpointer.h
#0  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=0x8)                                                                                     
    at /usr/src/debug/qt6-qtbase-6.11.2-3.fc46.x86_64/src/corelib/tools/qscopedpointer.h:111
111	    T *get() const noexcept

Comment 3 Adam Williamson (Fedora) 2026-10-07 22:29:56 UTC
Ooh, hmm, https://openqa.fedoraproject.org/tests/5447295 looks like the same crash on Fedora 45 (that test runs with a Fedora 45 disk image, currently) so this may well affect F45 too :(

Comment 4 Jan Grulich 2026-10-08 06:57:21 UTC
I cannot reproduce. I tried in F45 and F46 toolbox containers, running on F45 host and it works as expected.

Comment 5 Adam Williamson (Fedora) 2026-10-08 07:57:52 UTC
It seems to be intermittent. Sometimes it crashes, sometimes it doesn't. Not sure why.

Comment 6 Jan Grulich 2026-10-08 11:18:42 UTC
Is this after repeated write? Or does it happen when you open FMW and as a first action you start writing?

Comment 7 Jan Grulich 2026-10-08 11:20:51 UTC
Ignore the question, apparently (given the OpenQA test) this is first action after a fresh start.

Comment 8 Adam Williamson (Fedora) 2026-10-08 15:50:38 UTC
Yeah, it should be the first action.

Comment 9 Jan Grulich 2026-10-09 06:51:27 UTC
I've been looking into what could be possibly wrong, but I don't see anything obvious, not even with help from AI. I can try a rebuild, it might be combination of GCC and different Qt version. It's worth a shot at least.

Comment 10 Jan Grulich 2026-10-09 07:42:36 UTC
Can you try with mediawriter-5.3.2-2.fc46?

Comment 11 Adam Williamson (Fedora) 2026-10-09 18:31:00 UTC
It'll happen naturally, I'll check the results in a few days.

BTW, now I look, this has actually been going on a long time. The first failure of this type that I see is https://openqa.fedoraproject.org/tests/4539731 , in April - 2026-04-03.

Comment 12 Jan Grulich 2026-10-12 06:17:22 UTC
(In reply to Adam Williamson (Fedora) from comment #11)
> It'll happen naturally, I'll check the results in a few days.
> 
> BTW, now I look, this has actually been going on a long time. The first
> failure of this type that I see is
> https://openqa.fedoraproject.org/tests/4539731 , in April - 2026-04-03.

Hmm, I released FMW 5.3.0 on April 1st, so the rebuild is not going to help, it was introduced most likely with https://github.com/FedoraQt/MediaWriter/commit/5703567fcc363ce954a025e8cfd3bbde9450a168. I will go back to digging.

Comment 13 Jan Grulich 2026-10-12 06:57:23 UTC
Alright, I can reproduce now. The thing is that you have to let the image be downloaded (which happens super fast in OpenQA), while you are presented by the polkit dialog. If you type in the password while the image is being dowloaded (or was already downloaded), it will start writing automatically. In your case it lets you to start another writing process by enabling the "Write" button. Once you click on it, it's a second writing request and we crash.

Comment 14 Adam Williamson (Fedora) 2026-10-12 07:21:51 UTC
Ah, yeah, that makes sense - the ISO download is within the same data center for openQA so it does indeed happen extremely fast.

Comment 15 Fedora Update System 2026-10-12 08:43:11 UTC
FEDORA-2026-f011fb289f (mediawriter-5.3.2-3.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f011fb289f

Comment 16 Fedora Update System 2026-10-12 08:46:11 UTC
FEDORA-2026-f011fb289f (mediawriter-5.3.2-3.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2026-10-12 09:35:04 UTC
FEDORA-2026-abbac11a94 (mediawriter-5.3.2-3.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-abbac11a94

Comment 18 Fedora Update System 2026-10-12 09:35:05 UTC
FEDORA-2026-0a7d8e2084 (mediawriter-5.3.2-3.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-0a7d8e2084

Comment 19 Fedora Update System 2026-10-13 01:59:01 UTC
FEDORA-2026-abbac11a94 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-abbac11a94`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-abbac11a94

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 20 Fedora Update System 2026-10-13 02:33:26 UTC
FEDORA-2026-0a7d8e2084 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0a7d8e2084`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0a7d8e2084

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2026-10-21 01:13:14 UTC
FEDORA-2026-0a7d8e2084 (mediawriter-5.3.2-3.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2026-10-31 18:38:46 UTC
FEDORA-2026-abbac11a94 (mediawriter-5.3.2-3.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Lukáš Růžička (Fedora Quality) 2026-11-12 16:42:53 UTC
Still visible in Rawhide: https://openqa.fedoraproject.org/tests/5657483#

Comment 24 Adam Williamson (Fedora) 2026-11-12 20:21:00 UTC
The backtrace looks different, though. This may be a different bug.

Comment 25 Jan Grulich 2026-11-13 07:57:03 UTC
Can you share the backtrace here?


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