Bug#762571: audacity: Hang when asked to open Ogg Theora file

Petter Reinholdtsen pere at hungry.com
Tue Sep 23 09:21:34 UTC 2014


Package: audacity
Version: 2.0.1-1

Hi.  I discovered this issue in Jessie (version 2.0.5-2), but it is also
present in Wheezy.  In the KDE file manager, any Ogg Theora video file
is passed to audacity by default (see bug #762561 for that story), and
the audacity program just hang after showing two empty windows.

I tried to install the audacity-dbg package and triggering this hang in
gdb to get a backtrace:

[New Thread 0x7fffd90f7700 (LWP 31725)]
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4541
[Thread 0x7fffd90f7700 (LWP 31725) exited]
[New Thread 0x7fffd90f7700 (LWP 31726)]
Expression 'stream->playback.pcm' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 4541
[Thread 0x7fffd90f7700 (LWP 31726) exited]
Expression '*idev = open( idevName, flags )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 811
Expression 'OpenDevices( idevName, odevName, &idev, &odev )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 857
Expression 'PaOssStream_Initialize( stream, inputParameters, outputParameters, streamCallback, userData, streamFlags, ossHostApi )' failed in 'src/hostapi/oss/pa_unix_oss.c', line: 1234
^C
Program received signal SIGINT, Interrupt.
0x00007ffff103cebd in lseek64 () at ../sysdeps/unix/syscall-template.S:82
82      ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0  0x00007ffff103cebd in lseek64 () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ffff0fd3fa8 in _IO_new_file_seekoff (fp=0x1541bc0, offset=0, dir=0, mode=3) at fileops.c:1122
#2  0x00007ffff0fcc7da in *__GI_fseek (fp=0x1541bc0, offset=0, whence=0) at fseek.c:41
#3  0x00007ffff65e0a14 in ?? () from /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
#4  0x00007ffff65e2a5d in ov_pcm_seek_page () from /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
#5  0x00007ffff65e2cf9 in ov_pcm_seek () from /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
#6  0x0000000000693fca in OggImportFileHandle::Import (this=0x15221e0, trackFactory=0x11d7840, 
    outTracks=<optimized out>, outNumTracks=0x7fffffffd47c, tags=0x148ad70) at import/ImportOGG.cpp:298
#7  0x000000000068de83 in Importer::Import (this=0x1560a40, fName=..., trackFactory=0x11d7840, 
    tracks=0x7fffffffda20, tags=0x148ad70, errorMessage=...) at import/Import.cpp:521
#8  0x00000000005a1fee in AudacityProject::Import (this=this at entry=0x111eb00, fileName=..., 
    pTrackArray=pTrackArray at entry=0x0) at Project.cpp:3473
#9  0x00000000005a4e8e in AudacityProject::OpenFile (this=0x111eb00, fileName=..., addtohistory=true)
    at Project.cpp:2393
#10 0x000000000052b8ba in AudacityApp::OnInit (this=0xd4bfe0) at AudacityApp.cpp:1326
#11 0x00007ffff6d534d4 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
#12 0x000000000050acb2 in main (argc=2, argv=<optimized out>) at AudacityApp.cpp:639
(gdb) 

The issue should be fairly easy to reproduce.  If you need a Ogg Theora
file, the gtk-recordmydesktop package can create one for you.  It would
be better if audacity loaded the audio of the Ogg Theora file instead of
just hanging.

-- 
Happy hacking
Petter Reinholdtsen



More information about the pkg-multimedia-maintainers mailing list