Ok, I recompiled flac with debug options and the core tells me some more..

It's clear why flac is unhappy, but not sure i know how to fix that within
jack :)

Hope this helps,

C/

Core was generated by `flac -o track_20.flac track_20.wav'.
Program terminated with signal 8, Arithmetic exception.
#0  0x000000000041a51b in stats_print_name (level=2, name=0x19d70f0
"track_20.wav") at utils.c:233
233                     console_chars_left = console_width  - (len %
console_width);
(gdb) print console_width
$1 = 0
(gdb) print len
$2 = 14
(gdb) bt
#0  0x000000000041a51b in stats_print_name (level=2, name=0x19d70f0
"track_20.wav") at utils.c:233
#1  0x0000000000411651 in print_stats (encoder_session=0x7fff32f183e0) at
encode.c:2630
#2  0x0000000000410dc5 in encoder_progress_callback (encoder=0x19d7410,
bytes_written=533384, samples_written=266240, frames_written=65,
total_frames_estimate=3876,
    client_data=0x7fff32f183e0) at encode.c:2427
#3  0x00002ae99d274695 in file_write_callback_ (encoder=0x19d7410,
    buffer=0x1a234b0
"\377\370ɨ@JN\362\262\360p\357\264\360k\362\070\364e\366I\367\251\264\262\314q\217\241\v\372\357\r\215\247ł\302G\315<p\311\377\307p\200\361\332\377r\340\224\362\177\211\341\025\224\252\250V$\226\310L\216\362\267s\217\070\213n\344]\253\266\351J\357a\033\036\350\030\254߮\344\265\033\265'\221-\265!\220\212g\273\037W\233\020\333\004I$\273\302\346\204\330\351\227\021\335y\230=\032r\n\212b\234\316p\362\210\255d$d\026V\033\323\071
ye\231\025\275,\243ܘN\361i\361*i\026N\317V\225\326~\253\361T\245\306\347\375\353\313Tj;4|M\264\204\321\065m\351\332/\216\035\367pA`/0B֫\334",
<incomplete sequence \302>..., bytes=8110, samples=4096, current_frame=64,
client_data=0x7fff32f183e0)
    at stream_encoder.c:4306
#4  0x00002ae99d270256 in write_frame_ (encoder=0x19d7410,
    buffer=0x1a234b0
"\377\370ɨ@JN\362\262\360p\357\264\360k\362\070\364e\366I\367\251\264\262\314q\217\241\v\372\357\r\215\247ł\302G\315<p\311\377\307p\200\361\332\377r\340\224\362\177\211\341\025\224\252\250V$\226\310L\216\362\267s\217\070\213n\344]\253\266\351J\357a\033\036\350\030\254߮\344\265\033\265'\221-\265!\220\212g\273\037W\233\020\333\004I$\273\302\346\204\330\351\227\021\335y\230=\032r\n\212b\234\316p\362\210\255d$d\026V\033\323\071
ye\231\025\275,\243ܘN\361i\361*i\026N\317V\225\326~\253\361T\245\306\347\375\353\313Tj;4|M\264\204\321\065m\351\332/\216\035\367pA`/0B֫\334",
<incomplete sequence \302>..., bytes=8110, samples=4096, is_last_block=0)
at stream_encoder.c:2481
#5  0x00002ae99d26fe0b in write_bitbuffer_ (encoder=0x19d7410,
samples=4096, is_last_block=0) at stream_encoder.c:2387
#6  0x00002ae99d271485 in process_frame_ (encoder=0x19d7410,
is_fractional_block=0, is_last_block=0) at stream_encoder.c:2888
#7  0x00002ae99d26e864 in FLAC__stream_encoder_process (encoder=0x19d7410,
buffer=0x8d3560 <input_>, samples=2048) at stream_encoder.c:1983
#8  0x0000000000410017 in EncoderSession_process (e=0x7fff32f183e0,
buffer=0x8d3560 <input_>, samples=2048) at encode.c:2165
#9  0x000000000040d7e8 in flac__encode_file (infile=0x19d7110,
infilesize=63496988, infilename=0x19d70f0 "track_20.wav",
outfilename=0x7fff32f1c1cc "track_20.flac",
    lookahead=0x7fff32f1b2d0 "RIFF\024\343\310\003WAVE",
lookahead_length=12, options=...) at encode.c:1410
#10 0x0000000000418eb9 in encode_file (infilename=0x19d70f0 "track_20.wav",
is_first_file=1, is_last_file=1) at main.c:1950
#11 0x0000000000415206 in do_it () at main.c:516
#12 0x000000000041493e in main (argc=4, argv=0x7fff32f1b468) at main.c:323
(gdb)
‘ 0:..al 2009 (CD1)  1:~-
2:gdb*



On Fri, Feb 14, 2014 at 6:30 PM, Cédric Andrieu <aced...@gmail.com> wrote:

> Hello same problem here,
>
> sme eeror messages.
>
> It does create a core file when trying to encode:
>
> ced@princesse:~/jack/Various Artists/Classical 2009 (CD1)
> > gdb
> GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1)
> Copyright (C) 2013 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".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> (gdb) core core
> [New LWP 16088]
> warning: no loadable sections found in added symbol-file system-supplied
> DSO at 0x7fff677fe000
> Core was generated by `flac -o track_20.flac track_20.wav'.
> Program terminated with signal 8, Arithmetic exception.
> #0  0x0000000000414650 in ?? ()
>
> but running this command form command line, does not trigger any issue:
>
> ced@princesse:~/jack/Various Artists/Classical 2009 (CD1)
> > flac -o track_20.flac track_20.wav
>
> flac 1.3.0, Copyright (C) 2000-2009, 2011-2013  Josh Coalson & Xiph.Org
> Foundation
> flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
> welcome to redistribute it under certain conditions.  Type `flac' for
> details.
>
> track_20.wav: wrote 31774235 bytes, ratio=0,500
>
> ced@princesse:~/jack/Various Artists/Classical 2009 (CD1)
> > sudo dpkg -l flac jack
> Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
> |
> État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
> ||/ Nom                                    Version
> Architecture             Description
>
> +++-======================================-========================-========================-=================================================================================
> ii  flac                                   1.3.0-2
> amd64                    Free Lossless Audio Codec - command line tools
> ii  jack                                   3.1.1+cvs20050801-29
> amd64                    Rip and encode CDs with one command
>
>
>

Reply via email to