Segmentation fault (core dumped) on NetBSD/alpha


log in

Advanced search

Questions and Answers : Unix/Linux : Segmentation fault (core dumped) on NetBSD/alpha

Author Message
ofr
Send message
Joined: 26 Mar 00
Posts: 2
Credit: 33,894
RAC: 0
Switzerland
Message 919715 - Posted: 20 Jul 2009, 15:34:34 UTC

I try to compile the current setiathome client on NetBSD/alpha: NetBSD 5.0 (GENERIC-$Revision: 1.325 $)

While running the client, Segmentation fault (core dumped) occurs...

bash-3.2# ktruss ./seti_boinc
11572 1 ktruss emul(netbsd)
11572 1 ktruss fcntl(0x4, 0x3, 0) = 1
11572 1 ktruss fcntl(0x4, 0x4, 0x1) = 0
11572 1 seti_boinc emul(netbsd)
11572 1 seti_boinc execve("./seti_boinc", 0x1ffffd828, 0x1ffffd838) JUSTRETURN
11572 1 seti_boinc __sysctl(0x1ffffd2fc, 0x2, 0x12022ee30, 0x1ffffd308, 0, 0) = 0
11572 1 seti_boinc __sysctl(0x1ffffd218, 0x2, 0x12022eefc, 0x1ffffd220, 0, 0) = 0
11572 1 seti_boinc readlink("/etc/malloc.conf", 0x1ffffd328, 0x400) = 1
11572 1 seti_boinc mmap(0, 0x2000, 0x3, 0x1002, 0xffffffffffffffff, 0, 0) = 0x160220000
11572 1 seti_boinc SIGSEGV SIG_DFL

i cannot read this. At least i think the problem has something to do with memory...

(PS: i have a ln -s 'A' /etc/malloc.conf as written in the man page of malloc)

____________

Dotsch
Volunteer tester
Avatar
Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 847,804
RAC: 3
Germany
Message 919777 - Posted: 20 Jul 2009, 18:19:15 UTC

Could you please try to create a empty init_data.xml in the directory, where the SETI application and the reference WU resides. - I gues you have tried to test the application in the standalone mode with the reference wu...

Have you tried to let the application run within BOINC ? - Does it also crash ?

What compiler options and gcc do you have used ?
Do you have made any modifications in the source or any problems at compiling the application or the BOINC client ?
Eventualy a older gcc and a lower optimisation could help.

How excatly do you have the application linked ? - Eventualy helps to link the application dynamicly.

Are you interested to make the BOINC client and the SETI application public, if it will work ? - I had also made a lot of differnet ports of BOINC and SETI, but never had access to NetBSD on Alpha...

ofr
Send message
Joined: 26 Mar 00
Posts: 2
Credit: 33,894
RAC: 0
Switzerland
Message 921357 - Posted: 25 Jul 2009, 21:23:24 UTC

i used the _autosetup script and ./configure -C, then make

needed to make minor modifications in the source (remove -ldl from Makefiles and made a modification in the client/vector/analyzeFuncs_vector.cpp to go around the error: 'isnotnan' was not declared in this scope.)

gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

for now i will try an older version of gcc

If i get the client working, sure i can share it.

Questions and Answers : Unix/Linux : Segmentation fault (core dumped) on NetBSD/alpha

Copyright © 2014 University of California