Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77819 - sunbird-bin-0.2.20041112 dies with segmentation fault
Summary: sunbird-bin-0.2.20041112 dies with segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 04:59 UTC by Botykai Zsolt
Modified: 2005-07-24 20:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Botykai Zsolt 2005-01-13 04:59:22 UTC
Just wanted to give sunbird a try, but as I wanted to start it (from command line) it died with segfault).
Strace output is:
$ strace -o strace-subird.log sunbird
execve("/usr/bin/sunbird", ["sunbird"], [/* 74 vars */]) = 0
uname({sys="Linux", node="botykai-zsolt", ...}) = 0
brk(0)                                  = 0x811d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=88146, ...}) = 0
mmap2(NULL, 88146, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fea000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340KIL"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=12300, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
fe9000
mmap2(0x4c494000, 12392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
 0x4c494000
mmap2(0x4c496000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT
E, 3, 0x1) = 0x4c496000
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\3\0\1\0\0\0\246\360"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1285900, ...}) = 0
mmap2(0x4c36a000, 1211692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
 = 0x4c36a000
mprotect(0x4c48b000, 27948, PROT_NONE)  = 0
mmap2(0x4c48c000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI
TE, 3, 0x121) = 0x4c48c000
mmap2(0x4c490000, 7468, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOU
S, -1, 0) = 0x4c490000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
fe8000
mprotect(0x4c48c000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fe86b0, limit:1048575, seg_
32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, usea
ble:1}) = 0
munmap(0xb7fea000, 88146)               = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "#\323\360\273", 4)             = 4
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No suc
h file or directory)
brk(0)                                  = 0x811d000
brk(0x813e000)                          = 0x813e000
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
fff000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7fff000, 4096)                = 0
open("/usr/lib/locale/hu_HU/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=354, ...}) = 0
mmap2(NULL, 354, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fff000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_MEASUREMENT", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=28, ...}) = 0
mmap2(NULL, 28, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ffe000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_TELEPHONE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=56, ...}) = 0
mmap2(NULL, 56, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ffd000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_ADDRESS", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=132, ...}) = 0
mmap2(NULL, 132, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ffc000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_NAME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=67, ...}) = 0
mmap2(NULL, 67, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ffb000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_PAPER", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=39, ...}) = 0
mmap2(NULL, 39, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ffa000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0
mmap2(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ff9000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_MONETARY", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=295, ...}) = 0
mmap2(NULL, 295, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ff8000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_COLLATE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35143, ...}) = 0
mmap2(NULL, 35143, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fef000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_TIME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2521, ...}) = 0
mmap2(NULL, 2521, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fee000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_NUMERIC", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0
mmap2(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fed000
close(3)                                = 0
open("/usr/lib/locale/hu_HU/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=178464, ...}) = 0
mmap2(NULL, 178464, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fbc000
close(3)                                = 0
getuid32()                              = 1000
getgid32()                              = 100
geteuid32()                             = 1000
getegid32()                             = 100
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1105620066
open("/etc/mtab", O_RDONLY)             = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=441, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
fbb000
read(3, "/dev/hda3 / ext3 rw,noatime 0 0\n"..., 4096) = 441
close(3)                                = 0
munmap(0xb7fbb000, 4096)                = 0
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
fbb000
read(3, "MemTotal:       223008 kB\nMemFre"..., 1024) = 598
close(3)                                = 0
munmap(0xb7fbb000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="botykai-zsolt", ...}) = 0
stat64("/home/bzs", {st_mode=S_IFDIR|0775, st_size=8192, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0775, st_size=8192, ...}) = 0
getpid()                                = 21015
getppid()                               = 21014
getpgrp()                               = 21014
rt_sigaction(SIGCHLD, {0x8084764, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/usr/bin/sunbird", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffee58) = -1 ENOTTY (Inappropriate i
octl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/bash\n#\n# Copyright 1999-2"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=12825, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/bash\n#\n# Copyright 1999-2"..., 8192) = 8192
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=21544, ...}) = 0
mmap2(NULL, 21544, PROT_READ, MAP_SHARED, 3, 0) = 0xb7fb6000
close(3)                                = 0
open("/usr/lib/gconv/ISO8859-2.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\4\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9784, ...}) = 0
mmap2(NULL, 12324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f
b2000
mmap2(0xb7fb4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRIT
E, 3, 0x1) = 0xb7fb4000
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
<snipped equal lines>
ead(255, " retval=0\n    fi\n  done\n\n  retur"..., 8192) = 4633
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
<snipped equal lines>
stat64("/usr/lib/MozillaSunbird/sunbird-bin", 0xbfff8de0) = -1 ENOENT (No such f
ile or directory)
stat64("/opt/sunbird/sunbird-bin", {st_mode=S_IFREG|0755, st_size=11520840, ...}
) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -23, [12802], SEEK_CUR)    = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb7fe86f8) = 21019
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x8084764, [], 0}, {0x8084764, [], 0}, 8) = 0
close(4)                                = 0
read(3, "", 128)                        = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 21019
waitpid(-1, 0xbfffb0c4, WNOHANG)        = -1 ECHILD (No child processes)
igreturn()                             = ? (mask now [])
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8082862, [], 0}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x8082862, [], 0}, 8) = 0
stat64(".", {st_mode=S_IFDIR|0775, st_size=8192, ...}) = 0
stat64("/usr/bin/killall", {st_mode=S_IFREG|0755, st_size=17576, ...}) = 0
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 3
read(3, "65536\n", 31)                  = 6
close(3)                                = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x
b7f71000
getgroups32(65536, [10, 16, 18, 35, 100, 245]) = 6
stat64("/usr/bin/killall", {st_mode=S_IFREG|0755, st_size=17576, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb7fe86f8) = 21034
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8082862, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 21034
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfffb07c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8082862, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb7fe86f8) = 21035
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
close(4)                                = 0
close(4)                                = -1 EBADF (Bad file descriptor)
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [CHLD], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb7fe86f8) = 21036
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigaction(SIGINT, {0x8082862, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 21036
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 4}], 0) = 21035
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x8082862, [], 0}, 8) = 0
close(3)                                = -1 EBADF (Bad file descriptor)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfffaa9c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
fcntl64(1, F_GETFD)                     = 0
fcntl64(1, F_DUPFD, 10)                 = 10
fcntl64(1, F_GETFD)                     = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
dup2(2, 1)                              = 1
fcntl64(2, F_GETFD)                     = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 5), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
f70000
write(1, "No running windows found\n", 25) = 25
dup2(10, 1)                             = 1
fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb7fe86f8) = 21085
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x8084764, [], 0}, {0x8084764, [], 0}, 8) = 0
close(4)                                = 0
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8082862, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 21085
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfff928c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8082862, [], 0}, 8) = 0
fcntl64(1, F_GETFD)                     = 0
fcntl64(1, F_DUPFD, 10)                 = 10
fcntl64(1, F_GETFD)                     = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
dup2(2, 1)                              = 1
fcntl64(2, F_GETFD)                     = 0
dup2(10, 1)                             = 1
fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
open("/home/bzs/.sunbird/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EN
OENT (No such file or directory)
open("/home/bzs/.sunbird/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EN
OENT (No such file or directory)
open("/home/bzs/.sunbird/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EN
OENT (No such file or directory)
open("/home/bzs/.mozilla/sunbird/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
 = -1 ENOENT (No such file or directory)
open("/home/bzs/.mozilla/sunbird/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
 = -1 ENOENT (No such file or directory)
open("/home/bzs/.mozilla/sunbird/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
 = -1 ENOENT (No such file or directory)
stat64("/home/bzs/.sunbird/*/compreg.dat", 0xbfff9d90) = -1 ENOENT (No such file
 or directory)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/home/bzs/.sunbird/*/chrome.rdf", 0xbfff9d90) = -1 ENOENT (No such file
or directory)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/home/bzs/.sunbird/*/XUL.mfasl", 0xbfff9d90) = -1 ENOENT (No such file o
r directory)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/home/bzs/.mozilla/sunbird/*/compreg.dat", 0xbfff9d90) = -1 ENOENT (No s
uch file or directory)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/home/bzs/.mozilla/sunbird/*/chrome.rdf", 0xbfff9d90) = -1 ENOENT (No su
ch file or directory)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/home/bzs/.mozilla/sunbird/*/XUL.mfasl", 0xbfff9d90) = -1 ENOENT (No suc
h file or directory)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, chil
d_tidptr=0xb7fe86f8) = 21089
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8082862, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0) = 21089
fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 5), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7
f6f000
open("/usr/share/locale/hu_HU.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/hu_HU.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (
No such file or directory)
open("/usr/share/locale/hu_HU/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No su
ch file or directory)
open("/usr/share/locale/hu.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
 such file or directory)
open("/usr/share/locale/hu.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/hu/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=105914, ...}) = 0
mmap2(NULL, 105914, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f55000
close(3)                                = 0
write(2, "/usr/bin/sunbird: line 88: 21089"..., 70) = 70
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfffce5c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8082862, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/usr/share/locale/hu/LC_MESSAGES/libc.mo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=105914, ...}) = 0
mmap2(NULL, 105914, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f55000
close(3)                                = 0
write(2, "/usr/bin/sunbird: line 88: 21089"..., 70) = 70
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfffce5c, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL}, {0x8082862, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
munmap(0xb7f6f000, 4096)                = 0
munmap(0xb7f70000, 4096)                = 0
exit_group(0)                           = ?


Reproducible: Always
Steps to Reproduce:
1. emerge sunbird && run sunbird
2.
3.




$ sudo emerge info
Portage 2.0.51-r10 (default-linux/x86/2004.0, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 22 2004, 16:03:43)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://intranet.online.hu/ http://gentoo.inode.at/
http://gentoo.mirror.icd.hu/ http://gentoo.math.bme.hu/
http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apm avi berkdb bitmap-fonts bonobo cdr crypt cups directfb
encode esd f77 fam flac foomaticdb fortran gdbm gif gphoto2 gpm gtk gtk2 gtkhtml
guile hal imagemagick imlib ipv6 java jikes jpeg libg++ libwww mad maildir mbox
mikmod motif mozilla mpeg ncurses nls nptl nptlonly oggvorbis opengl oss pam
pdflib perl png ppds python qt quicktime readline ruby samba sdl slang spell ssl
svga tcltk tcpd tiff truetype unicode usb x86 xml xml2 xmms xv zlib linguas_en
linguas_hu"
Unset:  LDFLAGS
Comment 1 Roel Brook 2005-01-29 20:46:55 UTC
same problem here. when starting mozilla-sunbird-bin-0.2.20041112:

No running windows found
/usr/bin/sunbird: line 88: 18521 Segmentatie fout        $mozbin "$@"

/opt/sunbird/mozilla-xremote-client sunbird
gives me:
/opt/sunbird/mozilla-xremote-client: Error: Failed to send command: 500 command not parsable: sunbird

emerge info:
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-nitro2 i686)
=================================================================
System uname: 2.6.10-nitro2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 24 2004, 18:21:57)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/share/config /var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox sfperms"GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL@euro"
LC_ALL="nl_NL@euro"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm arts audiofile avi bitmap-fonts bzlib calender cdparanoia cdr chroot crypt cups dba divx4linux dvd dvdr dvdread encode esd f77 fam filepro flac font-server foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imlib insecure-drivers java jpeg jpeg2k junit kde ldap libg++ libwww live mad mikmod mime mmx motif mpeg msn mysql ncurses network nls nptl nvidia odbc offensive oggvorbis ooo-kde opengl pam pdflib perl php pic png postgres python qmail qt quicktime readline real rplay samba scanner sdk sdl session sftplogging slang softmmu speex spell sse ssl stroke svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales v4l wmf xine xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib video_cards_nvidia linguas_nl"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS


Comment 2 Bastiaan Visser 2005-01-31 14:35:22 UTC
Same here:

bastiaan@Bas-lt ~ $ sunbird
No running windows found
/usr/bin/sunbird: line 88: 16931 Segmentation fault      $mozbin "$@"
bastiaan@Bas-lt ~ $   

bastiaan@Bas-lt ~ $ emerge --info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686)
=================================================================
System uname: 2.6.10-gentoo-r2 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 19 2005, 12:27:12)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa cups i8x0 mmx mmx2 nptl sse sse2"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

bastiaan@Bas-lt ~ $
Comment 3 Drakos7 /Greg Wilson/ 2005-02-08 13:03:39 UTC
As noted on other bugs and in the forums this is likely to be a gtk issue. Did you upgrade gtk recently?
Comment 4 Botykai Zsolt 2005-02-09 11:52:30 UTC
Yes, it's currently version installed: 2.6.1-r2.
Comment 5 Drakos7 /Greg Wilson/ 2005-02-22 07:02:43 UTC
try:
sunbird -calendar
works for me with gtk 2.6.2
Comment 6 Roel Brook 2005-03-02 16:56:58 UTC
the -calender option doesn't work for me.

*** Registering -calendar handler.
*** Registering text/calendar handler.
*** Registering webcal protocol handler.
*** loading the extensions datasource
*** Registering -calendar handler.
*** Registering text/calendar handler.
*** Registering webcal protocol handler.
*** loading the extensions datasource
*** Registering -calendar handler.
*** Registering text/calendar handler.
*** Registering webcal protocol handler.
*** loading the extensions datasource
*** Registering -calendar handler.
*** Registering text/calendar handler.
*** Registering webcal protocol handler.
*** loading the extensions datasource

It's stuck in an infinite loop.
Comment 7 Tim Redman 2005-03-14 08:11:58 UTC
Actually, it's not an infinite loop.  For me, it eventually stopped after about 120 iterations, but it  still didn't load sunbird.

It may be permissions-related.  I can't start it up with my user account, but it does come up under root.  I'll do a little digging and see what I can find.

Tim
Comment 8 Tim Redman 2005-03-14 08:15:27 UTC
Okay.  Now I can't duplicate the non-starting issue.  Since I ran it as root, it seems to run fine as a regular user, though I do get the following message on startup:

*** ExtensionManager:checkForMismatches: no access privileges to application directory!

Comment 9 Tim Redman 2005-03-14 09:11:47 UTC
Here's what changes when root runs Sunbird:

*  The directories /opt/sunbird, /opt/sunbird/components and /opt/sunbird/extensions are touched, changing their MTIME.
*  Two new files, compreg.dat and xpti.dat, are added in /opt/sunbird/components
*  An existing file, Extensions.rdf, is modified in /opt/sunbird/extensions
*  A new directory, named after a GUID, is created under /opt/sunbird/extensions
*  A new file, install.rdf, is added to the new directory
*  A new file, installed-extensions-processed.txt, is added to /opt/sunbird/extensions
*  A new file, components.ini, is added to /opt/sunbird

None of the files or directories in /opt/sunbird changes permissions.

As mentioned above, Extensions.rdf is modified:

2,9c2,24
<
< <RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
<      xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<
<   <Seq about="urn:mozilla:extension:root"/>
<   <Seq about="urn:mozilla:theme:root"/>
<
< </RDF>
---
> <RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
>          xmlns:NC="http://home.netscape.com/NC-rdf#"
>          xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>   <RDF:Seq RDF:about="urn:mozilla:theme:root">
>     <RDF:li RDF:resource="urn:mozilla:theme:{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}"/>
>   </RDF:Seq>
>   <RDF:Description RDF:about="urn:mozilla:theme:{8af2d0a7-e394-4de2-ae55-2dae532a7a9b}"
>                    em:version="2.0"
>                    em:name="Sunbird (default)"
>                    em:description="The default theme"
>                    em:creator="?"
>                    em:internalName="classic/1.0"
>                    em:locked="true"
>                    em:contributor="Mozilla Contributors">
>     <em:targetApplication RDF:resource="rdf:#$w.Sx33"/>
>   </RDF:Description>
>   <RDF:Description RDF:about="rdf:#$w.Sx33"
>                    em:id="{718e30fb-e89b-41dd-9da7-e25a45638b28}"
>                    em:minVersion="0.1"
>                    em:maxVersion="0.2" />
>   <RDF:Seq RDF:about="urn:mozilla:extension:root">
>   </RDF:Seq>
> </RDF:RDF>

Once this happens, I am able to start sunbird as a normal user, though I haven't gone through it to review functionality yet.

Comment 10 Paulo J. Matos 2005-05-13 13:38:47 UTC
I have gtk+-2.6.4-r1 and sunbird -calendar worked perfectly. Calling with only sunbird resulted in segmentation fault.
Comment 11 Roel Brook 2005-07-05 16:59:05 UTC
I've been trying sunbird again, to see if this was fixed with the new
mozilla-launcher, but still no joy :(

I'm now getting:
Medusa% sunbird
/usr/bin/sunbird: can't find the browser :-(
Medusa% sunbird-bin
/opt/sunbird/mozilla-xremote-client: Error: Failed to find a running server.
No running windows found
/usr/bin/sunbird-bin: line 114: 16009 Segmentatie fout        "$mozbin" "$@"
sunbird-bin exited with non-zero status (139)
Medusa% sunbird -calender
/usr/bin/sunbird: can't find the browser :-(
Medusa% /opt/sunbird/mozilla-xremote-client sunbird
/opt/sunbird/mozilla-xremote-client: Error: Failed to send command: 500 command
not parsable: sunbird
Comment 12 Aron Griffis (RETIRED) gentoo-dev 2005-07-24 20:50:54 UTC
fixed with 0.2 in portage and mozilla-launcher-1.44, thanks