[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglib-devel
Subject:    Tag Lib version 1.6.3 stack size requirements
From:       manthena manoj <manojmanthena () gmail ! com>
Date:       2010-11-03 13:43:43
Message-ID: AANLkTikSxWMRJEGa3uO_SvWw4imfCWh=JRJrWnDW7yK4 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi All,

Please help me out to solve this issue.

In our system, Tag lib is executed in a thread whose stack size is 3KB. When
i try to parse the TAG of one particular MP3 song, TAG parsing is fine but
the system crashes bcoz of some other thread going for a toss ( I guess
memory corruption).
The details of the song as seen form iTunes:


Format:             MPEG-1, Layer 3
Size    :             5.6 MB
Channnels :       joint stereo
Bit rate :           197kbps (VBR)
ID3 Tag:            v2.3
Encoded with :   LAME3.97

 TAG info is


Name            : The Show
Artist             : Lenka
Album           :  Lenka
Year              :  2008
Track number : 1 of 11
Genre            : Pop

The same song when parsed after increasing the stack size of the thread to
6K is fine.

So from this, please help me in deciding the max stack size the thread would
consume.

Thanks in advance...  :)


-- 
Regards...
Manoj Manthena.

[Attachment #5 (text/html)]

<div>Hi All,</div>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<div>Please help me out to solve this issue.</div>
<div> </div>
<div>In our system, Tag lib is executed in a thread whose stack size is 3KB. When i try to parse the TAG \
of one particular MP3 song, TAG parsing is fine but the system crashes bcoz of some other thread going \
for a toss ( I guess memory corruption).</div>

<div>The details of the song as seen form iTunes:</div>
<div> </div>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<div>Format:             MPEG-1, Layer 3</div>
<div>Size    :             5.6 MB</div>
<div>Channnels :       joint stereo</div>
<div>Bit rate :           197kbps (VBR)</div>
<div>ID3 Tag:            v2.3</div>
<div>Encoded with :   LAME3.97</div></blockquote>
<div> TAG info is</div>
<div> </div>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<div>Name            : The Show</div>
<div>Artist             : Lenka</div>
<div>Album           :  Lenka</div>
<div>Year              :  2008</div>
<div>Track number : 1 of 11</div>
<div>Genre            : Pop</div></blockquote>
<div>The same song when parsed after increasing the stack size of the thread to 6K is fine.</div>
<div> </div>
<div>So from this, please help me in deciding the max stack size the thread would consume.</div>
<div> </div>
<div>Thanks in advance...  :)</div>
<div> </div></blockquote>
<div>-- </div>
<div>Regards...</div>
<div>Manoj Manthena.</div>
<div> </div>
<div> </div>



_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic