jamulussoftware / jamulussoftware/jamulus

Recent (3.12+) macOS builds crash on exit.

Abierto
#3,754 7 comentarios 1 reacción 0 asignados Ver en GitHub
bug
Lenguaje dominante
C
Estrellas
1.1k
Forks
248
Merge medio
2 d 3 h
PR fusionados (30 d)
9

Descripción

**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:

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con la reproducción mediante ejecuciones y salidas repetidas en la compilación más reciente 4.0 beta1 para Apple Silicon y recopila la salida del Apple crash reporter. Compara los trazados de malloc/mutex con el análisis vinculado de iOS Copilot y la discusión en #3654; el trabajo está terminado cuando las salidas repetidas ya no producen un crash y el comportamiento está cubierto por evidencia de regresión.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
c, macos
Área
audio-video-rtc, desktop
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.