patch for command line arguments in activation
Rodrigo Moya
rodrigo at gnome-db.org
Fri Jun 24 03:33:49 PDT 2005
On Tue, 2005-06-21 at 20:56 -0400, Havoc Pennington wrote:
> On Tue, 2005-06-21 at 18:33 +0200, Rodrigo Moya wrote:
> >
> > So, it seems to work, but I'm getting an error when running bus-test:
> >
>
> I'd suggest using DBUS_VERBOSE=1 or strace to diagnose what happens.
>
ok, did some more tests, and I can't really find how my code affects the
test program. I've even added a shell-test.c program to test dbus-shell
new functions, and it works great. Also, running with DBUS_VERBOSE shows
(after a few fixed on the new code) none of the error messages I added
to that new code, so seems it's working correctly.
Also, none of the D-BUS applications, apart from bus-test that I've been
testing with are able to connect to the message bus. Even with an
unmodified dbus that happens, so might be something in my setup
(separate user with all of GNOME from jhbuild).
Find updated patch, new added files and output and backtrace of the
bus-test program.
Backtrace:
check_segfault_service_no_auto_start:2699 received message interface
"(unset)" member "(unset)" error name
"org.freedesktop.DBus.Error.Spawn.ExecFailed" on 0x80d0f30, expecting
not this error
segfault_service_no_auto_start failed during oom
File "dispatch.c" line 3084 process 24085 should not have been reached:
test failed
Program received signal SIGABRT, Aborted.
0xffffe410 in ?? ()
(gdb) bt
#0 0xffffe410 in ?? ()
#1 0xbfffe548 in ?? ()
#2 0x00000006 in ?? ()
#3 0x00005e15 in ?? ()
#4 0x400872c1 in raise () from /lib/tls/libc.so.6
#5 0x40088b75 in abort () from /lib/tls/libc.so.6
#6 0x0809cd80 in _dbus_abort () at dbus-sysdeps.c:87
#7 0x08089e99 in _dbus_real_assert_not_reached (
explanation=0x80b2274 "test failed", file=0x80b5d5f "dispatch.c",
line=3084) at dbus-internals.c:498
#8 0x080574b4 in check2_try_iterations (context=<value optimized out>,
connection=<value optimized out>, description=<value optimized out>,
func=0x5e15) at dispatch.c:3084
#9 0x08058501 in bus_dispatch_test (test_data_dir=0xbfffe7f0)
at dispatch.c:3170
#10 0x080624c1 in main (argc=2, argv=0xbfffe8a4) at test-main.c:134
--
Rodrigo Moya <rodrigo at gnome-db.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-activation.diff
Type: text/x-patch
Size: 4154 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050624/28245005/dbus-activation-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-shell.c
Type: text/x-csrc
Size: 17911 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050624/28245005/dbus-shell-0001.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-shell.h
Type: text/x-chdr
Size: 1375 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050624/28245005/dbus-shell-0001.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell-test.c
Type: text/x-csrc
Size: 841 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050624/28245005/shell-test-0001.c
More information about the dbus
mailing list