Crash when pressing ctrl-c during initial harvesting
Submitted by an unknown user
Link to original bug (#750730)
Description
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:30
30 ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: No such file or directory.
(gdb) bt
#0 __strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:30
#1 0x00007f2c5bda5d8c in xml_util_get_element (node=0x1bde220) at xml-util.c:44
#2 0x00007f2c5bda5ddd in xml_util_get_child_element_content (node=<optimized out>, child_name=child_name@entry=0x7f2c5bda88f9 "controlURL") at xml-util.c:62
#3 0x00007f2c5bda5e9e in xml_util_get_child_element_content_uri (node=<optimized out>, child_name=child_name@entry=0x7f2c5bda88f9 "controlURL", base=0x17d9600) at xml-util.c:115
#4 0x00007f2c5bda5efb in xml_util_get_child_element_content_url (node=<optimized out>, child_name=child_name@entry=0x7f2c5bda88f9 "controlURL", base=<optimized out>)
at xml-util.c:137
#5 0x00007f2c5bd9dc11 in gupnp_service_info_get_control_url (info=info@entry=0x1915280) at gupnp-service-info.c:521
#6 0x00007f2c5bd9ab0a in gupnp_service_dispose (object=0x1915280) at gupnp-service.c:1571
#7 0x00007f2c5b501e55 in g_object_unref (_object=0x1915280) at gobject.c:3137
#8 0x00007f2c5b1fa8b8 in g_source_callback_unref (cb_data=0x1b31c90) at gmain.c:1532
#9 0x00007f2c5b1fb307 in g_source_destroy_internal (source=0x17e3210, context=0x11378b0, have_lock=1) at gmain.c:1178
#10 0x00007f2c5b1fddd8 in g_main_dispatch (context=0x11378b0) at gmain.c:3145
#11 g_main_context_dispatch (context=context@entry=0x11378b0) at gmain.c:3737
#12 0x00007f2c5b1fe170 in g_main_context_iterate (context=0x11378b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#13 0x00007f2c5b1fe492 in g_main_loop_run (loop=0x1679910) at gmain.c:4002
#14 0x0000000000405b58 in rygel_main_run (self=0x13136e0) at /home/jens/Source/rygel/src/rygel/rygel-main.vala:89
#15 0x0000000000408bf6 in rygel_main_main (args=0x7ffcbad4e378, args_length1=1) at /home/jens/Source/rygel/src/rygel/rygel-main.vala:304
#16 0x0000000000408d99 in main (argc=3, argv=0x7ffcbad4e378) at /home/jens/Source/rygel/src/rygel/rygel-main.vala:277
(gdb) f 1
#1 0x00007f2c5bda5d8c in xml_util_get_element (node=0x1bde220) at xml-util.c:44
44 if (!g_strcmp0 (arg, (char *) node->name))
(gdb) p arg
$1 = 0x7f2c5bda88f9 "controlURL"
(gdb) p node
$2 = (xmlNode *) 0x1bde220
(gdb) p node->name
$3 = (const xmlChar *) 0x30373631223d4449 <error: Cannot access memory at address 0x30373631223d4449>
(gdb)
Version: git master