Crash due to missing MHOD_ID_PATH
Scott Wood <[email protected]> Wed, 20 Nov 2013 23:00:56 -0600
| Newsgroups | gmane.comp.ipod.gtkpod |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk