Bug 2491586 - Mupmate segfaults on launch (at least from inside Distrobox)
Summary: Mupmate segfaults on launch (at least from inside Distrobox)
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mup
Version: 44
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Greg Bailey
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-22 23:09 UTC by dwoodfield
Modified: 2026-09-22 04:45 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Valgrind stack trace (1.96 KB, text/plain)
2026-06-22 23:10 UTC, dwoodfield
no flags Details

Description dwoodfield 2026-06-22 23:09:41 UTC
I created a Distrobox container running the Fedora 44 Toolbx image and used dnf to install mup and gv.  Running mupmate from the terminal immediately produced a segfault.  I am running Fedora Silverblue and therefore cannot easily test the problem on a non-container setup.  A Valgrind run suggests that the problem occurs inside Main.C on one of the following lines:

207 XpmCreatePixmapFromData(fl_display, DefaultRootWindow(fl_display),
208                                 (char **) mup32_xpm, &p, &mask, NULL);

797 Main *main_p = new Main("Mupmate", width, height);

I will attach the full Valgrind printout after submitting the report.


Reproducible: Always

Steps to Reproduce:
1. Install Fedora 44.
2. Run `sudo dnf install mup gv`
3. Run `mupmate`
Actual Results:
Program segfaults after a few seconds.  No window is displayed.

Expected Results:
Mupmate runs normally and its main window displays properly.

Additional Information:
I was surprised to see this, because the program runs without a hitch on Fedora 43, even in Distrobox.

Comment 1 dwoodfield 2026-06-22 23:10:33 UTC
Created attachment 2146289 [details]
Valgrind stack trace

Comment 2 dwoodfield 2026-09-19 03:39:37 UTC
Update: it looks like the problem comes from FLTK being updated from 1.3 to 1.4 in Fedora 44; however, Fedora 44+ *does* still package FLTK 1.3 under the package name fltk1.3.  Can you change the files in the mup package so that they point to the libraries in the fltk1.3 package instead of the ones in the regular fltk package?

Comment 3 Greg Bailey 2026-09-20 15:05:38 UTC
Thanks for reporting. I initially had a hard time reproducing this, since I use a MATE desktop environment (non-Wayland). It works fine there.
Then I tried on KDE and observed the crash, as you report.

According to https://github.com/fltk/fltk/blob/master/README.Wayland.txt setting "export FLTK_BACKEND=x11" allows mupmate to execute normally.

I haven't evaluated forcing an older fltk (1.3) to be used instead.
The Mup arkkra site seems dead, unfortunately, so I doubt there's opportunity to submit a patch upstream, unless the patch is really against fltk.

Comment 4 dwoodfield 2026-09-22 04:45:21 UTC
The website isn't actually dead; the devs still respond to emails in a timely manner.  The codebase just isn't being updated very often anymore.  They have a GitHub repo here (https://github.com/muparkkra/mup), and I might submit a bug report there later.


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