reassign 365379 python-musicbrainz retitle 365379 musicbrainz.py assumes sizeof(int) == sizeof(void*) thanks
On Sat, 2006-04-29 at 19:25 +0200, Falk Hueffner wrote: > Joe Wreschnig <[EMAIL PROTECTED]> writes: > > > On Sat, 2006-04-29 at 18:38 +0200, Falk Hueffner wrote: > >> when I start exfalso on Alpha, select some random mp3, and choose > >> "MusicBrainz lookup", I get: > > ... snipped ... > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 6426)] > 0x0000020001deb928 in mb_UseUTF8 () from /usr/lib/libmusicbrainz.so.4 > (gdb) bt > #0 0x0000020001deb928 in mb_UseUTF8 () from /usr/lib/libmusicbrainz.so.4 From musicbrainz.py: class mb: mbdll.mb_New.argtypes = [] mbdll.mb_UseUTF8.argtypes = [c_int, c_int] But the first argument to mb_UseUTF8 is a pointer, which in ctypes means you need to use c_void_p. This error continues throughout the file, and probably some other argument types are incorrect in similar ways. -- Joe Wreschnig <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part