catharsis / spotifile

FUSE file system for Spotify
BSD 3-Clause "New" or "Revised" License
144 stars 7 forks source link

Segfault when populating xspf #48

Open catharsis opened 8 years ago

catharsis commented 8 years ago

Leaving this here until I have time to look at it closer. Mar 15 10:02:19 anton-t430s kernel: spotifile[21788]: segfault at 28 ip 00007fc73146256d sp 00007fc72dfd2b90 error 4 in libspotify.so.12.1.51[7fc7312c9000+25c0 Mar 15 10:02:19 anton-t430s systemd[1]: Created slice system-systemd\x2dcoredump.slice. Mar 15 10:02:19 anton-t430s systemd[1]: Started Process Core Dump (PID 1751/UID 0). Mar 15 10:02:19 anton-t430s systemd-coredump[1752]: Process 961 (spotifile) of user 1000 dumped core.

                                                Stack trace of thread 21788:
                                                #0  0x00007fc73146256d sp_album_name (libspotify.so.12)
                                                #1  0x00000000004094d6 spotify_album_name (spotifile)
                                                #2  0x0000000000406738 populate_xspf_from_sp_track (spotifile)
                                                #3  0x00007fc730d8a8d4 fuse_fs_read_buf (libfuse.so.2)
                                                #4  0x00007fc730d8aa92 n/a (libfuse.so.2)
                                                #5  0x00007fc730d9346e n/a (libfuse.so.2)
                                                #6  0x00007fc730d93f69 n/a (libfuse.so.2)
                                                #7  0x00007fc730d90728 n/a (libfuse.so.2)
                                                #8  0x00007fc730b67424 start_thread (libpthread.so.0)
                                                #9  0x00007fc7308a6cbd __clone (libc.so.6)

                                                Stack trace of thread 961:
                                                #0  0x00007fc730b6f427 do_futex_wait.constprop.1 (libpthread.so.0)
                                                #1  0x00007fc730b6f4d4 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                #2  0x00007fc730d90918 fuse_session_loop_mt (libfuse.so.2)
                                                #3  0x00007fc730d960b7 fuse_loop_mt (libfuse.so.2)
                                                #4  0x00007fc730d98ccd n/a (libfuse.so.2)
                                                #5  0x0000000000403fb3 main (spotifile)
                                                #6  0x00007fc7307df710 __libc_start_main (libc.so.6)
                                                #7  0x0000000000404299 _start (spotifile)

                                                Stack trace of thread 970:
                                                #0  0x00007fc730b700fd read (libpthread.so.0)
                                                #1  0x00007fc730d90082 n/a (libfuse.so.2)
                                                #2  0x00007fc730d91c4a n/a (libfuse.so.2)
                                                #3  0x00007fc730d906ae n/a (libfuse.so.2)
                                                #4  0x00007fc730b67424 start_thread (libpthread.so.0)
                                                #5  0x00007fc7308a6cbd __clone (libc.so.6)

                                                Stack trace of thread 977:
                                                #0  0x00007fc7308a27f9 syscall (libc.so.6)
                                                #1  0x00007fc7310498aa g_cond_wait_until (libglib-2.0.so.0)
                                                #2  0x0000000000407b84 spotify_thread_start (spotifile)
                                                #3  0x00007fc73102b795 n/a (libglib-2.0.so.0)
                                                #4  0x00007fc730b67424 start_thread (libpthread.so.0)
                                                #5  0x00007fc7308a6cbd __clone (libc.so.6)

                                                Stack trace of thread 974:
                                                #0  0x00007fc730b6f427 do_futex_wait.constprop.1 (libpthread.so.0)
                                                #1  0x00007fc730b6f4d4 __new_sem_wait_slow.constprop.0 (libpthread.so.0)
                                                #2  0x00007fc7313be1f8 n/a (libspotify.so.12)
                                                #3  0x00007fc73137808d n/a (libspotify.so.12)
                                                #4  0x00007fc730b67424 start_thread (libpthread.so.0)
                                                #5  0x00007fc7308a6cbd __clone (libc.so.6)

                                                Stack trace of thread 975:
                                                #0  0x00007fc73089dc3d poll (libc.so.6)
                                                #1  0x00007fc73143e317 n/a (libspotify.so.12)
                                                #2  0x00007fc73143e78d n/a (libspotify.so.12)
                                                #3  0x00007fc73137808d n/a (libspotify.so.12)
                                                #4  0x00007fc730b67424 start_thread (libpthread.so.0)
                                                #5  0x00007fc7308a6cbd __clone (libc.so.6)

                                                Stack trace of thread 969:
                                                #0  0x00007fc730b700fd read (libpthread.so.0)
                                                #1  0x00007fc730d90082 n/a (libfuse.so.2)
                                                #2  0x00007fc730d91c4a n/a (libfuse.so.2)
                                                #3  0x00007fc730d906ae n/a (libfuse.so.2)
                                                #4  0x00007fc730b67424 start_thread (libpthread.so.0)
                                                #5  0x00007fc7308a6cbd __clone (libc.so.6)