AV-CP: Crash during AV1CP-UDA 2.2.7
Test is checking for backward compatibility and starts services with very high version numners such as :99. Probably by-product of https://bugzilla.gnome.org/show_bug.cgi?id=764498
Segmentation fault (core dumped)
[rygel] jens@laptop-jge: ~/Source/gupnp-tools (master) $ gdb ./build/src/av-cp/gupnp-av-cp core
GNU gdb (Ubuntu 8.2.91.20190405-0ubuntu3) 8.2.91.20190405-git
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build/src/av-cp/gupnp-av-cp...
[New LWP 11791]
[New LWP 11793]
[New LWP 11794]
[New LWP 11799]
[New LWP 11801]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./build/src/av-cp/gupnp-av-cp'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f96b4653715 in g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x3ff0000000000000, fundamental_type=fundamental_type@entry=80) at ../../../gobject/gtype.c:4023
4023 ../../../gobject/gtype.c: No such file or directory.
[Current thread is 1 (Thread 0x7f96af6b4ac0 (LWP 11791))]
(gdb) bt
#0 0x00007f96b4653715 in g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x3ff0000000000000, fundamental_type=fundamental_type@entry=0x50 [GObject]) at ../../../gobject/gtype.c:4023
#1 0x00007f96b4633c1e in g_object_ref (_object=0x3ff0000000000000) at ../../../gobject/gobject.c:3212
#2 0x00005602236d1b1f in av_cp_media_server_get_content_directory (self=0x560224b89740 [GUPnPDeviceProxy]) at ../src/av-cp/server-device.c:358
#3 0x00005602236cbcc2 in append_media_server (proxy=0x560224b89740 [GUPnPDeviceProxy], model=0x560224151c60, parent_iter=0x0) at ../src/av-cp/playlist-treeview.c:931
#4 0x00005602236cbf34 in add_media_server (proxy=0x560224b89740 [GUPnPDeviceProxy]) at ../src/av-cp/playlist-treeview.c:997
#5 0x00005602236c9b7d in dms_proxy_available_cb (cp=0x5602244d2a00 [GUPnPControlPoint], proxy=0x560224b89740 [GUPnPDeviceProxy]) at ../src/av-cp/main.c:63
#6 0x00007f96b46321ef in g_cclosure_marshal_VOID__OBJECTv (closure=0x5602244fcee0, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x5602244f29e0)
at ../../../gobject/gmarshal.c:1910
#7 0x00007f96b462f0b6 in _g_closure_invoke_va (closure=0x5602244fcee0, return_value=0x0, instance=0x5602244d2a00, args=0x7ffc3b430690, n_params=1, param_types=0x5602244f29e0) at ../../../gobject/gclosure.c:873
#8 0x00007f96b464b53d in g_signal_emit_valist (instance=0x5602244d2a00, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7ffc3b430690) at ../../../gobject/gsignal.c:3300
#9 0x00007f96b464bb2f in g_signal_emit (instance=instance@entry=0x5602244d2a00, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3447
#10 0x00007f96b4a6eae3 in create_and_report_device_proxy
(url_base=0x5602241f4c00, description_url=0x5602243399b0 "http://192.168.178.27:49427/", udn=0x560224b7a2a0 "uuid:669bc1ae-baae-491f-adf1-b49b2106a758", element=0x560224b88060, doc=0x560224190c60 [GUPnPXMLDoc], control_point=0x5602244d2a00 [GUPnPControlPoint])
at ../../../../Source/gupnp/libgupnp/gupnp-control-point.c:368
#11 0x00007f96b4a6eae3 in process_device_list
(control_point=0x5602244d2a00 [GUPnPControlPoint], doc=0x560224190c60 [GUPnPXMLDoc], udn=0x560224b7a2a0 "uuid:669bc1ae-baae-491f-adf1-b49b2106a758", service_type=0x0, description_url=0x5602243399b0 "http://192.168.178.27:49427/", url_base=0x5602241f4c00, element=<optimized out>) at ../../../../Source/gupnp/libgupnp/gupnp-control-point.c:523
#12 0x00007f96b4a6ec78 in description_loaded
(control_point=0x5602244d2a00 [GUPnPControlPoint], doc=0x560224190c60 [GUPnPXMLDoc], udn=0x560224b7a2a0 "uuid:669bc1ae-baae-491f-adf1-b49b2106a758", service_type=0x0, description_url=0x5602243399b0 "http://192.168.178.27:49427/")
at ../../../../Source/gupnp/libgupnp/gupnp-control-point.c:568
#13 0x00007f96b4a6f031 in got_description_url (data=0x5602241c7000, msg=<optimized out>, session=0x5602242ae340 [SoupSession]) at ../../../../Source/gupnp/libgupnp/gupnp-control-point.c:627
#14 0x00007f96b4a6f031 in got_description_url (session=0x5602242ae340 [SoupSession], msg=<optimized out>, data=0x5602241c7000) at ../../../../Source/gupnp/libgupnp/gupnp-control-point.c:588
#15 0x00007f96b48911de in () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#16 0x00007f96b4891bea in () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#17 0x00007f96b4891c76 in () at /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
#18 0x00007f96b4931958 in g_main_dispatch (context=0x560223ff6a50) at ../../../glib/gmain.c:3189
#19 0x00007f96b4931958 in g_main_context_dispatch (context=context@entry=0x560223ff6a50) at ../../../glib/gmain.c:3854
#20 0x00007f96b4931d48 in g_main_context_iterate (context=0x560223ff6a50, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:3927
#21 0x00007f96b4932042 in g_main_loop_run (loop=0x5602243c6ad0) at ../../../glib/gmain.c:4123
#22 0x00007f96b3f88e75 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00005602236ca076 in main (argc=1, argv=0x7ffc3b430be8) at ../src/av-cp/main.c:247