Corrupt OGG starts to import then quits instead of reporting sequence number gap

Bug #1063298 reported by OurToaster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Audacity
Fix Released
Unknown
audacity (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

I can not open a certain ogg file with audacity. When I try to open the file it displays the import dialog but closes it after some progress. Same happens if I try to import it. It does not show me any error message. The file plays fine with any audio player i tried so far. I can also open different ogg files with audacity.

The file was recorded with gnome-sound-recorder (ubuntu default) in the ogg-format.

I tried with audacity 2.0 and Audacity 2.0.3-alpha-Oct 7 2012. Same result.

The file is 72 MB at about 80 min.
Information about the file
Vorbis Audio
Stereo, 44100Hz, 160kb/s

I can also provide the file if neccessary. I opened a new bug for this. I'm quite new to opensource community, so please let me know if that wasn't correct and if I can provide further information.

I use ubuntu 12.04, kernel 3.2.0-31-generic on 64bit

Thanks for help!

Revision history for this message
Étienne Beaulé (betienne) wrote :

The problem is not the system, but the size of the file. I would suggest uploading parts at a time, then "glue" back in place.

OurToaster (ourtoaster)
description: updated
Revision history for this message
OurToaster (ourtoaster) wrote :

I tried now to split the oggfile in several parts using oggCut from oggvideotools. Whenever I try to open one of the splits in audacity, it opens perfectly. Maybe the file was just corrupt somehow.
I received folling message when I split it with oggCut:
user@host:~/Music$ oggCut -s 825000 -e 4680000 H.ogg H_Part1.ogg
Stream No: 0(0x3d051edb)
Vorbis Stream:
 with 2 channels
 and 44100 kHz sample rate
 and 160000 data rate

StreamMux::operator<<: Warning: packet number for stream <0> not matching: expected: 3 got 65537

It would be nice if audacity would print a message saying the file is corrupt. I'll try to upload whole uncut the file now.
My problem is solved. Thanks.

Changed in audacity (Ubuntu):
status: New → Invalid
Revision history for this message
In , Benjamin Drung (bdrung) wrote :

The bug was initial reported in Launchpad [1] and confirmed by me. Here's the
description from the reporter:

I can not open a certain ogg file with audacity. When I try to open the file it
displays the import dialog but closes it after some progress. Same happens if I
try to import it. It does not show me any error message. The file plays fine
with any audio player i tried so far. I can also open different ogg files with
audacity.

The file was recorded with gnome-sound-recorder (ubuntu default) in the
ogg-format.

I tried with audacity 2.0 and Audacity 2.0.3-alpha-Oct 7 2012. Same result.

The file is 72 MB at about 80 min.
Information about the file
Vorbis Audio
Stereo, 44100Hz, 160kb/s

The file is attached to the second comment in the Launchpad bug [1].

[1] https://launchpad.net/bugs/1063298

Revision history for this message
Benjamin Drung (bdrung) wrote :

Audacity should show an error message instead of silently fail when opening a corrupted ogg file.

I can confirm the opening failure with your provided test file.

Changed in audacity (Ubuntu):
importance: Undecided → Low
status: Invalid → Triaged
description: updated
Changed in audacity:
status: Unknown → Confirmed
Revision history for this message
In , Gale (gale) wrote :

IMPORTANCE changed to P5, Repeatable.

Confirmed on Windows 7 but the file is corrupt.

oggdec.exe crashes trying to play it, hence probably why the import aborts.

oggenc.exe reports:
New logical stream (#1, serial: 3d051edb): type vorbis
S

Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20101101 (Schaufenugget)
Channels: 2
Rate: 44100

Nominal bitrate: 160.000000 kb/s
Upper bitrate not set
Lower bitrate not set
Warning: sequence number gap in stream 1. Got page 1247 when expecting page
1246
. Indicates missing data.
Warning: discontinuity in stream (1)
[repeats until...]
Warning: discontinuity in stream (1)
Warning: EOS not set on stream 1
Vorbis stream 1:
        Total data length: 72668428 bytes
        Playback length: 79m:50.160s
        Average bitrate: 121.362821 kb/s

I suggest user installs FFmpeg, then in Audacity does File > Open or File >
Import, and selects the "FFmpeg-compatible files" filter. The file will then
import using FFmpeg providing user has not unchecked "Attempt to use filter in
OpenFile dialog first" in Extended Import Preferences.

Benjamin Drung (bdrung)
summary: - can not open ogg file in audacity
+ Corrupt OGG starts to import then quits instead of reporting sequence
+ number gap
Revision history for this message
In , Petersampsonaudacity (petersampsonaudacity) wrote :

I downloaded the ogg test file from the link provided in Benjamin's comment #0

Testing on W10 with audacity-2.3.3-alpha-252-88dc11f525215cea57f7a89b0038fc7d40a50149

This formerly problematic ogg file I can now import properly into Audacity with drag&drop and File>Import. I can also File>Open the test ogg file.

So there no longer appears to be a problem on Windows with is particular ogg file.

This should also be tested on Linux before closing this old bug

Revision history for this message
In , steve d (stevethefiddle-gmail) wrote :

On Linux, the file https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/1063298/+attachment/3383394/+files/H.ogg imports correctly, and error messages are correctly logged in the Audacity log (as shown below).
Closing this bug as fixed.

Audacity log messages:
14:10:25: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:26: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:26: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:26: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:26: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:27: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:27: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:27: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:27: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:27: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:27: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:27: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole
14:10:28: Error: Ogg Vorbis importer: file H.ogg is malformed, ov_read() reported a hole

Changed in audacity:
status: Confirmed → Fix Released
Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

This version of this package will receive no further updates. Please test against a currently supported version of this package and report a new bug against that version if the bug still exists.

Changed in audacity (Ubuntu):
importance: Low → Undecided
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.