From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C803D138A1A for ; Wed, 11 Feb 2015 07:11:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB7F3E08EA; Wed, 11 Feb 2015 07:11:47 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E8932E08E6 for ; Wed, 11 Feb 2015 07:11:46 +0000 (UTC) Received: from [129.27.113.63] ([129.27.113.63]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MA9FV-1YRoJE15fl-00BKkY for ; Wed, 11 Feb 2015 08:11:45 +0100 Message-ID: <54DB00B0.7080105@gmx.at> Date: Wed, 11 Feb 2015 08:11:44 +0100 From: christoph irrenfried User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] Mathematica issue References: <54D372BA.7050603@gmx.at> <20150206022409.a12560d579bdefb7f3fc34f2@gentoo.org> In-Reply-To: <20150206022409.a12560d579bdefb7f3fc34f2@gentoo.org> Content-Type: multipart/alternative; boundary="------------090207000900030506050601" X-Provags-ID: V03:K0:uYnTM1mCvLoOBAYRUffRlw49orIj8oNhWFWALzmAYMqEsHdnDhc pCwZ0LzQevFk1ylUlPTfuF/xDZppnhcNNGdIA+WIDQC6jEAzrQ7ecIrrlps+ovAaTWqQg8H 5EhZ6wpkol9MfxABneIGR31u8E6Nc+YQPFBrIXc9SHpcC/eBDDHXRHKp9fC81YIhlax9j04 5ZTxqBMs0X98dcnGjQFDA== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 89cf8d85-44dd-4f52-8eda-b7f802000338 X-Archives-Hash: 82f72c038522d5fedd8f1c971b4ef700 This is a multi-part message in MIME format. --------------090207000900030506050601 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 02/06/2015 12:24 AM, Andrew Savchenko wrote: > 7) If anything above fails, there is one more step, an ultimate one. > Run (assuming Mathematica command runs it): > > $ strace -ff Mathematica -o mathematica > (install dev-util/strace if you don't have it) > > And look through all mathematica.$pid files. They will contain > every system call. You will be able to see what files application > tries to access, what network actions it tries to perform and so > on. The answer will be there, but it will not be very easy to find. > > A good start will be to grep trough all file and socket access (or > use -e filter of strace itself). Maybe it tries to load some > library, or to run some tool and fails. Maybe required component is > present on your system, but version is different from what is > needed. > > 8) As a complementary to strace you may use dev-util/ltrace. ltrace > will print you *each* library call made buy an application. Output > data will be enormous, but will contain a very detail fingerprint > of what application does. With some effort this should help to > understand what is wrong. Hi again. I had now some time and did the tracing with Strace: I got heaps of output but I cant really figure out what it means: Before i put in the license server: /[pid 18439] futex(0xc6cc80, FUTEX_WAKE_PRIVATE, 1) = 0 [pid 18439] futex(0xc6bf74, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5221, {1423637720, 118416000}, ffffffff) = -1 ETIMEDOUT (Connection timed out) [pid 18439] futex(0xc6cc80, FUTEX_WAKE_PRIVATE, 1) = 0 [pid 18439] futex(0xc6bf74, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5223, {1423637720, 138564000}, ffffffff [pid 18578] <... poll resumed> ) = 0 (Timeout) [pid 18573] <... poll resumed> ) = 0 (Timeout) [pid 18578] poll([{fd=38, events=POLLIN}], 1, 0 [pid 18573] poll([{fd=4, events=POLLIN}], 1, 0 [pid 18578] <... poll resumed> ) = 0 (Timeout) [pid 18573] <... poll resumed> ) = 0 (Timeout) [pid 18578] flock(45, LOCK_EX [pid 18573] flock(11, LOCK_EX [pid 18578] <... flock resumed> ) = 0 [pid 18573] <... flock resumed> ) = 0 [pid 18578] flock(45, LOCK_UN [pid 18573] flock(11, LOCK_UN [pid 18578] <... flock resumed> ) = 0 [pid 18573] <... flock resumed> ) = 0 [pid 18578] poll([{fd=38, events=POLLIN}], 1, 50 [pid 18573] poll([{fd=4, events=POLLIN}], 1, 50 / When I put in the license server: /[pid 18573] <... poll resumed> ) = 0 (Timeout) [pid 18573] poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout) [pid 18573] flock(11, LOCK_EX) = 0 [pid 18573] flock(11, LOCK_UN) = 0 [pid 18573] poll([{fd=4, events=POLLIN}], 1, 50 [pid 18439] <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out) [pid 18439] futex(0xc6cc80, FUTEX_WAKE_PRIVATE, 1) = 0 [pid 18439] futex(0xc6bf74, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 13547, {1423637805, 828488000}, ffffffff / When I quit the program: /[pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}]) [pid 18428] writev(3, [{"<\0\2\0\0\0@\2.\0\2\0E\21@\2+\0\1\0", 20}, {NULL, 0}, {"", 0}], 3) = 20 [pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}]) [pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\2!F\0\0\0\0\7\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32 [pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}]) [pid 18428] writev(3, [{"<\0\2\0\22\5@\2<\0\2\0\23\5@\2<\0\2\0\24\5@\2b\0\4\0\7\0\0\0", 32}, {"MIT-SHM", 7}, {"\0", 1}], 3) = 40 [pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}]) [pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0%F\0\0\0\0\1\202A\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32 [pid 18428] recvmsg(3, 0x7fffb66d1c10, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] recvmsg(3, 0x7fffb66d1c10, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}]) [pid 18428] writev(3, [{"b\0\10\0\27\0@\2", 8}, {"Generic Event Extension", 23}, {"\0", 1}], 3) = 32 [pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}]) [pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0&F\0\0\0\0\1\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32 [pid 18428] recvmsg(3, 0x7fffb66d1b70, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] recvmsg(3, 0x7fffb66d1b70, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}]) [pid 18428] writev(3, [{"\200\0\2\0\1\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8 [pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}]) [pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0'F\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32 [pid 18428] recvmsg(3, 0x7fffb66d1c20, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] recvmsg(3, 0x7fffb66d1c20, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] shmdt(0x7f889804c000) = 0 [pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}]) [pid 18428] writev(3, [{"\202\2\2\0\25\5@\2+\0\1\0", 12}, {NULL, 0}, {"", 0}], 3) = 12 [pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}]) [pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\2)F\0\0\0\0\7\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32 [pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] shutdown(3, SHUT_RDWR) = 0 [pid 18428] close(3) = 0 [pid 18428] write(7, "@", 1) = 1 [pid 18428] close(7) = 0 [pid 18428] close(6) = 0 [pid 18428] rt_sigaction(SIGCHLD, {0x7f88bb633fe0, [], SA_RESTORER|SA_NOCLDSTOP, 0x7f88b76d50f0}, {0x7f88bb633fe0, [], SA_RESTORER|SA_SIGINFO, 0x7f88b76d50f0}, 8) = 0 [pid 18428] rt_sigaction(SIGCHLD, {0x7f88bb633fe0, [], SA_RESTORER|SA_SIGINFO, 0x7f88b76d50f0}, NULL, 8) = 0 [pid 18428] futex(0x41d143c, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x41d1410, 24 [pid 18436] <... futex resumed> ) = 0 [pid 18428] <... futex resumed> ) = 1 [pid 18436] futex(0x41d1410, FUTEX_WAIT_PRIVATE, 2, NULL [pid 18428] futex(0x41d1410, FUTEX_WAKE_PRIVATE, 1 [pid 18436] <... futex resumed> ) = -1 EAGAIN (Resource temporarily unavailable) [pid 18428] <... futex resumed> ) = 0 [pid 18436] futex(0x41d1410, FUTEX_WAKE_PRIVATE, 1) = 0 [pid 18436] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x2381320} --- [pid 18436] write(2, "Mathematica has received the sig"..., 61Mathematica has received the signal: SIGSEGV and has exited. ) = 61 [pid 18436] write(2, "If possible, please report this "..., 63If possible, please report this problem to support@wolfram.com ) = 63 [pid 18436] write(2, "describing in as much detail as "..., 61describing in as much detail as possible what you were doing ) = 61 [pid 18436] write(2, "when the problem occurred.\n", 27when the problem occurred. ) = 27 [pid 18436] rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x7f88b76d50f0}, {0xae00d0, [], SA_RESTORER, 0x7f88b76d50f0}, 8) = 0 [pid 18436] tgkill(18428, 18436, SIGSEGV) = 0 [pid 18436] rt_sigreturn( [pid 18428] exit_group(0) = ? [pid 18436] <... rt_sigreturn resumed> ) = 37229344 [pid 18436] +++ exited with 0 +++ [pid 18428] +++ exited with 0 +++ <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 18428 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18428, si_status=0, si_utime=174, si_stime=73} --- wait4(-1, 0x7fff49e8e898, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn() = 0 rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f338d84b560}, {0x43b330, [], SA_RESTORER, 0x7f338d84b560}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "\n\n", 6035) = 2 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 read(255, "", 6035) = 0 exit_group(0) = ? +++ exited with 0 +++/ Anyone an idea whats going wrong? I also tried ltrace but it wont work: /chi@chi: ltrace -f mathematica "/usr/local/bin/mathematica" is not an ELF file/ A guy from the gentoo forum meant that I should put this in my make.conf and recompile: ABI_X86="64 32" It also did not help at all. ;( --------------090207000900030506050601 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit
On 02/06/2015 12:24 AM, Andrew Savchenko wrote:
7) If anything above fails, there is one more step, an ultimate one.
Run (assuming Mathematica command runs it):

