dbus-ptest 1.6.10: bus-test fails @ assertion failed.. in function process_ok of dbus-auth.c

Shrikant Bobade bobadeshrikant at gmail.com
Mon Oct 21 06:56:16 PDT 2013


Hi,

I am using dbus ver: 1.6.10 , prepared the dbus-ptest support. while
executing the test suite of dbus-ptest, getting bus-test failure @
assertion failed in function process_ok  of dbus-auth.c , while remaining
all other test cases from test suite executed successfully.

error log:
> *Successfully activated service
'org.freedesktop.DBus.TestSuiteEchoService'
> 352: assertion failed "_dbus_string_get_length (& DBUS_AUTH_CLIENT
> (auth)->guid_from_server) == 0" file
"/dbus-ptest/1.6.10-r0/dbus-1.6.10/dbus/dbus-auth.c" line
> 1545 function process_ok
*
Any pointers or references will be a great help.

Thanks in Adv.


Below is the detail log for bus-test execution:
=================================

*# /usr/lib/dbus-ptest/ptest/bus/bus-test
/usr/lib/dbus-ptest/ptest/test/data/
/usr/lib/dbus-ptest/ptest/bus/bus-test: Running expire list test
/usr/lib/dbus-ptest/ptest/bus/bus-test: checking for memleaks
/usr/lib/dbus-ptest/ptest/bus/bus-test: Running config file parser test
Testing retrieving the default session service directories
    default service dir: /home/root/.local/share/dbus-1/services
    default service dir: /usr/local/share/dbus-1/services
    default service dir: /usr/share/dbus-1/services
    default service dir: /usr/share/dbus-1/services
    test service dir: /testhome/foo/.testlocal/testshare/dbus-1/services
    test service dir: /testusr/testlocal/testshare/dbus-1/services
    test service dir: /testusr/testshare/dbus-1/services
    test service dir: /usr/share/dbus-1/services
Testing retrieving the default system service directories
    default service dir: /usr/local/share/dbus-1/system-services
    default service dir: /usr/share/dbus-1/system-services
    default service dir: /usr/share/dbus-1/system-services
    default service dir: /lib/dbus-1/system-services
    test service dir: /usr/local/share/dbus-1/system-services
    test service dir: /usr/share/dbus-1/system-services
    test service dir: /usr/share/dbus-1/system-services
    test service dir: /lib/dbus-1/system-services
Testing valid files:
    debug-allow-all.conf
    system.conf
    many-rules.conf
    session.conf
    incoming-limit.conf
    debug-allow-all-sha1.conf
    entities.conf
    basic.conf
Testing invalid files:
    circular-2.conf
    badselinux-2.conf
    truncated-file.conf
    badselinux-1.conf
    not-well-formed.conf
    circular-3.conf
    circular-1.conf
Comparing equivalent files:
    basic-2.conf
    basic-1.conf
Comparing equivalent files:
    entities-1.conf
    entities-2.conf
/usr/lib/dbus-ptest/ptest/bus/bus-test: checking for memleaks
/usr/lib/dbus-ptest/ptest/bus/bus-test: Running signals test
/usr/lib/dbus-ptest/ptest/bus/bus-test: checking for memleaks
/usr/lib/dbus-ptest/ptest/bus/bus-test: Running SHA1 connection test
/usr/lib/dbus-ptest/ptest/bus/bus-test: checking for memleaks
/usr/lib/dbus-ptest/ptest/bus/bus-test: Running message dispatch test
Activating service name='org.freedesktop.DBus.TestSuiteEchoService'
Successfully activated service 'org.freedesktop.DBus.TestSuiteEchoService'
352: assertion failed "_dbus_string_get_length (& DBUS_AUTH_CLIENT
(auth)->guid_from_server) == 0" file "/dbus-1.6.10/dbus/dbus-auth.c" line
1545 function process_ok
  /usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_print_backtrace+0x1c)
[0x8394c]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_abort+0x8) [0x87560]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_real_assert+0x48) [0x6e938]
  /usr/lib/dbus-ptest/ptest/bus/bus-test() [0x98a78]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_auth_do_work+0x360) [0x99c3c]
  /usr/lib/dbus-ptest/ptest/bus/bus-test() [0x683f8]
  /usr/lib/dbus-ptest/ptest/bus/bus-test() [0x6987c]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_transport_handle_watch+0xa8)
[0x67438]

/usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_connection_handle_watch+0xdc)
[0x43bdc]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(dbus_watch_handle+0xd0) [0x6ae44]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_loop_iterate+0x1bc) [0x88c28]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(bus_test_run_clients_loop+0x54)
[0x3be7c]
  /usr/lib/dbus-ptest/ptest/bus/bus-test() [0x2a854]
  /usr/lib/dbus-ptest/ptest/bus/bus-test() [0x2bcd8]
  /usr/lib/dbus-ptest/ptest/bus/bus-test() [0x2b71c]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(_dbus_test_oom_handling+0x158)
[0x6f290]
  /usr/lib/dbus-ptest/ptest/bus/bus-test() [0x2d180]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(bus_dispatch_test+0x3c) [0x2f0f8]
  /usr/lib/dbus-ptest/ptest/bus/bus-test(main+0x1ac) [0x1a87c]
  /lib/libc.so.6(__libc_start_main+0x114) [0x4bfc142c]
Aborted*


Thanks
Shrikant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20131021/897358be/attachment.html>


More information about the dbus mailing list