! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfmedia hangs when trying to jump to a file
Status:
RESOLVED: WONTFIX
Product:
Xfmedia
Component:
playlist

Comments

Description Aries-Belgium 2006-11-08 14:48:35 CET
I have a playlist with 5000+ songs in it and whenever I try to jump to a song (by pressing J) and I start typing, xfmedia will do it until I typ a space then it just freezes.
Comment 1 Aries-Belgium 2006-11-09 18:42:09 CET
I've tested it again and it doesn't seem to be the jumping to a file that freezes it. Whenever it can't read the duration of an mp3, it freezes and one core of my dualcore processor tops at 100%. So it think it's the same problem as bug #745
Comment 2 Aries-Belgium 2006-11-09 22:35:16 CET
This is a backtrace when it freezes:

#0  0x00002b87ef04046b in read () from /lib/libc.so.6
#1  0x00002b87eeff7372 in _IO_file_read () from /lib/libc.so.6
#2  0x00002b87eeff666b in _IO_file_underflow () from /lib/libc.so.6
#3  0x00002b87eeff7792 in _IO_file_xsputn () from /lib/libc.so.6
#4  0x00002b87eefed031 in fread () from /lib/libc.so.6
#5  0x00002b87eeb78684 in TagLib::File::readBlock () from /usr/lib/libtag.so.1
#6  0x00002b87eeb57207 in TagLib::MPEG::File::nextFrameOffset ()
   from /usr/lib/libtag.so.1
#7  0x00002b87eeb57c2e in TagLib::MPEG::Properties::read ()
   from /usr/lib/libtag.so.1
#8  0x00002b87eeb5808e in TagLib::MPEG::Properties::Properties ()
   from /usr/lib/libtag.so.1
#9  0x00002b87eeb56a9b in TagLib::MPEG::File::read () from /usr/lib/libtag.so.1
#10 0x00002b87eeb56e15 in TagLib::MPEG::File::File () from /usr/lib/libtag.so.1
#11 0x00002b87eeb5550f in TagLib::FileRef::create () from /usr/lib/libtag.so.1
#12 0x000000000043533e in ?? ()
#13 0x00000000004157e4 in ?? ()
#14 0x000000000041af28 in ?? ()
#15 0x00002b87ee8c00e6 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#16 0x00002b87ee8c1b08 in g_main_context_acquire ()
   from /usr/lib/libglib-2.0.so.0
#17 0x00002b87ee8c1e6a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#18 0x00002b87ec29bc51 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x0000000000415070 in ?? ()
#20 0x00002b87eefae136 in __libc_start_main () from /lib/libc.so.6
#21 0x00000000004129b9 in ?? ()
#22 0x00007fffbf1277b8 in ?? ()
#23 0x000000000000001c in ?? ()
#24 0x0000000000000001 in ?? ()
#25 0x00007fffbf128932 in ?? ()
#26 0x0000000000000000 in ?? ()
Comment 3 Brian J. Tarricone (not reading bugmail) 2006-11-09 22:59:24 CET
Actually I doubt this has anything to do with bug #745.

What version of taglib do you have?  Maybe it's a bug in taglib, though taglib doesn't have anything to do with getting the duration of a file.

Did you leave it alone for a while to see if it would recover?  It's possible that xfmedia is queueing a lot of requests to fetch metadata about different files, and it's just taking a long time.  I thought I had limited that in some way, though I don't really remember.
Comment 4 Aries-Belgium 2006-11-09 23:05:12 CET
I left it running for 15 minutes.
I'm using taglib version 1.4

But I don't think it's really a bug. Because sometimes it can't read the time and it displays ??:?? and it keeps running fine. I think the mp3's may have been corrupted however xmms can play them just fine.
Comment 5 Brian J. Tarricone (not reading bugmail) 2006-11-09 23:10:45 CET
It should at least be able to estimate the time based on the avg bitrate and file size.  Not sure if xine-lib tries to do that though.  Does the freeze ever happen when you don't have any of these 'broken' mp3 files in the playlist?
Comment 6 Aries-Belgium 2006-11-09 23:23:55 CET
I deleted the broken mp3's that I found so far and now it's running fine but it's possible there are still left in the playlist. Should I attach an mp3 where I had problems with? However I think that's not 100% legal.
Comment 7 Brian J. Tarricone (not reading bugmail) 2006-11-09 23:29:56 CET
I doubt it's legal at all, but it could potentially be very helpful.  If it's of a reasonable size (say, less than 10MB), feel free to email it to me if you don't mind.
Comment 8 Brian J. Tarricone (not reading bugmail) 2006-11-27 00:51:43 CET
I'm getting the same problem you're getting, but it's not something I can fix.  Perhaps report this to the taglib developers?  Otherwise... fix your broken files ^_~.

Bug #2547

Reported by:
Aries-Belgium
Reported on: 2006-11-08
Last modified on: 2006-11-27

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
0.10.0svn

Attachments

Additional information