#0 strlen () at ../sysdeps/arm/armv6t2/strlen.S:85
85 ../sysdeps/arm/armv6t2/strlen.S: No such file or directory.
(gdb) bt
#0 strlen () at ../sysdeps/arm/armv6t2/strlen.S:85
#1 0xb6f13ebc in avrcp_handle_media_player_list (session=0xb8f339c0,
session=0xb8f339c0, end_item=<optimized out>, start_item=<optimized out>,
pdu=0xb8f43283) at profiles/audio/avrcp.c:1917
#2 avrcp_handle_get_folder_items (session=0xb8f339c0, pdu=0xb8f43283,
transaction=<optimized out>) at profiles/audio/avrcp.c:1968
#3 0xb6f13fb8 in handle_browsing_pdu (conn=<optimized out>,
transaction=<optimized out>, operands=0xb8f43283 "q\b",
operand_count=<optimized out>, user_data=0xb8f339c0)
at profiles/audio/avrcp.c:2028
#4 0xb6f0f088 in session_browsing_cb (chan=<optimized out>,
cond=<optimized out>, data=0xb8f3ba28) at profiles/audio/avctp.c:930
#5 0xb6e19e90 in g_main_dispatch (context=0xb8f28100)
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:3122
#6 g_main_context_dispatch (context=context@entry=0xb8f28100)
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:3737
#7 0xb6e1a114 in g_main_context_iterate (context=0xb8f28100,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:3808
#8 0xb6e1a3b0 in g_main_loop_run (loop=0xb8f28030)
at /build/buildd/glib2.0-2.44.1/./glib/gmain.c:4002
#9 0xb6efef3e in main (argc=1, argv=0xbebdde04) at src/main.c:661
Its crashing because the endpoint didn't assigned any valid name. Could be a race condition but needs further investigation.
Examined the crash file I got from Pat:
#0 strlen () at ../sysdeps/ arm/armv6t2/ strlen. S:85 arm/armv6t2/ strlen. S: No such file or directory. arm/armv6t2/ strlen. S:85 media_player_ list (session= 0xb8f339c0, 0xb8f339c0, end_item=<optimized out>, start_item= <optimized out>, audio/avrcp. c:1917 get_folder_ items (session= 0xb8f339c0, pdu=0xb8f43283, =<optimized out>) at profiles/ audio/avrcp. c:1968 =<optimized out>, operands=0xb8f43283 "q\b", count=< optimized out>, user_data= 0xb8f339c0) audio/avrcp. c:2028 audio/avctp. c:930 0xb8f28100) buildd/ glib2.0- 2.44.1/ ./glib/ gmain.c: 3122 context_ dispatch (context= context@ entry=0xb8f2810 0) buildd/ glib2.0- 2.44.1/ ./glib/ gmain.c: 3737 context_ iterate (context= 0xb8f28100, block@entry= 1, dispatch= dispatch@ entry=1, self=<optimized out>) buildd/ glib2.0- 2.44.1/ ./glib/ gmain.c: 3808 buildd/ glib2.0- 2.44.1/ ./glib/ gmain.c: 4002
85 ../sysdeps/
(gdb) bt
#0 strlen () at ../sysdeps/
#1 0xb6f13ebc in avrcp_handle_
session=
pdu=0xb8f43283) at profiles/
#2 avrcp_handle_
transaction
#3 0xb6f13fb8 in handle_browsing_pdu (conn=<optimized out>,
transaction
operand_
at profiles/
#4 0xb6f0f088 in session_browsing_cb (chan=<optimized out>,
cond=<optimized out>, data=0xb8f3ba28) at profiles/
#5 0xb6e19e90 in g_main_dispatch (context=
at /build/
#6 g_main_
at /build/
#7 0xb6e1a114 in g_main_
block=
at /build/
#8 0xb6e1a3b0 in g_main_loop_run (loop=0xb8f28030)
at /build/
#9 0xb6efef3e in main (argc=1, argv=0xbebdde04) at src/main.c:661
Its crashing because the endpoint didn't assigned any valid name. Could be a race condition but needs further investigation.