Forgot to include audacious-vfs.log, where you can see how malformed the VFSFile struct passed to vfs_fread is.
(gdb) run Starting program: /usr/bin/audacious [Thread debugging using libthread_db enabled] [New Thread 0x2ad2bffca660 (LWP 11180)] [New Thread 0x40800950 (LWP 11183)] amidi-plug(amidi-plug.c:amidiplug_init:97): init, read configuration amidi-plug(i_backend.c:i_backend_load:107): loading backend '/usr/lib/audacious/Input/amidi-plug/ap-alsa.so' amidi-plug(i_backend.c:i_backend_load:145): backend /usr/lib/audacious/Input/amidi-plug/ap-alsa.so (name 'alsa') successfully loaded [New Thread 0x41001950 (LWP 11184)]
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2ad2bffca660 (LWP 11180)] 0x0000000000463789 in vfs_fread (ptr=0x7ffff197cc5e, size=2, nmemb=1, file=0x2ad2bcb53f08) at vfs.c:159 159 return file->base->vfs_fread_impl(ptr, size, nmemb, file); (gdb) display file->uri 1: file->uri = (gchar *) 0x6620656c62756f64 <Address 0x6620656c62756f64 out of bounds> (gdb) display file->handle 2: file->handle = (gpointer) 0x6320726f20656572 (gdb) display file->base 3: file->base = (VFSConstructor *) 0x6f6974707572726f (gdb) display file->ref 4: file->ref = 1713905774 (gdb)

