From: Andrés G. A. <kn...@gm...> - 2013-12-21 00:20:11
|
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. |