Modify

Opened 7 years ago

Closed 7 years ago

#9810 closed defect (fixed)

Dbus crashes on RC5

Reported by: p4trykx@… Owned by: developers
Priority: high Milestone: Backfire 10.03.1
Component: packages Version: Backfire 10.03.1 RC5
Keywords: dbus Cc:

Description

When I try to run dbus-daemon I get segmentation fault.
My version of dbus is 1.2.4.6permissive-2. My router it's Asus Wl-500W with 2.6 kernel. I see there is pie related patch in packages dir so this isn't an old bug.

strace dbus-daemon 
execve("/usr/sbin/dbus-daemon", ["dbus-daemon"], [/* 8 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x2aaad000
stat("/etc/ld.so.cache", 0x7faf04f0)    = -1 ENOENT (No such file or directory)
open("/usr/lib//libexpat.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=141743, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320%\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 143360, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 129196, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aabe000
old_mmap(0x2aade000, 10671, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x2aade000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/usr/lib//libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\33\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 131072, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aae1000
old_mmap(0x2aae1000, 62732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aae1000
old_mmap(0x2ab00000, 3371, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x2ab00000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/usr/lib//libc.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0 \253\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 491520, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab01000
old_mmap(0x2ab01000, 400384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab01000
old_mmap(0x2ab72000, 8151, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x61000) = 0x2ab72000
old_mmap(0x2ab74000, 19456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab74000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405463, ...}) = 0
close(3)                                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=0, st_size=20706, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r27793

comment:2 Changed 7 years ago by philchetcuti

  • Resolution fixed deleted
  • Status changed from closed to reopened

Segmentation fault persists with DBus
ar71xx platform

phil@phil-laptop:~/OpenWrt/backfire$ svn info
Path: .
URL: svn://svn.openwrt.org/openwrt/branches/backfire
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 27798
Node Kind: directory
Schedule: normal
Last Changed Author: jow
Last Changed Rev: 27794
Last Changed Date: 2011-07-26 20:52:15 -0300 (Tue, 26 Jul 2011)

comment:3 Changed 7 years ago by nbd

did you rebuild your toolchain?

comment:4 Changed 7 years ago by philchetcuti

a toolchain rebuild did it. I am confirming dbus is working without seg faults now.
thank you.

comment:5 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.