Bug 472044 - dbus-glib service error in standard tests
Summary: dbus-glib service error in standard tests
Keywords:
Status: CLOSED DUPLICATE of bug 472202
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: dbus-glib
Version: 5.3
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: David Zeuthen
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-18 13:45 UTC by Tomas Pelka
Modified: 2008-12-02 20:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-02 20:03:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tomas Pelka 2008-11-18 13:45:21 UTC
Description of problem:
I'm testing dbus-glib through standard tests included in dbus-glib source codes.
There is one test called test-service-glib (in DBUS_GLIB_SRC/tests/core/),
which provides couple of methods that can be called via dbus. One of these methods causes error (see "Steps to reproduce" below).

Version-Release number of selected component (if applicable):
dbus-1.1.2-12.el5
dbus-glib-0.73-8.el5

How reproducible:
100%

Steps to Reproduce:
1. Download dbus-glib src and compile it with (./configure --enable-tests --enable-asserts).
2. Run test-service-glib (located in test/core).
3. Try send this message: 
	dbus-send --dest=org.freedesktop.DBus.GLib.TestService --print-reply --type=method_call /org/freedesktop/DBus/GLib/Tests/MyTestObject org.freedesktop.DBus.GLib.Tests.MyObject.StrHashLen dict:string:string:"key","value"
  
Actual results:

process 16443: arguments to dbus_message_iter_open_container() were incorrect, assertion "(type == DBUS_TYPE_STRUCT && contained_signature == NULL) || (type == DBUS_TYPE_DICT_ENTRY && contained_signature == NULL) || (type == DBUS_TYPE_VARIANT && contained_signature != NULL) || (type == DBUS_TYPE_ARRAY && contained_signature != NULL)" failed in file dbus-message.c line 2356.
This is normally a bug in some application using the D-Bus library.
process 16443: dbus message iterator looks uninitialized or corrupted
process 16443: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_message_iter_append_check (real)" failed in file dbus-message.c line 2239.
This is normally a bug in some application using the D-Bus library.
process 16443: dbus message iterator looks uninitialized or corrupted
process 16443: arguments to dbus_message_iter_append_basic() were incorrect, assertion "_dbus_message_iter_append_check (real)" failed in file dbus-message.c line 2239.
This is normally a bug in some application using the D-Bus library.
process 16443: dbus message iterator looks uninitialized or corrupted
process 16443: arguments to dbus_message_iter_close_container() were incorrect, assertion "_dbus_message_iter_append_check (real_sub)" failed in file dbus-message.c line 2414.
This is normally a bug in some application using the D-Bus library.
method return sender=:1.845 -> dest=:1.863 reply_serial=2
   uint32 0

Expected results:

Should end without errors.

Additional info:

Comment 1 Matthias Clasen 2008-12-02 19:48:13 UTC
This looks like a duplicate of bug 472202

Comment 2 Tomas Pelka 2008-12-02 20:02:48 UTC
(In reply to comment #1)
> This looks like a duplicate of bug 472202

Yea Matthias,
same fail achieved by different ways.

Comment 3 Tomas Pelka 2008-12-02 20:03:23 UTC

*** This bug has been marked as a duplicate of bug 472202 ***


Note You need to log in before you can comment on or make changes to this bug.