libgpod causes segfault on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgpod (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I'm getting a segfault when starting gtkpod on my machine:
[jk@pokey ~]$ gtkpod
libhal.c 2213 : LibHalContext *ctx is NULL
libhal.c 2568 : LibHalContext *ctx is NULL
Segmentation fault
[jk@pokey ~]$
I believe this may be specific to powerpc.
After a little googling, I've found that this is fixed after the libgpod 0.3.2 release (all hal-related code has since been removed: http://
Looks like the developer has acknowledged this here: http://
Details:
Architecture: powerpc
Ubuntu version: Dapper beta, as of 20/04/06
libgpod version: 0.3.2-0ubuntu1
gtkpod version: 0.99.2-1ubuntu1
Additional details:
from valgrinding gtkpod, I see a null pointer dereference:
Invalid read of size 4
at 0xF407DB0: (within /usr/lib/
by 0xF47C8B4: g_object_newv (in /usr/lib/
by 0xF47CF8C: g_object_new_valist (in /usr/lib/
by 0xF47D158: g_object_new (in /usr/lib/
by 0xF4067B0: itdb_device_new (in /usr/lib/
by 0xF3FC3FC: itdb_set_mountpoint (in /usr/lib/
by 0x1002D744: init_data (in /usr/bin/gtkpod)
by 0x10044178: main (in /usr/bin/gtkpod)
Address 0x0 is not stack'd, malloc'd or (recently) free'd
Cheers!
Jeremy
I can confirm this on daper x86 with gtkpod 0.99.2-1ubuntu1 and libgpod 0.3.2-0ubuntu1. It doesn't really segfault instantly here, only eventually. I do get I/O errors however, that are likely caused by this problem.
I suggest updating libgpod to version 0.3.3 (available here: http:// www.gtkpod. org/stuff/ libgpod- 0.3.3.tar. gz) as suggested by the gtkpod authors themselves.
Also worth mentioning: syncing gtkpod with debian (they're at version 0.99.4-blabla won't resolve the problem.