After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738365 - tests fail with new libsoup
tests fail with new libsoup
Status: RESOLVED FIXED
Product: GUPnP
Classification: Other
Component: gupnp
0.20.x
Other Linux
: Normal normal
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-11 19:08 UTC by Dan Horák
Modified: 2015-01-17 05:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Horák 2014-10-11 19:08:58 UTC
The tests are failing when libsoup-2.48.0 (and likely few earlier versions too) is in the buildroots.

[root@eagle gtest]# cat test-suite.log 
===============================================
   gupnp 0.20.12: tests/gtest/test-suite.log
===============================================

# TOTAL: 2
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-context
==================

/context/http/ranged-requests: 
(/builddir/build/BUILD/gupnp-0.20.12/tests/gtest/.libs/lt-test-context:17221): GLib-GObject-WARNING **: The property SoupServer:port is deprecated and shouldn't be used anymore. It will be removed in a future version.

FAIL: test-bugs
===============

/bugs/696762: 
(/builddir/build/BUILD/gupnp-0.20.12/tests/gtest/.libs/lt-test-bugs:17241): GLib-GObject-WARNING **: The property SoupServer:port is deprecated and shouldn't be used anymore. It will be removed in a future version.



[root@eagle gtest]# export LD_LIBRARY_PATH=../../libgupnp/.libs/
[root@eagle gtest]# gdb .libs/test-bugs
GNU gdb (GDB) Fedora 7.8-25.fc22
Copyright (C) 2014 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-redhat-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 .libs/test-bugs...done.
(gdb) run
Starting program: /builddir/build/BUILD/gupnp-0.20.12/tests/gtest/.libs/test-bugs 
Got object file from memory but can't read symbols: File truncated.
Missing separate debuginfos, use: debuginfo-install glibc-2.20.90-6.fc22.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
/bugs/696762: 
(/builddir/build/BUILD/gupnp-0.20.12/tests/gtest/.libs/test-bugs:17868): GLib-GObject-WARNING **: The property SoupServer:port is deprecated and shouldn't be used anymore. It will be removed in a future version.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff6c18c60 in g_logv () from /usr/lib64/libglib-2.0.so.0
Missing separate debuginfos, use: debuginfo-install glib2-2.42.0-1.fc22.x86_64 gssdp-0.14.10-1.fc22.x86_64 libffi-3.1-6.fc22.x86_64 libselinux-2.3-5.fc22.x86_64 libsoup-2.48.0-1.fc22.x86_64 libuuid-2.25.1-1.fc22.x86_64 libxml2-2.9.1-5.fc22.x86_64 pcre-8.36-1.fc22.x86_64 sqlite-3.8.6-2.fc22.x86_64 xz-libs-5.1.2-15alpha.fc22.x86_64 zlib-1.2.8-7.fc22.x86_64
(gdb) where
  • #0 g_logv
  • #1 g_log
  • #2 g_object_new_internal
  • #3 g_object_new_valist
  • #4 soup_server_new
  • #5 gupnp_context_get_server
    at gupnp-context.c line 589
  • #6 gupnp_context_host_path
    at gupnp-context.c line 1212
  • #7 gupnp_root_device_constructor
    at gupnp-root-device.c line 419
  • #8 g_object_new_internal
  • #9 g_object_new_valist
  • #10 g_object_new
  • #11 gupnp_root_device_new_full
    at gupnp-root-device.c line 611
  • #12 gupnp_root_device_new
    at gupnp-root-device.c line 579
  • #13 test_bgo_696762
    at test-bugs.c line 232
  • #14 g_test_run_suite_internal
  • #15 g_test_run_suite_internal
  • #16 g_test_run_suite
  • #17 g_test_run
  • #18 main
    at test-bugs.c line 393

Comment 1 Jens Georg 2015-01-17 05:58:12 UTC
Fixed with 0.20.13