Package: jack
Version: 3.1.1-3
Severity: normal

jack sometimes aborts right at the end of the last audio track when a
CD has a data track at the end.  Ripping the track by hand with
cdparanoia shows that it works, even with --abort-on-skip:

| 2744:[EMAIL PROTECTED]: ~] cdparanoia --abort-on-skip -d /dev/cdrom 21 
track_21.wav ; echo $?
| cdparanoia III release 9.8 (March 23, 2001)
| ...
| Ripping from sector  280822 (track 21 [0:00.00])
|           to sector  316456 (track 21 [7:55.09])
|
| outputting to track_21.wav
|
| (== PROGRESS == [                              | 316456 00 ] == :^D * ==)
|
| Done.
|
|
| 0

Yet, jack dies with the following error:

| Traceback (most recent call last):
|  File "/usr/bin/jack", line 225, in ?
|    global_error = jack_main_loop.main_loop(mp3s_todo, wavs_todo, space, 
dae_queue, enc_queue, track1_offset)
|  File "/usr/lib/python2.3/site-packages/jack_main_loop.py", line 288, in 
main_loop
|    jack_status.dae_stat_upd(num, 
string.strip(string.split(exited_proc['buf'], "\n")[-2]))
| IndexError: list index out of range
|  *warning* abnormal exit

Adding some debbuing shows the problem: jack assumes the track should
be larger than it really is:

|  (== PROGRESS == [                             >| 316347 00 ] == :-) o ==)
| Done.PROGRESS == [                              | 316456 00 ] == :^D * ==)
| 0
| assumed track size: 110626364
| real track size: 83813564

My assumption is that the size of the data track is added to the last
audio track in some cases.

The code where it breaks is:

|                       if not exited_proc['otf']:
|                           if os.path.exists(track[NAME] + ".wav"):
|                               if jack_functions.tracksize(track)[WAV] != 
jack_utils.filesize(track[NAME] + ".wav"

Temporarily changing the != to a < makes jack rip the track
successfully.  However, the real solution is to fix jack's tracksize
calculation.

I've attached some more information about this particular CD but I've
seen this happening with other CDs in the past.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages jack depends on:
ii  cdparanoia                    3a9.8-11   An audio extraction tool for sampl
ii  flac                          1.1.1-5    Free Lossless Audio Codec - comman
ii  python                        2.3.5-2    An interactive high-level object-o
ii  python-cddb                   1.4-3      Python interface to CD-IDs and Fre
ii  python-eyed3                  0.6.6-1    Python module for id3-tags manipul
ii  python-pyvorbis               1.3-1      A Python interface to the Ogg Vorb
ii  vorbis-tools                  1.0.1-1.4  Several Ogg Vorbis Tools

-- no debconf information

-- 
Martin Michlmayr
http://www.cyrius.com/
# xmcd
#
# Track frame offsets:
# 182
# 3020
# 18727
# 36320
# 52042
# 62005
# 84882
# 101612
# 127070
# 153877
# 171840
# 188365
# 194532
# 206362
# 212492
# 231327
# 236532
# 250420
# 262427
# 268570
# 280972
# 328007
#
# Disc length: 4795 seconds
#
#
# Revision: 3
# Processed by: cddbd v1.5PL3 Copyright (c) Steve Scherf et al.
# Submitted via: FreeRIP 2.30
#
DISCID=3a12b916
DTITLE=DJ Tomekk / Beat Of Life vol. 1
DYEAR=2002
DGENRE=Hip-Hop
TTITLE0=On The Wheels... (Intro)
TTITLE1=Heidi (That Girl...) feat. Perverted Monks
TTITLE2=Viel Zu Sehen feat. Trooper Da Don
TTITLE3=Kimnotyze feat. Lil' Kim & Trooper Da Don
TTITLE4=0177-DJ Tomekk (Skit)
TTITLE5=Unleash The Lion feat. Prezident Brown
TTITLE6=Ganxtaville pt. 2 feat. Kurupt, Tatwaffe, G-Style
TTITLE7=Beat Of Life feat. Ice T, Sandra Nasic, Trigger Tha Gambla
TTITLE8=Rasta Soldier feat. Prezident Brown
TTITLE9=Russian Roulette feat. Afu-Ra
TTITLE10=Woody feat. Beatnuts
TTITLE11=1-800-Slave 4 U
TTITLE12=Supermadl feat. Shadee
TTITLE13=Holdin It Down (Skit)
TTITLE14=Du feat. Spontan
TTITLE15=Beat Of Life Radio (Skit)
TTITLE16=Nice Girls (Schöne Chicken) feat. Clumsy & Shegun
TTITLE17=Colorado part 1 (Live From Japan) feat. Fatman Scoop
TTITLE18=After The Show... (Skit)
TTITLE19=How You Like That RMX feat. Shaquille O'Neal
TTITLE20=Ganxtaville pt. 1 feat. Kurupt
TTITLE21=DATA
EXTD=Ripped by John 17/11/2003
EXTT0=
EXTT1=
EXTT2=
EXTT3=
EXTT4=
EXTT5=
EXTT6=
EXTT7=
EXTT8=
EXTT9=
EXTT10=
EXTT11=
EXTT12=
EXTT13=
EXTT14=
EXTT15=
EXTT16=
EXTT17=
EXTT18=
EXTT19=
EXTT20=
EXTT21=
PLAYORDER=
all/|\mkdir/|\jack-3b12b816
01/|\patch/|\START 0 -> 32
02/|\patch/|\START 2838 -> 2870
03/|\patch/|\START 18545 -> 18577
04/|\patch/|\START 36138 -> 36170
05/|\patch/|\START 51860 -> 51892
06/|\patch/|\START 61823 -> 61855
07/|\patch/|\START 84700 -> 84732
08/|\patch/|\START 101430 -> 101462
09/|\patch/|\START 126888 -> 126920
10/|\patch/|\START 153695 -> 153727
11/|\patch/|\START 171658 -> 171690
12/|\patch/|\START 188183 -> 188215
13/|\patch/|\START 194350 -> 194382
14/|\patch/|\START 206180 -> 206212
15/|\patch/|\START 212310 -> 212342
16/|\patch/|\START 231145 -> 231177
17/|\patch/|\START 236350 -> 236382
18/|\patch/|\START 250238 -> 250270
19/|\patch/|\START 262245 -> 262277
20/|\patch/|\START 268388 -> 268420
21/|\patch/|\LEN 47035 -> 35635
21/|\patch/|\START 280790 -> 280822
22/|\off/|\non-audio
all/|\freedb_cat/|\misc
all/|\ren/|\jack-3b12b816-->dj_tomekk/beat_of_life_vol._1
01/|\dae/|\2.70x [                              ]
01/|\enc/|\160/|\[coding @1.15x done, 133kbit]
02/|\dae/|\2.51x [                              ]
03/|\dae/|\2.19x [ +                            ]
04/|\dae/|\2.21x [                              ]
02/|\enc/|\160/|\[coding @0.95x done, 167kbit]
05/|\dae/|\2.60x [                              ]
06/|\dae/|\2.24x [                              ]
07/|\dae/|\2.65x [                              ]
03/|\enc/|\160/|\[coding @0.88x done, 156kbit]
08/|\dae/|\2.63x [                              ]
04/|\enc/|\160/|\[coding @0.94x done, 143kbit]
09/|\dae/|\2.60x [                            + ]
10/|\dae/|\2.22x [                              ]
05/|\enc/|\160/|\[coding @0.97x done, 122kbit]
11/|\dae/|\2.09x [                              ]
12/|\dae/|\2.30x [                              ]
13/|\dae/|\2.65x [                              ]
14/|\dae/|\2.67x [                              ]
15/|\dae/|\2.68x [ +                            ]
16/|\dae/|\2.33x [                              ]
06/|\enc/|\160/|\[coding @0.74x done, 168kbit]
17/|\dae/|\2.65x [                              ]
18/|\dae/|\2.59x [                              ]
19/|\dae/|\2.26x [                              ]
20/|\dae/|\2.66x [ +                            ]
07/|\enc/|\160/|\[coding @0.77x done, 155kbit]
08/|\enc/|\160/|\[coding @1.53x done, 143kbit]
09/|\enc/|\160/|\[coding @4.70x done, 156kbit]
10/|\enc/|\160/|\[coding @4.78x done, 147kbit]
11/|\enc/|\160/|\[coding @4.68x done, 148kbit]
12/|\enc/|\160/|\[coding @4.97x done, 124kbit]
13/|\enc/|\160/|\[coding @4.71x done, 156kbit]
14/|\enc/|\160/|\[coding @4.83x done, 149kbit]
15/|\enc/|\160/|\[coding @4.63x done, 165kbit]
16/|\enc/|\160/|\[coding @4.74x done, 167kbit]
21/|\dae/|\2.66x [ +                            ]
17/|\enc/|\160/|\[coding @1.00x done, 161kbit]
18/|\enc/|\160/|\[coding @4.84x done, 153kbit]
19/|\enc/|\160/|\[coding @4.79x done, 152kbit]
20/|\enc/|\160/|\[coding @4.80x done, 149kbit]
21/|\dae/|\3.46x [                              ]
21/|\enc/|\160/|\[coding @6.00x done, 123kbit]
01/|\ren/|\track_01-->001-on_the_wheels..._(intro)
02/|\ren/|\track_02-->002-heidi_(that_girl...)_feat._perverted_monks
03/|\ren/|\track_03-->003-viel_zu_sehen_feat._trooper_da_don
04/|\ren/|\track_04-->004-kimnotyze_feat._lil'_kim_&_trooper_da_don
05/|\ren/|\track_05-->005-0177-dj_tomekk_(skit)
06/|\ren/|\track_06-->006-unleash_the_lion_feat._prezident_brown
07/|\ren/|\track_07-->007-ganxtaville_pt._2_feat._kurupt,_tatwaffe,_g-style
08/|\ren/|\track_08-->008-beat_of_life_feat._ice_t,_sandra_nasic,_trigger_tha_gambla
09/|\ren/|\track_09-->009-rasta_soldier_feat._prezident_brown
10/|\ren/|\track_10-->010-russian_roulette_feat._afu-ra
11/|\ren/|\track_11-->011-woody_feat._beatnuts
12/|\ren/|\track_12-->012-1-800-slave_4_u
13/|\ren/|\track_13-->013-supermadl_feat._shadee
14/|\ren/|\track_14-->014-holdin_it_down_(skit)
15/|\ren/|\track_15-->015-du_feat._spontan
16/|\ren/|\track_16-->016-beat_of_life_radio_(skit)
17/|\ren/|\track_17-->017-nice_girls_(schöne_chicken)_feat._clumsy_&_shegun
18/|\ren/|\track_18-->018-colorado_part_1_(live_from_japan)_feat._fatman_scoop
19/|\ren/|\track_19-->019-after_the_show..._(skit)
20/|\ren/|\track_20-->020-how_you_like_that_rmx_feat._shaquille_o'neal
21/|\ren/|\track_21-->021-ganxtaville_pt._1_feat._kurupt
all/|\done/|\Jul 25 15:35:27

Reply via email to