[trunk] segfault when tag reading
#1
Sad 
Hi all,

before i open an ticket:

i am using r29203. everytime i am browsing an musicfolder with some mp3s XBMC crashes with an segfault. there are some issues with libid3tag, i think. If i disable the tag reader i can browse the music files, but the XBMC crashes if i want play an mp3 file. because i dont use mp3s much time i dont know exactly with which revision i had his problem the first time. but i think around r27000 it has worked.

Code:
#0  0xb5fb01f2 in _IO_new_fsetpos64 (fp=0x8b6d2a4, posp=0xbfe584ec)
    at iofsetpos64.c:41
#1  0xb498c17c in search_tags (file=0xb4f66428) at file.c:270
#2  0xb498c5a0 in new_file (iofile=0x8b6d2a4, mode=ID3_FILE_MODE_READONLY,
    path=0xaf7e914 "/storage/stephan/Desktop/extract/Musik/Die Doofen - Melodien f\201r Melonen/01 Doofen, Die - Vollbart.mp3") at file.c:410
#3  0xb498c691 in id3_file_open (
    path=0xaf7e914 "/storage/stephan/Desktop/extract/Musik/Die Doofen - Melodien f\201r Melonen/01 Doofen, Die - Vollbart.mp3", mode=ID3_FILE_MODE_READONLY)
    at file.c:442
#4  0x08580ec5 in DllLibID3Tag::id3_file_open (this=0xbfe585d0, strFile=...)
    at DllLibid3tag.h:125
#5  MUSIC_INFO::CID3Tag::Read (this=0xbfe585d0, strFile=...) at Id3Tag.cpp:82
#6  0x083bc5fa in MUSIC_INFO::CMusicInfoTagLoaderMP3::ReadSeekAndReplayGainInfo (this=0xbfe58940, strFileName=...) at MusicInfoTagLoaderMP3.cpp:165
#7  0x085cc337 in MP3Codec::Init (this=0xb3df59b8, strFile=...,
    filecache=262144) at MP3codec.cpp:118

Logfile with enabled tag reading:
http://sources.openelec.tv/tmp/logfile/x...owsing.log

Logfile with disabled tag reading (crash on open the mp3 file):
http://sources.openelec.tv/tmp/logfile/x...eading.log

complete GDB backtrace:
http://sources.openelec.tv/tmp/logfile/x..._music.gdb

thanks for helping
greetings, Stephan

Image

Image
Reply
#2
Please open a trac ticket with that info, or it will surely be lost. Ideally attach a (small) mp3 that exhibits the problem, thus making it easy for a dev to reproduce and fix.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote:Please open a trac ticket with that info, or it will surely be lost. Ideally attach a (small) mp3 that exhibits the problem, thus making it easy for a dev to reproduce and fix.

Cheers,
Jonathan

done http://trac.xbmc.org/ticket/9130
greetings, Stephan

Image

Image
Reply

Logout Mark Read Team Forum Stats Members Help
[trunk] segfault when tag reading0