problem in dbus when running the binaries in arm

amar nath nani303402 at gmail.com
Mon Jul 14 04:51:16 PDT 2008


Hi,
      When i run the dbus binaries on the arm platform the dbus-launch ,
dbus-uuidgen and dbus-cleanup-socket  are working fine... But when i am
running the dbus-monitor the following error is coming:

Failed to open connection to session message bus: Failed to execute
dbus-launch to autolaunch D-Bus session


When i am strace to that dbus-monitor it shows like this

 strace ./dbus-monitor

execve("./dbus-monitor", ["./dbus-monitor"], [/* 8 vars */]) = 0

uname({sys="Linux", node="MSM7K", ...}) = 0

brk(0) = 0x13000

access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult/half/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult/half",
0xbedc2348) = -1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls/v6l/fast-mult",
0xbedc2348) = -1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/v6l/half/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls/v6l/half", 0xbedc2348) =
-1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/v6l/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls/v6l", 0xbedc2348) = -1
ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/fast-mult/half/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls/fast-mult/half",
0xbedc2348) = -1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/fast-mult/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls/fast-mult", 0xbedc2348) =
-1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/half/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls/half", 0xbedc2348) = -1
ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/tls/libdbus-1.so.3", O_RDONLY)
= -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/tls", 0xbedc2348) = -1 ENOENT
(No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult/half/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult/half",
0xbedc2348) = -1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/v6l/fast-mult", 0xbedc2348) =
-1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/v6l/half/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/v6l/half", 0xbedc2348) = -1
ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/v6l/libdbus-1.so.3", O_RDONLY)
= -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/v6l", 0xbedc2348) = -1 ENOENT
(No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/fast-mult/half/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/fast-mult/half", 0xbedc2348)
= -1 ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/fast-mult/libdbus-1.so.3",
O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/fast-mult", 0xbedc2348) = -1
ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/half/libdbus-1.so.3", O_RDONLY)
= -1 ENOENT (No such file or directory)

stat64("/home/amarnath/Documents/dbuscross/lib/half", 0xbedc2348) = -1
ENOENT (No such file or directory)

open("/home/amarnath/Documents/dbuscross/lib/libdbus-1.so.3", O_RDONLY) = 3

read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`H\0\000"..., 512) =
512

fstat64(3, {st_mode=S_IFREG|0755, st_size=680322, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40016000

mmap2(NULL, 225120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x40020000

mprotect(0x4004f000, 32608, PROT_NONE) = 0

mmap2(0x40056000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e) = 0x40056000

close(3) = 0

open("/home/amarnath/Documents/dbuscross/lib/libc.so.6", O_RDONLY) = -1
ENOENT (No such file or directory)

open("/etc/ld.so.cache", O_RDONLY) = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=8277, ...}) = 0

mmap2(NULL, 8277, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000

close(3) = 0

open("/lib/libc.so.6", O_RDONLY) = 3

read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\2249\1\000"..., 512)
= 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=1467026, ...}) = 0

mmap2(NULL, 1160332, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x40058000

mprotect(0x40166000, 54412, PROT_NONE) = 0

mmap2(0x4016e000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10e) = 0x4016e000

mmap2(0x40171000, 9356, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40171000

close(3) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000

mprotect(0x4016e000, 8192, PROT_READ) = 0

mprotect(0x4001e000, 4096, PROT_READ) = 0

syscall_983045(0x40016cc0, 0, 0x40, 0x3, 0, 0, 0x4001f540, 0xf0005,
0x4001f52c, 0x4001f200, 0x4001f000, 0xbedc29d4, 0, 0xbedc28f8, 0x4000e504,
0x40002984, 0x80000010, 0x40016cc0, 0, 0, 0, 0xff08, 0x53228, 0x53200, 0, 0,
0, 0, 0, 0, 0, 0) = 0

munmap(0x40018000, 8277) = 0

brk(0) = 0x13000

brk(0x34000) = 0x34000

open("/home/amarnath/Documents/dbuscross/var/lib/dbus/machine-id", O_RDONLY)
= 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=33, ...}) = 0

read(3, "88e03f2bb5d88e4f21f6e80047bbceb0"..., 33) = 33

close(3) = 0

pipe([3, 4]) = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x400168d8) = 1054

--- SIGCHLD (Child exited) @ 0 (0) ---

close(4) = 0

read(3, "", 1024) = 0

wait4(1054, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 1054

write(2, "Failed to open connection to ses"..., 108Failed to open connection
to session message bus: Failed to execute dbus-launch to autolaunch D-Bus
session

) = 108

exit_group(1) = ?

Process 1053 detached



 ===================================================




when i am compared this one with my i686 machine strace dbus-monitor the
difference is


It not starting the socket on the arm platform(MSM 7200 board).

Please give me the solution to run the dbus-monitor on the arm platform.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080714/401f9156/attachment.htm 


More information about the dbus mailing list