haertig |
07-11-2006 04:35 PM |
Quote:
Originally Posted by Mega Man X
You may be linking the wrong plugin to Firefox
|
Thanks. I looked at this but unfortunately it doesn't appear to be the problem. I tried linking to each of the plugins (.../ns7/libjavaplugin_oji.so and .../ns7-gcc29/libjavaplugin_oji.so) from /usr/lib/mozilla/plugins, /usr/lib/mozilla-firefox/plugins and /usr/lib/firefox/plugins but no go. Same SIGSEGV.
Then I ran strace on firefox and can see that it's successfully accessing the plugin via the symlink, but it dies a bit later, right after spawning a child process and closing some socket file descriptors. I don't know what to make of that yet.
strace output right before the SIGSEGV:
Code:
...
stat64("/usr/lib/j2re1.5-sun/lib", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [49, 50]) = 0
fcntl64(49, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(49, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl64(50, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(50, F_SETFL, O_RDWR|O_NONBLOCK) = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [51, 52]) = 0
fcntl64(51, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(51, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl64(52, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(52, F_SETFL, O_RDWR|O_NONBLOCK) = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [53, 54]) = 0
fcntl64(53, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(53, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl64(54, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(54, F_SETFL, O_RDWR|O_NONBLOCK) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb72ee928) = 6164
close(52) = 0
close(50) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
unlink("/home/haertig/.mozilla/firefox/p38dk38f.default/lock") = 0
rt_sigaction(SIGSEGV, {SIG_DFL}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [SEGV], NULL, 8) = 0
tgkill(6141, 6141, SIGSEGV) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
|