patch for command line arguments in activation
Rodrigo Moya
rodrigo at gnome-db.org
Tue Jun 21 09:33:47 PDT 2005
Hi
The attached patch adds support for arguments in activation commands. I
had to port GLib's gshell.[ch] to add the _dbus_shell_parse_argv
function.
So, it seems to work, but I'm getting an error when running bus-test:
check_segfault_service_no_auto_start:2699 received message interface
"(unset)" member "(unset)" error name
"org.freedesktop.DBus.Error.TimedOut" on 0x80cf068, expecting not this
error
segfault_service_no_auto_start failed during oom
File "dispatch.c" line 3084 process 27177 should not have been reached:
test failed
Program received signal SIGABRT, Aborted.
0xffffe410 in ?? ()
(gdb) bt
#0 0xffffe410 in ?? ()
#1 0xbfffdb48 in ?? ()
#2 0x00000006 in ?? ()
#3 0x00006a29 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=0x80b236c "test failed", file=0x80b5e57 "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=0x6a29) at dispatch.c:3084
#9 0x08058501 in bus_dispatch_test (test_data_dir=0xbfffddf0)
at dispatch.c:3170
#10 0x080624c1 in main (argc=2, argv=0xbfffdea4) at test-main.c:134
Any idea if that has something to do with my changes?
--
Rodrigo Moya <rodrigo at gnome-db.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-activation.diff
Type: text/x-patch
Size: 2971 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050621/efbe7c1c/dbus-activation-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-shell.c
Type: text/x-csrc
Size: 18829 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050621/efbe7c1c/dbus-shell-0001.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-shell.h
Type: text/x-chdr
Size: 1516 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050621/efbe7c1c/dbus-shell-0001.h
More information about the dbus
mailing list