[Bug 247481] audio/audacity hangs after start

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 25 07:09:22 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247481

Barbara Guida <bar at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bar at FreeBSD.org

--- Comment #6 from Barbara Guida <bar at FreeBSD.org> ---
I can confirm the problem, on 11.4-STABLE FreeBSD 11.4-STABLE #0 r360865, but
the backtrace reports a different thread (Thread 1) than the one reported by
the OP.
I tried rebuilding x11-toolkits/wxgtk31 and audio/audacity and renaming
~/.audacity-data with no luck.
I also tried rebuilding the port after reverting to the revision before the
last commit and audacity starts normally.

$ audacity 
Attempting to connect to Audacity failed...retrying
Unhandled unknown exception; terminating the application.
08:31:32: Debug: 2 threads were not terminated by the application.
./src/unix/threadpsx.cpp(1712): assert "This() == this" failed in
TestDestroy(): wxThread::TestDestroy() can only be called in the context of the
same thread [in thread 8111b3b00]
Assertion failed: (reset), function __cxa_guard_abort, file
/usr/src/contrib/libcxxrt/guard.cc, line 174.
Abort trap (core dumped)


$ /usr/local/bin/gdb `which audacity` audacity.core
...
Core was generated by `audacity'.
Program terminated with signal SIGABRT, Aborted.
#0  0x000000080880ee5a in thr_kill () from /lib/libc.so.7
[Current thread is 1 (LWP 100995)]
(gdb) thread apply all bt

Thread 5 (LWP 100332):
#0  0x0000000801ba126c in _umtx_op_err () at /lib/libthr.so.3
#1  0x0000000801b94f50 in _thr_umtx_timedwait_uint (mtx=0x80169b038,
id=<optimized out>, clockid=<optimized out>, abstime=<optimized out>,
shared=<optimized out>) at /usr/src/lib/libthr/thread/thr_umtx.c:234
#2  0x0000000801b9ef6b in cond_wait_user (cvp=0x81114dd60, mp=0x8115a6060,
abstime=0x7fffdfbfbec8, cancel=1) at /usr/src/lib/libthr/thread/thr_cond.c:305
#3  cond_wait_common (cond=<optimized out>, mutex=<optimized out>,
abstime=0x7fffdfbfbec8, cancel=1) at /usr/src/lib/libthr/thread/thr_cond.c:365
#4  0x0000000807baf1cd in g_cond_wait_until () at
/usr/local/lib/libglib-2.0.so.0
#5  0x0000000807b32006 in  () at /usr/local/lib/libglib-2.0.so.0
#6  0x0000000807b3215d in g_async_queue_timeout_pop () at
/usr/local/lib/libglib-2.0.so.0
#7  0x0000000807b8fafe in  () at /usr/local/lib/libglib-2.0.so.0
#8  0x0000000807b8e9fa in  () at /usr/local/lib/libglib-2.0.so.0
#9  0x0000000801b9307a in thread_start (curthread=0x81114a700) at
/usr/src/lib/libthr/thread/thr_create.c:290
#10 0x0000000000000000 in  ()

Thread 4 (LWP 100880):
#0  0x0000000808840b7a in _poll () at /lib/libc.so.7
--Type <RET> for more, q to quit, c to continue without paging-- 
#1  0x0000000801b95ac6 in __thr_poll (fds=0x812229020, nfds=2, timeout=-1) at
/usr/src/lib/libthr/thread/thr_syscalls.c:336
#2  0x0000000807b659d1 in  () at /usr/local/lib/libglib-2.0.so.0
#3  0x0000000807b65d5f in g_main_loop_run () at /usr/local/lib/libglib-2.0.so.0
#4  0x000000080397fd9b in  () at /usr/local/lib/libgio-2.0.so.0
#5  0x0000000807b8e9fa in  () at /usr/local/lib/libglib-2.0.so.0
#6  0x0000000801b9307a in thread_start (curthread=0x8111aff00) at
/usr/src/lib/libthr/thread/thr_create.c:290
#7  0x0000000000000000 in  ()

Thread 3 (LWP 100284):
#0  0x0000000808840b7a in _poll () at /lib/libc.so.7
#1  0x0000000801b95ac6 in __thr_poll (fds=0x8115a3040, nfds=1, timeout=-1) at
/usr/src/lib/libthr/thread/thr_syscalls.c:336
#2  0x0000000807b659d1 in  () at /usr/local/lib/libglib-2.0.so.0
#3  0x0000000807b65af4 in g_main_context_iteration () at
/usr/local/lib/libglib-2.0.so.0
#4  0x0000000807b677a1 in  () at /usr/local/lib/libglib-2.0.so.0
#5  0x0000000807b8e9fa in  () at /usr/local/lib/libglib-2.0.so.0
#6  0x0000000801b9307a in thread_start (curthread=0x811225800) at
/usr/src/lib/libthr/thread/thr_create.c:290
#7  0x0000000000000000 in  ()

Thread 2 (LWP 100918):
#0  0x0000000801ba126a in _umtx_op_err () at /lib/libthr.so.3
#1  0x0000000801b94bd5 in __thr_umutex_lock (mtx=0x811106af0, id=100918) at
/usr/src/lib/libthr/thread/thr_umtx.c:80
#2  0x0000000801b9af70 in mutex_lock_sleep (curthread=0x811016000,
m=0x811106af0, abstime=0x0) at /usr/src/lib/libthr/thread/thr_mutex.c:695
#3  mutex_lock_common (m=0x811106af0, abstime=<optimized out>, cvattach=false,
rb_onlist=<optimized out>) at /usr/src/lib/libthr/thread/thr_mutex.c:729
#4  0x0000000801b99d09 in __pthread_mutex_lock (mutex=0x81110b320) at
/usr/src/lib/libthr/thread/thr_mutex.c:748
#5  0x0000000805dcadba in  () at /usr/local/lib/libwx_baseu-3.1.so.3
#6  0x0000000805dca702 in wxThread::~wxThread() () at
/usr/local/lib/libwx_baseu-3.1.so.3
#7  0x00000000006e643e in MidiThread::~MidiThread() ()
#8  0x00000000006d6f51 in AudioIO::~AudioIO() ()
#9  0x00000000006d6fae in AudioIO::~AudioIO() ()
#10 0x000000080887cdc1 in __cxa_finalize (dso=0x0) at
/usr/src/lib/libc/stdlib/atexit.c:236
#11 0x000000080880ea41 in exit (status=-1) at
/usr/src/lib/libc/stdlib/exit.c:72
#12 0x00000000006a3ab1 in  ()

Thread 1 (LWP 100995):
--Type <RET> for more, q to quit, c to continue without paging--
#0  0x000000080880ee5a in thr_kill () at /lib/libc.so.7
#1  0x000000080880ee24 in __raise (s=6) at /usr/src/lib/libc/gen/raise.c:52
#2  0x000000080880ed99 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#3  0x000000080888a081 in __assert (func=<optimized out>, file=<optimized out>,
line=<optimized out>, failedexpr=<optimized out>) at
/usr/src/lib/libc/gen/assert.c:51
#4  0x000000080831cd18 in __cxa_guard_abort(guard_t volatile*)
(guard_object=<optimized out>) at /usr/src/contrib/libcxxrt/guard.cc:174
#5  0x0000000805d5dcba in  () at /usr/local/lib/libwx_baseu-3.1.so.3
#6  0x0000000805dc0fd4 in wxThread::CallEntry() () at
/usr/local/lib/libwx_baseu-3.1.so.3
#7  0x0000000805dc0480 in  () at /usr/local/lib/libwx_baseu-3.1.so.3
#8  0x0000000801b9307a in thread_start (curthread=0x8111b3b00) at
/usr/src/lib/libthr/thread/thr_create.c:290
#9  0x0000000000000000 in  ()


$ make showconfig -C /usr/ports/audio/audacity/
===> The following configuration options are available for audacity-2.4.1:
     DEBUG=off: Build with debugging support
     DOCS=off: Build and/or install documentation
     FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
     FLAC=on: FLAC lossless audio codec support
     ID3TAG=on: ID3 v1/v2 tags support
     LADSPA=off: LADSPA audio plugins support
     LAME=on: Use lame for import and export support
     LV2=off: Add LV2 plug-in support
     MAD=on: Use libmad for mp2/3 decoding support
     MIDI=on: MIDI support
     NYQUIST=on: Nyquist synthesis and composition support
     OGG=on: Ogg media format support
     SBSMS=off: Use libsbsms for pitch and tempo changing
     SOUNDTOUCH=on: Use libSoundTouch for pitch and tempo changing
     TWOLAME=off: Use libtwolame for MP2 export support
     VAMP=off: Vamp plug-in support
     VORBIS=on: Ogg Vorbis audio codec support
     VST=on: VST plug-in support
===> Use 'make config' to modify these settings

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list