$ strace -ff Mathematica -o mathematica
(install dev-util/strace if you don't have it)

And look through all mathematica.$pid files. They will contain
every system call. You will be able to see what files application
tries to access, what network actions it tries to perform and so
on. The answer will be there, but it will not be very easy to find.

A good start will be to grep trough all file and socket access (or
use -e filter of strace itself). Maybe it tries to load some
library, or to run some tool and fails. Maybe required component is
present on your system, but version is different from what is
needed.

8) As a complementary to strace you may use dev-util/ltrace. ltrace
will print you *each* library call made buy an application. Output
data will be enormous, but will contain a very detail fingerprint
of what application does. With some effort this should help to
understand what is wrong.
Hi again. I had now some time and did the tracing with Strace:

I got heaps of output but I cant really figure out what it means:


Before i put in the license server:
[pid 18439] futex(0xc6cc80, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 18439] futex(0xc6bf74, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5221, {1423637720, 118416000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
[pid 18439] futex(0xc6cc80, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 18439] futex(0xc6bf74, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5223, {1423637720, 138564000}, ffffffff <unfinished ...>
[pid 18578] <... poll resumed> )        = 0 (Timeout)
[pid 18573] <... poll resumed> )        = 0 (Timeout)
[pid 18578] poll([{fd=38, events=POLLIN}], 1, 0 <unfinished ...>
[pid 18573] poll([{fd=4, events=POLLIN}], 1, 0 <unfinished ...>
[pid 18578] <... poll resumed> )        = 0 (Timeout)
[pid 18573] <... poll resumed> )        = 0 (Timeout)
[pid 18578] flock(45, LOCK_EX <unfinished ...>
[pid 18573] flock(11, LOCK_EX <unfinished ...>
[pid 18578] <... flock resumed> )       = 0
[pid 18573] <... flock resumed> )       = 0
[pid 18578] flock(45, LOCK_UN <unfinished ...>
[pid 18573] flock(11, LOCK_UN <unfinished ...>
[pid 18578] <... flock resumed> )       = 0
[pid 18573] <... flock resumed> )       = 0
[pid 18578] poll([{fd=38, events=POLLIN}], 1, 50 <unfinished ...>
[pid 18573] poll([{fd=4, events=POLLIN}], 1, 50 <unfinished ...>




When I put in the license server:
[pid 18573] <... poll resumed> )        = 0 (Timeout)
[pid 18573] poll([{fd=4, events=POLLIN}], 1, 0) = 0 (Timeout)
[pid 18573] flock(11, LOCK_EX)          = 0
[pid 18573] flock(11, LOCK_UN)          = 0
[pid 18573] poll([{fd=4, events=POLLIN}], 1, 50 <unfinished ...>
[pid 18439] <... futex resumed> )       = -1 ETIMEDOUT (Connection timed out)
[pid 18439] futex(0xc6cc80, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 18439] futex(0xc6bf74, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 13547, {1423637805, 828488000}, ffffffff <unfinished ...>


When I quit the program:
[pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
[pid 18428] writev(3, [{"<\0\2\0\0\0@\2.\0\2\0E\21@\2+\0\1\0", 20}, {NULL, 0}, {"", 0}], 3) = 20
[pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
[pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\2!F\0\0\0\0\7\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
[pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
[pid 18428] writev(3, [{"<\0\2\0\22\5@\2<\0\2\0\23\5@\2<\0\2\0\24\5@\2b\0\4\0\7\0\0\0", 32}, {"MIT-SHM", 7}, {"\0", 1}], 3) = 40
[pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
[pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0%F\0\0\0\0\1\202A\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
[pid 18428] recvmsg(3, 0x7fffb66d1c10, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] recvmsg(3, 0x7fffb66d1c10, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
[pid 18428] writev(3, [{"b\0\10\0\27\0@\2", 8}, {"Generic Event Extension", 23}, {"\0", 1}], 3) = 32
[pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
[pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0&F\0\0\0\0\1\200\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
[pid 18428] recvmsg(3, 0x7fffb66d1b70, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] recvmsg(3, 0x7fffb66d1b70, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
[pid 18428] writev(3, [{"\200\0\2\0\1\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
[pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
[pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0'F\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
[pid 18428] recvmsg(3, 0x7fffb66d1c20, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] recvmsg(3, 0x7fffb66d1c20, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] shmdt(0x7f889804c000)       = 0
[pid 18428] poll([{fd=3, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=3, revents=POLLOUT}])
[pid 18428] writev(3, [{"\202\2\2\0\25\5@\2+\0\1\0", 12}, {NULL, 0}, {"", 0}], 3) = 12
[pid 18428] poll([{fd=3, events=POLLIN}], 1, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
[pid 18428] recvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{"\1\2)F\0\0\0\0\7\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
[pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] recvmsg(3, 0x7fffb66d1d70, 0) = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] shutdown(3, SHUT_RDWR)      = 0
[pid 18428] close(3)                    = 0
[pid 18428] write(7, "@", 1)            = 1
[pid 18428] close(7)                    = 0
[pid 18428] close(6)                    = 0
[pid 18428] rt_sigaction(SIGCHLD, {0x7f88bb633fe0, [], SA_RESTORER|SA_NOCLDSTOP, 0x7f88b76d50f0}, {0x7f88bb633fe0, [], SA_RESTORER|SA_SIGINFO, 0x7f88b76d50f0}, 8) = 0
[pid 18428] rt_sigaction(SIGCHLD, {0x7f88bb633fe0, [], SA_RESTORER|SA_SIGINFO, 0x7f88b76d50f0}, NULL, 8) = 0
[pid 18428] futex(0x41d143c, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x41d1410, 24 <unfinished ...>
[pid 18436] <... futex resumed> )       = 0
[pid 18428] <... futex resumed> )       = 1
[pid 18436] futex(0x41d1410, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 18428] futex(0x41d1410, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 18436] <... futex resumed> )       = -1 EAGAIN (Resource temporarily unavailable)
[pid 18428] <... futex resumed> )       = 0
[pid 18436] futex(0x41d1410, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 18436] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x2381320} ---
[pid 18436] write(2, "Mathematica has received the sig"..., 61Mathematica has received the signal: SIGSEGV and has exited.
) = 61
[pid 18436] write(2, "If possible, please report this "..., 63If possible, please report this problem to support@wolfram.com
) = 63
[pid 18436] write(2, "describing in as much detail as "..., 61describing in as much detail as possible what you were doing
) = 61
[pid 18436] write(2, "when the problem occurred.\n", 27when the problem occurred.
) = 27
[pid 18436] rt_sigaction(SIGSEGV, {SIG_DFL, [], SA_RESTORER, 0x7f88b76d50f0}, {0xae00d0, [], SA_RESTORER, 0x7f88b76d50f0}, 8) = 0
[pid 18436] tgkill(18428, 18436, SIGSEGV) = 0
[pid 18436] rt_sigreturn( <unfinished ...>
[pid 18428] exit_group(0)               = ?
[pid 18436] <... rt_sigreturn resumed> ) = 37229344
[pid 18436] +++ exited with 0 +++
[pid 18428] +++ exited with 0 +++
<... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 18428
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18428, si_status=0, si_utime=174, si_stime=73} ---
wait4(-1, 0x7fff49e8e898, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f338d84b560}, {0x43b330, [], SA_RESTORER, 0x7f338d84b560}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "\n\n", 6035)                 = 2
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "", 6035)                     = 0
exit_group(0)                           = ?
+++ exited with 0 +++


Anyone an idea whats going wrong?

I also tried ltrace but it wont work:
chi@chi: ltrace -f mathematica
"/usr/local/bin/mathematica" is not an ELF file


A guy from the gentoo forum meant that I should put this in my make.conf and recompile:
ABI_X86="64 32"
It also did not help at all. ;(

--------------090207000900030506050601--