jamulussoftware / jamulussoftware/jamulus

Recent (3.12+) macOS builds crash on exit.

Offen
#3,754 7 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug
Vorherrschende Sprache
C
Sterne
1.1k
Forks
248
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
9

Beschreibung

**Describe the bug**

Since about the first rawaudio builds, i noticed the Jamulus client sometimes crashing when exiting the app. This has been reported along the rawaudio build discussions by several users though no clear link to the patch could be found, so might as well be unrelated.

Also, latest 4.0 beta1 sometimes crashes on my native M1 build, stacktrace by Apple crash reporter is not super helpful but at least dumps some lines about malloc / mutex calls.

What is interesting is, that @ann0see by accident left a Copilot code analysis report of the iOS build in which points to the same direction. Nowadays, macOS and iOS/iPadOS on Apple Silicon share a lot of framework and libs, if not even system libs and kernel (not sure). So there might be a relationship to the Copilot report.

**To Reproduce**

Very hard to reproduce. Install latest 4.0 beta1 on Apple Silicon (M1 Pro for me). Run, exit, run, exit, run, exit... sometimes after a few attempts Apple reports an app crash with dump.

**Expected behavior**

It does not crash on exit ;-)

**Screenshots**

n/a

**Operating system**

macOS 26.5.1 on Apple Silicon M1 Pro

**Version of Jamulus**

4.0.0 beta1, happens since ~3.11 git versions

**Additional context**

See discussion here:

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Reproduktion durch wiederholtes Ausführen und Beenden auf dem neuesten 4.0 beta1 Apple Silicon-Build und sammle die Ausgabe des Apple-Crash-Reporters. Vergleiche die malloc/mutex-Traces mit der verknüpften iOS Copilot-Analyse und der Diskussion in #3654; abgeschlossen ist die Aufgabe, wenn wiederholtes Beenden keinen Crash mehr verursacht und das Verhalten durch Regressionsevidenz abgedeckt ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
c, macos
Bereich
audio-video-rtc, desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.