FS#7996 - Sim crashes when inserting recursively.

Attached to Project: Rockbox
Opened by Nils Wallménius (nls) - Friday, 19 October 2007, 20:45 GMT
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 02 July 2008, 13:24 GMT
Task Type Bugs
Category Simulator
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When selecting a folder and performing an "Insert" on it I get a segfault in the sim. Happens both with music playing and while stopped.
I run 64 bit linux.

here's the backtrace from gdb if it helps anyone...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1098918224 (LWP 31410)]
0x00002b1e7ae54b30 in strlen () from /lib/
(gdb) bt
#0 0x00002b1e7ae54b30 in strlen () from /lib/
#1 0x00002b1e7ae2325a in vfprintf () from /lib/
#2 0x00002b1e7ae4556a in vsnprintf () from /lib/
#3 0x0000000000431d42 in splash (screen=0x6abf08,
fmt=0x475435 "Inserted %d tracks (%s)", ap=0x41801930) at gui/splash.c:72
#4 0x0000000000432509 in gui_syncsplash (ticks=0,
fmt=0x475435 "Inserted %d tracks (%s)") at gui/splash.c:216
#5 0x0000000000412bc7 in display_playlist_count (count=0,
fmt=0x475435 "Inserted %d tracks (%s)", final=false) at playlist.c:1688
#6 0x0000000000414c78 in playlist_insert_directory (playlist=0x6b36e0,
dirname=0x41801db0 "/Come Clarity", position=-3, queue=false, recurse=true)
at playlist.c:2924
#7 0x000000000040e1d0 in add_to_playlist (position=-3, queue=false)
at onplay.c:199
#8 0x000000000040e399 in playlist_insert_func (param=0xfffffffffffffffd)
at onplay.c:307
#9 0x000000000040739c in do_menu (start_menu=0x6a1510, start_selected=0x0)
at menu.c:464
#10 0x000000000040f9c6 in onplay (file=0x41801db0 "/Come Clarity", attr=16,
from=2) at onplay.c:1214
#11 0x000000000042150a in dirbrowse () at tree.c:730
#12 0x00000000004221cb in rockbox_browse (root=0x41801f60 "/", dirfilter=0)
at tree.c:1127
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Wednesday, 02 July 2008, 13:24 GMT
Reason for closing:  Out of Date
Additional comments about closing:  way out of date, and its not happening here...