Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2020 07:09:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247481] audio/audacity hangs after start
Message-ID:  <bug-247481-7788-qVkBorGlzO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247481-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247481-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247481

Barbara Guida <bar@FreeBSD.org> changed:

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

--- Comment #6 from Barbara Guida <bar@FreeBSD.org> ---
I can confirm the problem, on 11.4-STABLE FreeBSD 11.4-STABLE #0 r360865, b=
ut
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=20
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() =3D=3D 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=3D0x80169b038,
id=3D<optimized out>, clockid=3D<optimized out>, abstime=3D<optimized out>,
shared=3D<optimized out>) at /usr/src/lib/libthr/thread/thr_umtx.c:234
#2  0x0000000801b9ef6b in cond_wait_user (cvp=3D0x81114dd60, mp=3D0x8115a60=
60,
abstime=3D0x7fffdfbfbec8, cancel=3D1) at /usr/src/lib/libthr/thread/thr_con=
d.c:305
#3  cond_wait_common (cond=3D<optimized out>, mutex=3D<optimized out>,
abstime=3D0x7fffdfbfbec8, cancel=3D1) at /usr/src/lib/libthr/thread/thr_con=
d.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=3D0x81114a700) 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--=20
#1  0x0000000801b95ac6 in __thr_poll (fds=3D0x812229020, nfds=3D2, timeout=
=3D-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=3D0x8111aff00) 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=3D0x8115a3040, nfds=3D1, timeout=
=3D-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=3D0x811225800) 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=3D0x811106af0, id=3D100918=
) at
/usr/src/lib/libthr/thread/thr_umtx.c:80
#2  0x0000000801b9af70 in mutex_lock_sleep (curthread=3D0x811016000,
m=3D0x811106af0, abstime=3D0x0) at /usr/src/lib/libthr/thread/thr_mutex.c:6=
95
#3  mutex_lock_common (m=3D0x811106af0, abstime=3D<optimized out>, cvattach=
=3Dfalse,
rb_onlist=3D<optimized out>) at /usr/src/lib/libthr/thread/thr_mutex.c:729
#4  0x0000000801b99d09 in __pthread_mutex_lock (mutex=3D0x81110b320) 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=3D0x0) at
/usr/src/lib/libc/stdlib/atexit.c:236
#11 0x000000080880ea41 in exit (status=3D-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=3D6) 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=3D<optimized out>, file=3D<optimiz=
ed out>,
line=3D<optimized out>, failedexpr=3D<optimized out>) at
/usr/src/lib/libc/gen/assert.c:51
#4  0x000000080831cd18 in __cxa_guard_abort(guard_t volatile*)
(guard_object=3D<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=3D0x8111b3b00) at
/usr/src/lib/libthr/thread/thr_create.c:290
#9  0x0000000000000000 in  ()


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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247481-7788-qVkBorGlzO>