MuseScore icon indicating copy to clipboard operation
MuseScore copied to clipboard

bugfix: check alsadriver exist before cleanup

Open lyrra opened this issue 2 years ago • 5 comments

resolves #13739

  • [x] I signed CLA

lyrra avatar Oct 13 '22 19:10 lyrra

@lyrra The crash still occurs in this build :(

HemantAntony avatar Oct 15 '22 16:10 HemantAntony

@lyrra The crash still occurs in this build :(

Ouch! Would you mind running in gdb to get a stacktrace?

lyrra avatar Oct 15 '22 17:10 lyrra

I tried doing that, but there is no stack trace. Otherwise I would have provided it. I'll try again tomorrow :)

HemantAntony avatar Oct 15 '22 17:10 HemantAntony

I'm running this script to use either gdb or valgrind, running it at git-root after build is done. sh run.sh g -- would start gdb sh run.sh v -- would start valgrind

I tried it, changed the buffer-size, and got signal SIG32 in gdb (supposedly from the thread-cancels), just continue in gdb a few times would bring back the GUI again and no crash.

#!/bin/sh

set -e

cd builds/Linux-*Make-Debug/install

export QT_QUICK_BACKEND="software"

G=""
V=""

if [ "$1" = "g" ]; then
  shift
  G="gdb --args"
elif [ "$1" = "v" ]; then
  shift
  V="valgrind --error-limit=no"
fi

$V $G ./bin/mscore $*

lyrra avatar Oct 15 '22 17:10 lyrra

Is this PR still actual?

Eism avatar Jan 09 '23 10:01 Eism

Closing because the original issue is resolved

RomanPudashkin avatar Jul 07 '23 12:07 RomanPudashkin