Package: burn
Version: 0.4.6-2
Severity: important

For some reason I can burn *.wav but not *.mp3 using burn.

Right now I need to convert the *.mp3 to *.wav first using something like:

$ for i in $( ls *.mp3 ); do ffmpeg -i $i $i.wav; done

in which case cmd: `burn -A -a *.wav` works as expected

Upon investigation, it seems the *.wav file generated is empty:

$ ls -al /tmp/burn_1001.wav                                                     
                                                                              ~
-rw-r--r-- 1 mathieu mathieu 0 Mar  4 10:29 /tmp/burn_1001.wav

this was verified during the unclosed gdb session down below.

Steps to reproduce segfault.

mathieu@maester $ gdb python
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python...Reading symbols from 
/usr/lib/debug//usr/bin/python2.7...done.
done.
(gdb) r -c "from burnlib import burn; burn.main()" "$@" -A -a *.mp3
Starting program: /usr/bin/python -c "from burnlib import burn; burn.main()" 
"$@" -A -a *.mp3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
You are not superuser (root). Do you still want to continue (yes/no) [yes]? yes
Burn v.0.4.6  Written by Gaetano Paolone.
Burn until recorded, now!
This software comes with absolutely no warranty! Use at your own risk!
Burn is free software.
See software updates at <URL:http://www.bigpaul.org/burn/>.

Audio-CD...

Audio file processing. Please wait...


To be burned:       637 Mb
Disk space needed:      637 Mb
Media capacity:     700 Mb
Free disk space:      162606 Mb


---------------------------------------------
Burn - Track summary
---------------------------------------------
[...removed...]

Total Audio-CD:  1:03:10

Performing audio decoding with burn's native functions.
[1/19] MP3  Processing /home/mathieu/foo.mp3

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff64fa010 in _open_device () from /usr/lib/libao.so.4
#2  0x00007ffff64fb0bf in ao_open_file () from /usr/lib/libao.so.4
#3  0x00007ffff6700923 in py_ao_new (self=<optimized out>, args=('wav',), 
kwargs={'overwrite': True, 'filename': '/tmp/burn_1001.wav'}) at 
src/aomodule.c:135
#4  0x00000000004cdbb9 in do_call (nk=<optimized out>, na=<optimized out>, 
pp_stack=<optimized out>, func=<optimized out>) at ../Python/ceval.c:4248
#5  call_function (oparg=<optimized out>, pp_stack=<optimized out>) at 
../Python/ceval.c:4056
#6  PyEval_EvalFrameEx () at ../Python/ceval.c:2679
#7  0x00000000004c996a in fast_function (nk=<optimized out>, na=<optimized 
out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at 
../Python/ceval.c:4119
#8  call_function (oparg=<optimized out>, pp_stack=<optimized out>) at 
../Python/ceval.c:4054
#9  PyEval_EvalFrameEx () at ../Python/ceval.c:2679
#10 0x00000000004c7a59 in PyEval_EvalCodeEx () at ../Python/ceval.c:3265
#11 0x000000000053e49a in PyEval_EvalCode (
    locals={'__builtins__': <module at remote 0x7ffff7fb6b08>, '__name__': 
'__main__', 'burn': <module at remote 0x7ffff7eb7868>, '__doc__': None, 
'__package__': None}, 
    globals={'__builtins__': <module at remote 0x7ffff7fb6b08>, '__name__': 
'__main__', 'burn': <module at remote 0x7ffff7eb7868>, '__doc__': None, 
'__package__': None}, 
    co=0x7ffff7eeca30) at ../Python/ceval.c:667
#12 run_mod (arena=0x9d95f0, flags=0x7fffffffe0f0, 
    locals={'__builtins__': <module at remote 0x7ffff7fb6b08>, '__name__': 
'__main__', 'burn': <module at remote 0x7ffff7eb7868>, '__doc__': None, 
'__package__': None}, 
    globals={'__builtins__': <module at remote 0x7ffff7fb6b08>, '__name__': 
'__main__', 'burn': <module at remote 0x7ffff7eb7868>, '__doc__': None, 
'__package__': None}, 
    filename=0x61ae29 "<string>", mod=<optimized out>) at 
../Python/pythonrun.c:1371
#13 PyRun_StringFlags () at ../Python/pythonrun.c:1334
#14 0x0000000000541f2a in PyRun_SimpleStringFlags () at 
../Python/pythonrun.c:975
#15 0x0000000000498013 in Py_Main () at ../Modules/main.c:584
#16 0x00007ffff6f12b45 in __libc_start_main (main=0x497c60 <main>, argc=24, 
argv=0x7fffffffe2b8, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, 
    stack_end=0x7fffffffe2a8) at libc-start.c:287
#17 0x0000000000497b8b in _start ()



-- System Information:
Debian Release: 8.4
  APT prefers stable
  APT policy: (700, 'stable'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages burn depends on:
ii  cdrdao                1:1.2.3-2
ii  genisoimage           9:1.1.11-3
ii  mpg321                0.3.2-1.1
ii  python                2.7.9-1
ii  python-docutils       0.12+dfsg-1
ii  python-eyed3          0.6.18-1
ii  python-pkg-resources  5.5.1-1
ii  python-pyao           0.82-5
ii  python-pymad          0.7-1
ii  python-pyvorbis       1.5-4
ii  python2.7             2.7.9-2+deb8u1
ii  wodim                 9:1.1.11-3

burn recommends no packages.

burn suggests no packages.

-- no debconf information

Reply via email to