crash on volume scan

Bug #615908 reported by madbanjoman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Basenji
Fix Released
High
Patrick Ulbrich

Bug Description

larger volume (1.3 TB) collection of mp3s and FLACs crashes around 100GB with following error

Scanning of drive /dev/sde1 started
Options: generate thumbs: yes extract metadata:yes, discard symlinks: no, hashing: no
An unhandled exeception occured (Array index is out of range)
All database changes have been rolled back
Scanning failed. Reason: an unhandled exception occured (Array index is out of range)

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Thanks for your bugreport.
Please start basenji from a terminal, rerun the scan and post the console output here.
This will give me a better idea of what has happened.

Revision history for this message
madbanjoman (jt-chiodifamily) wrote : Re: [Bug 615908] Re: crash on volume scan

(moon)$ basenji
[Basenji DBG]: Basenji 0.7.0.0
[Basenji DBG]: Used runtime: /usr/lib/mono/2.0
Xlib: extension "RANDR" missing on display ":9.0".

(Basenji:17181): Gtk-WARNING **: Attempting to read the recently used
resources file at `/home/chiodi/.recently-used.xbel', but the parser failed:
Error reading file '/home/chiodi/.recently-used.xbel': Is a directory.

(Basenji:17181): Gtk-WARNING **: Attempting to store changes into
`/home/chiodi/.recently-used.xbel', but failed: Failed to rename file
'/home/chiodi/.recently-used.xbel.FIGRHV' to
'/home/chiodi/.recently-used.xbel': g_rename() failed: Is a directory

** (Basenji:17181): WARNING **: FindNextFile: Bad encoding for
'/export/music/flac/Chopin/Chopin - Nocturnes_ Romantic Piano Etudes &
Preludes (VA) (3 CD)/202. Polonaise for piano No. 6 in A flat major
('H\xe9roique'), Op. 53, CT. 155.flac'
Consider using MONO_EXTERNAL_ENCODINGS

** (Basenji:17181): WARNING **: FindNextFile: Bad encoding for
'/export/music/flac/Chopin/Chopin - Nocturnes_ Romantic Piano Etudes &
Preludes (VA) (3 CD)/202. Polonaise for piano No. 6 in A flat major
('H\xe9roique'), Op. 53, CT. 155.flac'
Consider using MONO_EXTERNAL_ENCODINGS

[VolumeDB DBG]: Details for exception in ScanningThread():
System.IndexOutOfRangeException: Array index is out of range.
  at LibExtractor.Extractor.RemoveBOM (System.String s) [0x00000]
  at LibExtractor.Extractor.GetKeywordsInternal (IntPtr pKeywords)
[0x00000]
  at LibExtractor.Extractor.GetKeywords (System.String filename) [0x00000]
  at VolumeDB.VolumeScanner.FilesystemVolumeScanner.RecursiveDump
(System.String rootPath, System.IO.DirectoryInfo dir,
VolumeDB.BufferedVolumeItemWriter writer, Int64 parentID) [0x00000]

On Tue, Aug 10, 2010 at 11:43 AM, Patrick Ulbrich <<email address hidden>
> wrote:

> Thanks for your bugreport.
> Please start basenji from a terminal, rerun the scan and post the console
> output here.
> This will give me a better idea of what has happened.
>
> --
> crash on volume scan
> https://bugs.launchpad.net/bugs/615908
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Basenji: New
>
> Bug description:
> larger volume (1.3 TB) collection of mp3s and FLACs crashes around 100GB
> with following error
>
> Scanning of drive /dev/sde1 started
> Options: generate thumbs: yes extract metadata:yes, discard symlinks: no,
> hashing: no
> An unhandled exeception occured (Array index is out of range)
> All database changes have been rolled back
> Scanning failed. Reason: an unhandled exception occured (Array index is out
> of range)
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/basenji/+bug/615908/+subscribe
>

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Argh, that's an regression in the libextractor binding. I'll upload a new testing binary asap.

Revision history for this message
Patrick Ulbrich (pulb) wrote :

Please replace /usr/lib/basenji/LibExtractor.dll by the attached one and report if it fixes the problem.

Changed in basenji:
importance: Undecided → High
Revision history for this message
madbanjoman (jt-chiodifamily) wrote :

that worked.

thanks,

Jt

On Tue, Aug 10, 2010 at 1:41 PM, Patrick Ulbrich
<email address hidden>wrote:

> Please replace /usr/lib/basenji/LibExtractor.dll by the attached one and
> report if it fixes the problem.
>
>
> ** Attachment added: "LibExtractor.dll"
> http://launchpadlibrarian.net/53436644/LibExtractor.dll
>
> ** Changed in: basenji
> Importance: Undecided => High
>
> --
> crash on volume scan
> https://bugs.launchpad.net/bugs/615908
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Basenji: New
>
> Bug description:
> larger volume (1.3 TB) collection of mp3s and FLACs crashes around 100GB
> with following error
>
> Scanning of drive /dev/sde1 started
> Options: generate thumbs: yes extract metadata:yes, discard symlinks: no,
> hashing: no
> An unhandled exeception occured (Array index is out of range)
> All database changes have been rolled back
> Scanning failed. Reason: an unhandled exception occured (Array index is out
> of range)
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/basenji/+bug/615908/+subscribe
>

Patrick Ulbrich (pulb)
Changed in basenji:
assignee: nobody → Patrick Ulbrich (pulb)
Patrick Ulbrich (pulb)
Changed in basenji:
status: New → Fix Committed
Patrick Ulbrich (pulb)
Changed in basenji:
status: Fix Committed → Fix Released
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.