gmusicbrowser Forum

Main board => Questions => Topic started by: DarkSkyGhost on April 12, 2010, 20:32:09

Title: ReplayGain scan freezes
Post by: DarkSkyGhost on April 12, 2010, 20:32:09
I have no idea whether you are aware of this, but:

when I scan any song with some weird characters in it's file name, scanning just freezes. Here's from terminal:

analysing [33447] /media/2music/#Lossless/Ultimae/Hol Baumann/[2008] Human/04. Benares (Vârânaçî edit).flac
ReplayGain analysis error : Resource not found. at /home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 483.

ReplayGain analysis error : Resource not found. at /home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 483.

Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.


Of course, after changing file name to usual characters, it scans normally.

And, a small suggestion:

would it be possible for a window to pop up with basic info about gains after ReplayGain scanning is complete?

Even more (I'll stop soon, I promise):

Is it possible to scan more than one album at a time? Everytime I choose two or more albums and select "scan using tag-defined album", nothing happens and I get this error:

deprecated SortList ARRAY(0x7f7055edae18) album
Songs::SortList(ARRAY(0x7f7055edae18) album)
sort (album) : 0 s
sort (album) : 0 s
*** unhandled exception in callback:
***   Undefined subroutine &AA::HasName called at /home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 454.
***  ignoring at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 1162.


(I'm using the latest snapshot from git.)
Title: Re: ReplayGain scan freezes
Post by: Quentin Sculo on April 14, 2010, 22:02:01
thanks for reporting this, I fixed the the 2 errors in git.
About a report when it's finished, I'll think about it, note that you can display columns with these info in v1.1.x

Now a question, does it ever crashes when you do these replaygain analysis ?
For me, it crashes almost everytime and has been that way for sometime. :(
The funny thing is that I don't remember it crashing when I first implemented it.
So I would be interested to know if it doesn't crash for some people.

In case it crashes, an alternative for writing the replaygain informations in your files is using command-line programs like mp3gain or vorbisgain.
Title: Re: ReplayGain scan freezes
Post by: DarkSkyGhost on April 15, 2010, 15:23:33
No idea whether it's working.

Updated to the newest snapshot.

I chose one album (got the same with two albums) and selected every type of scanning. Every time got this:

analysing [848] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/01 - A Child is Born (solo).flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [855] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/02 - Blue in Green.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [850] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/03 - Chicken Feathers.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [849] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/04 - Easy Living.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [847] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/05 - Spain (solo).flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [852] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/06 - For Heaven's Sake.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [851] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/07 - Body & Soul.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [854] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/08 - In Your Own Sweet Way.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [856] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/09 - 'Round Midnight.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [845] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/10 - Doxy.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [853] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/11 - Misty (solo).flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [846] /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/12 - La Fiesta.flac
Tag::Write(848,[replaygain_reference_level 89 replaygain_track_gain 0.0899999999999892 replaygain_track_peak 0.9608154296875 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(855,[replaygain_reference_level 89 replaygain_track_gain 0.239999999999995 replaygain_track_peak 0.95111083984375 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(850,[replaygain_reference_level 89 replaygain_track_gain 0.649999999999991 replaygain_track_peak 0.783966064453125 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(849,[replaygain_reference_level 89 replaygain_track_gain 0.809999999999988 replaygain_track_peak 0.964111328125 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(847,[replaygain_reference_level 89 replaygain_track_gain -0.740000000000009 replaygain_track_peak 0.987701416015625 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(852,[replaygain_reference_level 89 replaygain_track_gain 0.669999999999987 replaygain_track_peak 0.762237548828125 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(851,[replaygain_reference_level 89 replaygain_track_gain 0.539999999999992 replaygain_track_peak 0.9393310546875 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(854,[replaygain_reference_level 89 replaygain_track_gain 0.329999999999998 replaygain_track_peak 0.89727783203125 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(856,[replaygain_reference_level 89 replaygain_track_gain 1.07999999999999 replaygain_track_peak 0.9410400390625 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(845,[replaygain_reference_level 89 replaygain_track_gain -0.180000000000007 replaygain_track_peak 0.861175537109375 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(853,[replaygain_reference_level 89 replaygain_track_gain 2.46999999999999 replaygain_track_peak 0.89971923828125 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))
Tag::Write(846,[replaygain_reference_level 89 replaygain_track_gain 0.129999999999995 replaygain_track_peak 0.99993896484375 replaygain_album_gain 0.399999999999991 replaygain_album_peak 0.99993896484375],CODE(0x42c9540))


The thing is, when I look at the track info (both through those two new columns and file properties), it appears that no info about gain is written there. Weird, as I guess that "Tag::Write" should have written gain info.

When I look into the info of an old track which already had gain, player shows info about gain.

When I chose to scan an album with gain info, got this (maybe it will be helpful):

playing /media/2music/#Lossless/Egidijus Buozis with Valerijus Ramoska - Solos & Duos [2000]/05 - Spain (solo).flac
Changed fields : replaygain_album_gain replaygain_track_peak modif replaygain_album_peak replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1146.
Songs::Changed : IDs=847 fields=replaygain_track_peak replaygain_album_gain replaygain_track_gain modif replaygain_album_peak
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1226.
analysing [1183] /media/2music/#Lossless/Dave Brubeck Quartet - Back Home/01 - Dave Brubeck Quartet - Cassandra.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [1187] /media/2music/#Lossless/Dave Brubeck Quartet - Back Home/02 - Dave Brubeck Quartet - The Masquerade Is Over.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [1186] /media/2music/#Lossless/Dave Brubeck Quartet - Back Home/03 - Dave Brubeck Quartet - Hometown Blues.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [1188] /media/2music/#Lossless/Dave Brubeck Quartet - Back Home/04 - Dave Brubeck Quartet - Yesterdays.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [1184] /media/2music/#Lossless/Dave Brubeck Quartet - Back Home/05 - Dave Brubeck Quartet - Two-Part Contention.flac
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [1185] /media/2music/#Lossless/Dave Brubeck Quartet - Back Home/06 - Dave Brubeck Quartet - Caravan.flac
Tag::Write(1183,[replaygain_reference_level 89 replaygain_track_gain -1.03 replaygain_track_peak 0.9017333984375 replaygain_album_gain -0.200000000000003 replaygain_album_peak 0.99871826171875],CODE(0x3fceb20))
Tag::Write(1187,[replaygain_reference_level 89 replaygain_track_gain 5.00999999999999 replaygain_track_peak 0.526519775390625 replaygain_album_gain -0.200000000000003 replaygain_album_peak 0.99871826171875],CODE(0x3fceb20))
Tag::Write(1186,[replaygain_reference_level 89 replaygain_track_gain -1.13000000000001 replaygain_track_peak 0.99871826171875 replaygain_album_gain -0.200000000000003 replaygain_album_peak 0.99871826171875],CODE(0x3fceb20))
Tag::Write(1188,[replaygain_reference_level 89 replaygain_track_gain 2.41 replaygain_track_peak 0.745697021484375 replaygain_album_gain -0.200000000000003 replaygain_album_peak 0.99871826171875],CODE(0x3fceb20))
Tag::Write(1184,[replaygain_reference_level 89 replaygain_track_gain 0.159999999999997 replaygain_track_peak 0.8175048828125 replaygain_album_gain -0.200000000000003 replaygain_album_peak 0.99871826171875],CODE(0x3fceb20))
Tag::Write(1185,[replaygain_reference_level 89 replaygain_track_gain -1.39 replaygain_track_peak 0.957672119140625 replaygain_album_gain -0.200000000000003 replaygain_album_peak 0.99871826171875],CODE(0x3fceb20))


So... all that scanning that I did before was just an illusion...
Title: Re: ReplayGain scan freezes
Post by: Quentin Sculo on April 15, 2010, 20:04:37
The gain info should have been written to the file, it's just that gmb didn't re-read the tags automatically (in v1.0.x the gain tags were never read by gmb, only by gstreamer).
This should be fixed in git.
Title: Re: ReplayGain scan freezes
Post by: DarkSkyGhost on April 16, 2010, 03:55:47
Heh. Updated to the latest snapshot and player won't start anymore:

print() on closed filehandle $fifofh at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 280.
GStreamer::Interfaces perl module not found -> visuals not available
Reading saved tags in /home/darkskyghost/.config/gmusicbrowser/gmbrc ...
@Fields=album_shuffle replaygain_album_gain skipcount file grouping compilation replaygain_track_peak modif lastskip replaygain_reference_level genre label title replaygain_album_peak album_artist samprate filetype bitrate missing added channel title_or_file size rating album_artist_raw lastplay shuffle playcount replaygain_track_gain extension track version path length artist album comment disc year barefilename fullfilename_raw artists first_artist album_picture album_years version_or_empty uri artist_picture rating_picture missingkey fullfilename at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 947.
Use of uninitialized value within @codes in substitution iterator at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 876.
adding update code for artists at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1066.
Reading saved tags in /home/darkskyghost/.config/gmusicbrowser/gmbrc ... done
These commands were not found : ogg123, flac123
=> these file types won't be played by the 123 output : oga, flac
SongArray_changed proxychange,
SongArray_changed replace,
SongArray_changed proxychange,
SongArray_changed replace,
SongArray_changed proxychange,
SongArray_changed replace,
SongArray_changed proxychange,
SongArray_changed replace,
SongArray_changed proxychange,
Undefined subroutine &Play_GST::set_options called at /home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 242.
Title: Re: ReplayGain scan freezes
Post by: Quentin Sculo on April 16, 2010, 16:26:41
sorry, there was a small mistake in the commit, it is fixed now.
Title: Re: ReplayGain scan freezes
Post by: DarkSkyGhost on April 18, 2010, 20:35:02
Everything works perfectly now!

GMB gets better and better in days.
Title: Re: ReplayGain scan freezes
Post by: DarkSkyGhost on April 19, 2010, 15:11:06
Okay, got it when scanning more than ten albums at a time:

playing /media/2music/#Checked/#Lossless/Boards Of Canada/[2000] In A Beautiful Place Out In The Country/01. Kid For Today.flac
deprecated SortList ARRAY(0x80cbf10) album
Songs::SortList(ARRAY(0x80cbf10) album)
sort (album) : 0 s
sort (album) : 0 s
analysing [10434] /media/2music/#Lossy/Boards Of Canada/[1989] Acid Memories/01 - Duffy.mp3
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [10435] /media/2music/#Lossy/Boards Of Canada/[1989] Acid Memories/02 - Growing Hand.mp3
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [10430] /media/2music/#Lossy/Boards Of Canada/[1989] Acid Memories/03 - Petina.mp3
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [10433] /media/2music/#Lossy/Boards Of Canada/[1989] Acid Memories/04 - Stry Craty Bya.mp3
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [10431] /media/2music/#Lossy/Boards Of Canada/[1989] Acid Memories/05 - Helter Skater.mp3
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [10432] /media/2music/#Lossy/Boards Of Canada/[1989] Acid Memories/06 - Echo The Sun.mp3
Songs::Set(10434 ARRAY(0x5c47f48) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [19240] /media/2music/#Checked/#Lossless/Boards Of Canada/[1998] Aquarius (7'')/A1. Aquarius.flac
Tag::Write(10434,[replaygain_track_peak 0.287564158439636 replaygain_reference_level 89 replaygain_album_peak 1 replaygain_track_gain 3.52],CODE(0x6e25ed8))
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
replacing old file with new file.
ID=10434 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Songs::Set(10435 ARRAY(0x5c47f48) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Tag::Write(10435,[replaygain_track_peak 1 replaygain_reference_level 89 replaygain_album_peak 1 replaygain_track_gain -4.62],CODE(0x58c0c08))
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
replacing old file with new file.
ID=10435 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Songs::Set(10430 ARRAY(0x80cd7f8) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Tag::Write(10430,[replaygain_track_peak 1 replaygain_reference_level 89 replaygain_album_peak 1 replaygain_track_gain -1.26000000000001],CODE(0x58e8508))
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
replacing old file with new file.
ID=10430 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Songs::Set(10433 ARRAY(0x5e339d0) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Tag::Write(10433,[replaygain_track_peak 1 replaygain_reference_level 89 replaygain_album_peak 1 replaygain_track_gain -7.05000000000001],CODE(0x80c9cd0))
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
replacing old file with new file.
ID=10433 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Songs::Set(10431 ARRAY(0x4b580c8) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Tag::Write(10431,[replaygain_track_peak 1 replaygain_reference_level 89 replaygain_album_peak 1 replaygain_track_gain -5.49000000000001],CODE(0x80c9ac8))
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
replacing old file with new file.
ID=10431 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Songs::Set(10432 ARRAY(0x80cadc0) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Tag::Write(10432,[replaygain_track_peak 1 replaygain_reference_level 89 replaygain_album_peak 1 replaygain_track_gain 0.189999999999998],CODE(0x80cbe98))
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
Use of uninitialized value in string ne at /home/darkskyghost/gmusicbrowser/gmusicbrowser_tags.pm line 205.
replacing old file with new file.
ID=10432 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Changed fields : replaygain_track_peak modif replaygain_album_peak size replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=10434 fields=replaygain_track_peak replaygain_track_gain modif replaygain_album_peak size
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Changed fields : replaygain_track_peak modif replaygain_album_peak size replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=10432 fields=replaygain_track_peak replaygain_track_gain modif replaygain_album_peak size
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Changed fields : replaygain_track_peak modif replaygain_album_peak size replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=10431 fields=replaygain_track_peak replaygain_track_gain modif replaygain_album_peak size
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Changed fields : replaygain_track_peak modif replaygain_album_peak size replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=10433 fields=replaygain_track_peak replaygain_track_gain modif replaygain_album_peak size
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Changed fields : replaygain_track_peak modif replaygain_album_peak size replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=10430 fields=replaygain_track_peak replaygain_track_gain modif replaygain_album_peak size
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Changed fields : replaygain_track_peak modif replaygain_album_peak size replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=10435 fields=replaygain_track_peak replaygain_track_gain modif replaygain_album_peak size
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [19239] /media/2music/#Checked/#Lossless/Boards Of Canada/[1998] Aquarius (7'')/B1. Chinook.flac
Songs::Set(19240 ARRAY(0x80ca438) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [30740] /media/2music/#Lossless/#To keep, but to organize first/Back To Mine/Volume 21 — Adam Freeland (25 July, 2005)/16. Zoetrope.flac
Tag::Write(19240,[replaygain_album_gain -5.96000000000001 replaygain_track_peak 0.804901123046875 replaygain_reference_level 89 replaygain_album_peak 0.804901123046875 replaygain_track_gain -5.45],CODE(0x5bc0900))
ID=19240 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Songs::Set(19239 ARRAY(0x80ca438) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Changed fields : replaygain_album_gain replaygain_track_peak modif replaygain_album_peak replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=19240 fields=replaygain_track_peak replaygain_album_gain replaygain_track_gain modif replaygain_album_peak
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Tag::Write(19239,[replaygain_album_gain -5.96000000000001 replaygain_track_peak 0.7926025390625 replaygain_reference_level 89 replaygain_album_peak 0.804901123046875 replaygain_track_gain -6.47000000000001],CODE(0x5d7ce60))
ID=19239 towrite :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1216.
Changed fields : replaygain_album_gain replaygain_track_peak modif replaygain_album_peak replaygain_track_gain at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1152.
Songs::Changed : IDs=19239 fields=replaygain_track_peak replaygain_album_gain replaygain_track_gain modif replaygain_album_peak
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1243.
Songs::Set(30740 ARRAY(0x6e25db8) abortmsg Abort ReplayGain analysis error_prefix Error writing replaygain tags :
abortcb CODE(0x3c72190) callback_finish CODE(0x3c71f50)) called from : GMB::GST_ReplayGain:/home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm:656
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [10389] /media/2music/#Lossy/Boards Of Canada/[1996] Boc Maxima/01 - Wildlife Analysis.mp3
Segmentation fault


Then got this when restarted player and started scanning again (player was scanning library, crashed instantly):
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Nine Inch Nails/[2005] With Teeth (Halo 19)/Promos/Only/Remixes)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Nine Inch Nails/[2005] With Teeth (Halo 19)/Promos/Only/Radio Edit)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Nine Inch Nails/[2007] Year Zero (Halo 24)/Promos/Capital G/UK)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Nine Inch Nails/[2007] Year Zero (Halo 24)/Promos/Capital G/Vinyl)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Nine Inch Nails/[2007] Year Zero (Halo 24)/Promos/Capital G/US)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Nine Inch Nails/[1999] The Fragile (Halo 14)/Promos/We're In This Together/INT5P-6738 (Promo))
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Nine Inch Nails/[1999] The Fragile (Halo 14)/Promos/We're In This Together/INT5P-6687 (Promo))
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Manowar/Live/2007- 2CD Gods Of War  Live/data/video)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Black Sabbath/Black Sabbath & Ozzy Ozbourne [Japan paper sleeve collection, Remastered 2007] - 20 Albums/2002 - Live At Budokan (Japan)/data/XTRAS)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Black Sabbath/Black Sabbath & Ozzy Ozbourne [Japan paper sleeve collection, Remastered 2007] - 20 Albums/2002 - Live At Budokan (Japan)/data/WIN_QT4)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Black Sabbath/Black Sabbath & Ozzy Ozbourne [Japan paper sleeve collection, Remastered 2007] - 20 Albums/2002 - Live At Budokan (Japan)/data/PICTURES)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Black Sabbath/Black Sabbath & Ozzy Ozbourne [Japan paper sleeve collection, Remastered 2007] - 20 Albums/2002 - Live At Budokan (Japan)/data/CDPLUS)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Black Sabbath/Black Sabbath & Ozzy Ozbourne [Japan paper sleeve collection, Remastered 2007] - 20 Albums/2002 - Live At Budokan (Japan)/data/MEDIA)
ScanFolder(/media/2music/#Lossless/#To keep, but to organize first/Black Sabbath/Black Sabbath & Ozzy Ozbourne [Japan paper sleeve collection, Remastered 2007] - 20 Albums/2002 - Live At Budokan (Japan)/data/MEDIA/MOVIES)
IDs_Changed
deprecated SortList ARRAY(0x20063e0) album
Songs::SortList(ARRAY(0x20063e0) album)
sort (album) : 0 s
sort (album) : 0 s
Use of uninitialized value in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser.pl line 488.
analysing [10434] /media/2music/#Lossy/Boards Of Canada/[1989] Acid Memories/01 - Duffy.mp3
       (in cleanup) panic: leave_scope inconsistency at /home/darkskyghost/gmusicbrowser/gmusicbrowser_gstreamer-0.10.pm line 562.
Attempt to free unreferenced scalar: SV 0x5e3a2f0, Perl interpreter: 0x1007010 at /home/darkskyghost/gmusicbrowser/mp3header.pm line 530.
Out of memory!
Argument "*main::_" isn't numeric in subroutine entry at /home/darkskyghost/gmusicbrowser/gmusicbrowser_list.pm line 740.
Attempt to free unreferenced scalar: SV 0x1fc1060, Perl interpreter: 0x1007010 during global destruction.
Attempt to free unreferenced scalar: SV 0x7f210e8ac620, Perl interpreter: 0x1007010 during global destruction.
Attempt to free unreferenced scalar: SV 0x7f210e8ac620, Perl interpreter: 0x1007010 during global destruction.
       (in cleanup) panic: del_backref at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1990 during global destruction.



...out of memory? Can something be wrong with my hardware?
Title: Re: ReplayGain scan freezes
Post by: Quentin Sculo on April 21, 2010, 22:08:22
It's simply the kind of crashes I was talking about :(, it probably comes from the perl gstreamer bindings, I'll try to make them fix it.
In the meantime, use mp3gain or vorbisgain.