← Back to issue list

Snap with python3 + tkinter crashes with SEGFAULT

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1847321
Type
issue
State
open
Author
~eikekuehn42
Labels
python3 tkinter
Created
Updated
Closed
—

Current evaluation

Python3 + tkinter snap segfaults when creating a Label; minimal reproducer repo linked, but no diagnosis, no yaml shown, no maintainer response since 2019. Author cross-referenced LP#1709060; another user confirmed similar breakage in a 2020 forum thread.

Suggested action: needs triage

Reason: No maintainer has assessed the report: the only two comments are from the author (linking LP#1709060 as "the same as / related to / a successor of") and another external reporter (argosopentech, 2020) pointing to a forum thread; there is no assignee, diagnosis, or status change in 7 years. Investigation shows no tkinter/Tcl handling in the python plugin (craft_parts/plugins/base.py and python_plugin.py only pull python3-dev/python3-venv/findutils), so the fix likely requires working out the right stage-packages/fontconfig/X11 runtime setup, which is why it still needs a maintainer to reproduce. The bug is genuine and app-breaking for affected snaps, so it must not be closed, but it also is not yet triaged.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 9 Complexity: 65 Confidence: 66 Actionability: 52

Issue body

On trying to convert a working python package using tkinter the resulting Snap crashes with SEGFAULT. I've reduced the code to a minimal example: https://github.com/randomchars42/snap_python_tkinter_skeleton This produces the following output: initialising tk: window = Tk() done adding window title: window.title(TEXT) done creating a label: label = Label(window) Segmentation fault (core dumped)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 9
Complexity: 65
Confidence: 66
Actionability: 52
needs triage Python3 + tkinter snap segfaults when creating a Label; minimal reproducer repo linked, but no diagnosis, no yaml shown, no maintainer response since 2019. Author cross-referenced LP#1709060; another user confirmed similar breakage in a 2020 forum thread.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 9
Complexity: 75
Confidence: 78
Actionability: 68
needs triage Python 3/Tkinter snaps segfault when creating a Label, while the unsnapped app works; a minimal reproducer exists, but no maintainer triage or root-cause diagnosis is recorded.
stealth/space-bunny-alpha
Impact: 48
Quick Win: 10
Complexity: 66
Confidence: 86
Actionability: 64
needs triage Unresolved Python/Tkinter packaging crash: a packaged app segfaults when creating a Label. A minimal reproducer is provided, but there is no maintainer triage or recent activity.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 15
Staleness: 95
Complexity: 50
Confidence: 45
Support Request: 35
close stale Snap built with python3 + tkinter segfaults when creating a tkinter Label; minimal repro repo provided. No comments or maintainer activity for ~6.4 years; the original build stack is long out of support.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 20
close stale Python3 + tkinter Snap package crashes with SEGFAULT. Issue is over 6 years old with no activity or maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 20
close stale Python3 + tkinter Snap crashes with SEGFAULT during label creation. Issue is 6+ years old with no activity or maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 40
Confidence: 85
Support Request: 10
close stale A 7-year-old report of a segfault when creating tkinter widgets in a Python Snap package. No maintainer response or comments, and the packaging environment has likely changed significantly since submission.

Update history

Date Change
created

Related work

  • Duplicate Of: snapcraft (launchpad)#1709060 (confidence 88%)

    Explicit cross-reference by the author in the 2019-10-08 comment; LP#1709060 ('Trouble allocating fonts in a Tcl/Tk (Python 3.5) based snap') is still open with the same in-snap Tk failure/SEGFAULT and no maintainer diagnosis.

Related issues

Issue Project State Summary Similarity
#1709060 Trouble allocating fonts in a Tcl/Tk (Python 3.5) based snap snapcraft (launchpad) open Python3/Tkinter snap crashes with 'failed to allocate font due to internal system font engine problem' (or SEGFAULT) inside a snap while the same script works unsnapped; still open, no maintainer diagnosis.
70%