From: Scott W. <sc...@bu...> - 2013-11-21 05:48:25
|
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 |