libats2wav trouble

View: New views
1 Messages — Rating Filter:   Alert me  

libats2wav trouble

by Kai-Uwe Behrmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Valgrind gives following error and I guess it is what makes the app
overwriting the tracks during extraction (v09.05):

==25558== Invalid write of size 4
==25558==    at 0x412BC92: _IO_switch_to_get_mode (genops.c:195)
==25558==    by 0x412A53F: _IO_file_seekoff@@GLIBC_2.1 (fileops.c:971)
==25558==    by 0x4121129: _IO_seekoff_unlocked (ioseekoff.c:71)
==25558==    by 0x4126C90: fseek (fseek.c:41)
==25558==    by 0x806923E: wav_close (libats2wav.c:372)
==25558==    by 0x8068B09: ats2wav (libats2wav.c:630)
==25558==    by 0x805E88A: parse_disk (file_input_parsing.c:290)
==25558==    by 0x8064ED8: ats2wav_parsing (command_line_parsing.c:813)
==25558==    by 0x80637C3: command_line_parsing (command_line_parsing.c:453)
==25558==    by 0x805D636: main (dvda-author2.c:210)
==25558==  Address 0x42031c4 is 20 bytes inside a block of size 352 free'd
==25558==    at 0x402293C: free (vg_replace_malloc.c:323)
==25558==    by 0x411EC34: fclose@@GLIBC_2.1 (iofclose.c:88)
==25558==    by 0x8069322: wav_close (libats2wav.c:395)
==25558==    by 0x8068B09: ats2wav (libats2wav.c:630)
==25558==    by 0x805E88A: parse_disk (file_input_parsing.c:290)
==25558==    by 0x8064ED8: ats2wav_parsing (command_line_parsing.c:813)
==25558==    by 0x80637C3: command_line_parsing (command_line_parsing.c:453)
==25558==    by 0x805D636: main (dvda-author2.c:210)

[INF]  Running:
  /opt/local/bin/dvda-author   -d   --extract   /media/cd   1   -o   /data3/CD/dvd


[INF]  First scan of track list for memory allocation...
[PAR]  Output directory is: /data3/CD/dvd
[INF]  Extracting audio from /media/cd/audio_ts
[INF]  Extracting to /data3/CD/dvd
[INF]  Extracting titleset ats_01_0.ifo ...
[MSG]  Output directory '/data3/CD/dvd/g1' already created
[INF]  Extracting to directory /data3/CD/dvd/g1 ...
[INF]  Read 6144 bytes

      track first sector  last sector   pts length
      01               0       364687    372129959

      track first sector  last sector   pts length
      02          364688       669208    310735934

      track first sector  last sector   pts length
      03          669209       789934    123189289

      track first sector  last sector   pts length
      04          789935      1119381    336171334

      track first sector  last sector   pts length
      05         1119382      1400302    286653126

      track first sector  last sector   pts length
      06         1400303      1438547     39026400

      track first sector  last sector   pts length
      07         1438548      1456790     18614400

      track first sector  last sector   pts length
      08         1456791      1475547     19140000

      track first sector  last sector   pts length
      09         1475548      1497499     22400400

      track first sector  last sector   pts length
      10         1497500      1519890     22848000

      track first sector  last sector   pts length
      11         1519891      1547331     28000800

      track first sector  last sector   pts length
      12         1547332      1560101     13030800

      track first sector  last sector   pts length
      13         1560102      1578270     18540000

      track first sector  last sector   pts length
      14         1578271      1601086     23281200

      track first sector  last sector   pts length
      15         1601087      1627707     27164400

      track first sector  last sector   pts length
      16         1627708      1653882     26709600

      track first sector  last sector   pts length
      17         1653883      1664606     10942800

      track first sector  last sector   pts length
      18         1664607      1682740     18504000

      track first sector  last sector   pts length
      19         1682741      1693116     10587600

      track first sector  last sector   pts length
      20         1693117      1706491     13647600

[INF]  Extracting /data3/CD/dvd/g1/track01.wav
        44100Hz, 16 bits/sample, 2 channels - 182343680 samples
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 729374720
[INF]  Extracting /data3/CD/dvd/g1/track02.wav
        44100Hz, 16 bits/sample, 2 channels - 152260608 samples
[MSG]  Wrote 0 bytes, written=729374720, size=729374720
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 729374720
[INF]  Extracting /data3/CD/dvd/g1/track02.wav
        44100Hz, 16 bits/sample, 2 channels - 152260608 samples
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 609042432
[INF]  Extracting /data3/CD/dvd/g1/track03.wav
        44100Hz, 16 bits/sample, 2 channels - 60362752 samples
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 241451008
[INF]  Extracting /data3/CD/dvd/g1/track04.wav
        44100Hz, 16 bits/sample, 2 channels - 164723954 samples
[MSG]  Wrote 0 bytes, written=729374720, size=729374720
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 729374720
[INF]  Extracting /data3/CD/dvd/g1/track02.wav
        44100Hz, 16 bits/sample, 2 channels - 152260608 samples
[MSG]  Wrote 0 bytes, written=609042432, size=609042432
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 609042432
[INF]  Extracting /data3/CD/dvd/g1/track03.wav
        44100Hz, 16 bits/sample, 2 channels - 60362752 samples
[MSG]  Wrote 0 bytes, written=241451008, size=241451008
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 241451008
[INF]  Extracting /data3/CD/dvd/g1/track04.wav
        44100Hz, 16 bits/sample, 2 channels - 164723954 samples
[MSG]  IFO file: ats_01_0.ifo
        IFO file size: 658895816
[INF]  Extracting /data3/CD/dvd/g1/track05.wav
        44100Hz, 16 bits/sample, 2 channels - 140460032 samples
...

Between, the used DVD-Audio was created by the old dvdauthor app(v0.6.14
or 0.1-cvs).

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
dvd-audio-devel mailing list
dvd-audio-devel@...
https://lists.sourceforge.net/lists/listinfo/dvd-audio-devel