After a little closer look, I think this bug probably belongs to
libgpod-0_0.3.2.1. The reason I say this is that I get identical stack
back-traces from Rhythmox and from the following most basic libdpod program:
#include <gpod/itdb.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
GError *error = NULL;
Itdb_iTunesDB *itdb = itdb_parse("/media/ipod", &error);
if (itdb != 0)
itdb_free(itdb);
return 0;
}
Compiled with:
gcc test.c -g -o test -l gpod -I/usr/include/gpod-1.0/ \
$(pkg-config --cflags glib-2.0)
And run under gdb:
(gdb) run
Starting program: /home/stevew/test
Program received signal SIGSEGV, Segmentation fault.
0x00002b21e86ea4b0 in strlen () from /lib/libc.so.6
(gdb) where
#0 0x00002b21e86ea4b0 in strlen () from /lib/libc.so.6
#1 0x00002b21e8edbff3 in g_strdup () from /usr/lib/libglib-2.0.so.0
#2 0x00002b21e856fe0e in itdb_device_debug () from /usr/lib/libgpod.so.0
#3 0x00002b21e8b665c0 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#4 0x00002b21e8b66c4f in g_object_new_valist ()
from /usr/lib/libgobject-2.0.so.0
#5 0x00002b21e8b66df1 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#6 0x00002b21e856ebbf in itdb_device_new () from /usr/lib/libgpod.so.0
#7 0x00002b21e8566bd6 in itdb_set_mountpoint () from /usr/lib/libgpod.so.0
#8 0x00002b21e8568268 in itdb_parse () from /usr/lib/libgpod.so.0
#9 0x00000000004005ed in main (argc=1, argv=0x7fffff8bee68) at test.c:7
(gdb)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]