Re: Crash due to missing MHOD_ID_PATH

"AndrĂ©s G. Aragoneses" <[email protected]> Sat, 21 Dec 2013 01:19:50 +0100
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <[email protected]>
On 21/11/13 06:00, Scott Wood wrote:
> For quite a while now, gtkpod has crashed when trying to add files to my
> iPod (80GB video).  I finally made time to debug it (using the latest git
> trees), and traced it to a NULL pointer dereference in write_rths().  path
> was NULL, due to track->ipod_path being NULL.  This was due to one of the
> tracks being duplicated, with the duplicate entry having no MHOD_ID_PATH. 
> 
> Is there any known bug in libgpod (current or former versions) that would
> explain the database getting into this state?  I hacked up the code enough
> to be able to delete the bad file and continue, but is there anything that
> could be done to make libgpod handle such corruption more gracefully?
> 
> -Scott

FWIW I implemented removal of tracks with null paths in Banshee, so you
wouldn't have had this problem if you used this other player.



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk