I've just rsynced portage today and installed openoffice-bin (v2.4.1) but after emerging when i start it it crashes, see errors below. In the past I've had openoffice 2.1, 2.2, 2.3 on this machine and everything worked fine. Before installing 2.4.1 i've previously removed old version to avoid mistakes.. Reproducible: Always Steps to Reproduce: 1.emerge openoffice-bin 2.(it successfully emerges everything) 3.ooffice (from root account) Actual Results: here's what i get from command line: /usr/lib/openoffice/program/soffice: line 254: 25051 Segmentation fault "$sd_prog/$sd_binary" "$@" if i run for example oowriter i get: /var/tmp/portage # oowriter /usr/bin/soffice: line 254: 25080 Segmentation fault "$sd_prog/$sd_binary" "$@" Expected Results: Should at least run something... Here are some information about my system: System is a Pentium4 (hyperthreading) 3.0GHz, 3Gb Ram (DDR) here are my config files: ~ # cat /etc/make.conf CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" # This should not be changed unless you know exactly what you are doing. You should probably be using a different stage, instead. CHOST="i686-pc-linux-gnu" MAKEOPTS="-j2" GENTOO_MIRRORS=" \ ftp://ftp.unina.it/pub/linux/distributions/gentoo/ \ http://mirror.ing.unibo.it/gentoo/ \ http://mirror.bih.net.ba/gentoo/ \ http://trumpetti.atm.tut.fi/gentoo/ \ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ \ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ \ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ \ http://gentoo.inode.at/ \ http://gd.tuwien.ac.at/opsys/linux/gentoo/ \ http://ftp.club-internet.fr/pub/mirrors/gentoo/ \ ftp://ibiblio.org/pub/linux/distributions/gentoo/ \ " USE="X gnome gtk -doc symlink \ -kde -dlloader -ipv6 \ dbus sdl \ administrator query-browser workbench \ slang sasl jpeg png \ ads acl kerberos cups pam winbind ldap \ " VIDEO_CARDS="fglrx" ~ # ls -la /etc/|grep make.profile lrwxrwxrwx 1 root root 49 Aug 19 17:31 make.profile->..//usr/portage/profiles/default/linux/x86/2008.0 ~ # cat /etc/portage/package.keywords app-emulation/vmware-server app-emulation/vmware-server-console x11-drivers/ati-drivers x86 dev-db/mysql-gui-tools ~x86 sys-libs/libhx ~x86 sys-auth/pam_mount ~x86 ~ # cat /etc/portage/package.mask =net-misc/openssh-4.6_p1-r2 Any other information needed about my system ? Thanks in advance for your reply Regards
suggest using strace to see if its grabing bad input in a config file would be my guess.
(In reply to comment #1) > suggest using strace to see if its grabing bad input in a config file would be > my guess. > here are some information for you from strace: ~ # strace ooffice execve("/usr/bin/ooffice", ["ooffice"], [/* 34 vars */]) = 0 brk(0) = 0x80e9000 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fd7000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/tls/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg/tls/i686/sse2", 0xbfb7af08) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg/tls/i686", 0xbfb7af08) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/tls/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg/tls/sse2", 0xbfb7af08) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg/tls", 0xbfb7af08) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/i686/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg/i686/sse2", 0xbfb7af08) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg/i686", 0xbfb7af08) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg/sse2", 0xbfb7af08) = -1 ENOENT (No such file or directory) open("/usr/lib/xorg/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or directory) stat64("/usr/lib/xorg", {st_mode=S_IFDIR|0755, st_size=568, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=64777, ...}) = 0 mmap2(NULL, 64777, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fc7000 close(3) = 0 open("/lib/libncurses.so.5", 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\320\356\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=260620, ...}) = 0 mmap2(NULL, 265700, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f86000 mmap2(0xb7fbe000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x37) = 0xb7fbe000 close(3) = 0 open("/usr/lib/xorg/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory) 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`\f\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=9568, ...}) = 0 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f82000 mmap2(0xb7f84000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f84000 close(3) = 0 open("/usr/lib/xorg/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) 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 [\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1229040, ...}) = 0 mmap2(NULL, 1234376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e54000 mmap2(0xb7f7c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x128) = 0xb7f7c000 mmap2(0xb7f7f000, 9672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f7f000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e53000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e536c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7f7c000, 4096, PROT_READ) = 0 munmap(0xb7fc7000, 64777) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3 close(3) = 0 brk(0) = 0x80e9000 brk(0x810a000) = 0x810a000 getuid32() = 0 getgid32() = 0 geteuid32() = 0 getegid32() = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 time(NULL) = 1219661299 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) = 0xb7fd6000 read(3, "MemTotal: 3115328 kB\nMemFre"..., 1024) = 728 close(3) = 0 munmap(0xb7fd6000, 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="andrea2", ...}) = 0 stat64("/root", {st_mode=S_IFDIR|0700, st_size=1648, ...}) = 0 stat64(".", {st_mode=S_IFDIR|0700, st_size=1648, ...}) = 0 getpid() = 8054 getppid() = 8053 getpgrp() = 8053 rt_sigaction(SIGCHLD, {0x8077d97, [], 0}, {SIG_DFL}, 8) = 0 getrlimit(RLIMIT_NPROC, {rlim_cur=24575, rlim_max=24575}) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 open("/usr/bin/ooffice", O_RDONLY|O_LARGEFILE) = 3 ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfb7b498) = -1 ENOTTY (Inappropriate ioctl for device) _llseek(3, 0, [0], SEEK_CUR) = 0 read(3, "#!/bin/sh\nexport OOO_EXTRA_ARG=\'"..., 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=93, ...}) = 0 _llseek(255, 0, [0], SEEK_CUR) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "#!/bin/sh\nexport OOO_EXTRA_ARG=\'"..., 93) = 93 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, [INT CHLD], [], 8) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e53708) = 8055 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, {0x8078894, [], 0}, {SIG_DFL}, 8) = 0 waitpid(-1, /usr/lib/openoffice/program/soffice: line 254: 8064 Segmentation fault "$sd_prog/$sd_binary" "$@" [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 8055 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD (Child exited) @ 0 (0) --- waitpid(-1, 0xbfb7b058, WNOHANG) = -1 ECHILD (No child processes) sigreturn() = ? (mask now []) rt_sigaction(SIGINT, {SIG_DFL}, {0x8078894, [], 0}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "", 93) = 0 exit_group(0) = ? ~ #
For you information: ncurses is installed, see output below.. ~ # equery list ncurses [ Searching for package 'ncurses' in all categories among: ] * installed packages [I--] [ ] sys-libs/ncurses-5.6-r2 (5)
please cd to /usr/lib/openoffice/program and strace the ./soffice.bin executable there
Created attachment 164983 [details] See my output Ok Guys, here's my output, see attached file /usr/lib/openoffice/program # strace ./soffice.bin > output 2>&1
I can confirm this is happening to me too... BUT only if I start it from a GUI. If I start it from gnome-terminal, it doesn't crash. If I use the "Start in Terminal" feature of deskbar-applet, I get this: /usr/bin/soffice: line 254: 17496 Segmentation fault "$sd_prog/$sd_binary" "$@" And in every case I'm starting "oowriter". It crashes when I add a panel button for "oowriter", start it from deskbar-applet (terminal or not), or use the Office > OpenOffice 2.4.1 menu item. But again, it works from gnome-terminal. Also, I never launched it in a root terminal like the OP. And when I do launch it post-crash, it asks me to recover a blank document. Maybe it's crashing loading the default template.
If it helps, OpenOffice.org 3.0 works great (I've worked around this bug by upgrading).
Hmmm, that strace looks like an OpenGl issue - it crashes when reading libGL. Does this crash happen when you dont use fglrx? Ideally test with a very basic vesa x11-driver without dri and somesuch.
(In reply to comment #8) > Hmmm, that strace looks like an OpenGl issue - it crashes when reading libGL. > Does this crash happen when you dont use fglrx? Ideally test with a very basic > vesa x11-driver without dri and somesuch. > I'll try with it, i'll you post something (xorg.conf) if it fails or goes fine Ben
I agree, this looks like a graphics driver problem / config problem (like most OOo startup problems we get reported)
(In reply to comment #10) > I agree, this looks like a graphics driver problem / config problem (like most > OOo startup problems we get reported) > So - closing