Boinc in linux

Message boards : Questions and problems : Boinc in linux
Message board moderation

To post messages, you must log in.

AuthorMessage
Will2Kill

Send message
Joined: 29 Dec 10
Posts: 8
Greece
Message 36250 - Posted: 29 Dec 2010, 9:59:27 UTC

I just installed boinc in my Linux Mint.
The manager starts however it says I'm disconnected, doen't let me add new projects or attach my GridRepublic account.
There is no firewall and I've tried opening it as root, is there something you can advise me to do?
Thanks in advance.
ID: 36250 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 36253 - Posted: 29 Dec 2010, 11:42:53 UTC - in response to Message 36250.  

The manager starts...

Does the client start too?

Gruß,
Gundolf
ID: 36253 · Report as offensive
Will2Kill

Send message
Joined: 29 Dec 10
Posts: 8
Greece
Message 36254 - Posted: 29 Dec 2010, 12:23:47 UTC - in response to Message 36253.  
Last modified: 29 Dec 2010, 12:25:33 UTC

I just tried starting the client alone from the terminal and noticed this line at the end.

29-Dec-2010 14:18:42 [---] Starting BOINC client version 6.10.58 for x86_64-pc-linux-gnu
29-Dec-2010 14:18:42 [---] log flags: file_xfer, sched_ops, task
29-Dec-2010 14:18:42 [---] Libraries: libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
29-Dec-2010 14:18:42 [---] Data directory: /home/will2kill
29-Dec-2010 14:18:42 [---] Processor: 2 AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ [Family 15 Model 67 Stepping 3]
29-Dec-2010 14:18:42 [---] Processor: 1.00 MB cache
29-Dec-2010 14:18:42 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
29-Dec-2010 14:18:42 [---] OS: Linux: 2.6.35-22-generic
29-Dec-2010 14:18:42 [---] Memory: 3.19 GB physical, 4.66 GB virtual
29-Dec-2010 14:18:42 [---] Disk: 87.09 GB total, 78.75 GB free
29-Dec-2010 14:18:42 [---] Local time is UTC +2 hours
29-Dec-2010 14:18:42 [---] ATI GPU 0: ATI Radeon HD 2600 (RV630) (CAL version 1.4.838, 512MB, 50 GFLOPS peak)
29-Dec-2010 14:18:42 [---] No general preferences found - using BOINC defaults
29-Dec-2010 14:18:42 [---] Preferences:
29-Dec-2010 14:18:42 [---] max memory usage when active: 1635.19MB
29-Dec-2010 14:18:42 [---] max memory usage when idle: 2943.34MB
*** buffer overflow detected ***: boinc terminated

So no the client doesn't run, even if the manager automatically starts the client, it would most likely have the same problem and close.

It had lots more text under this but I thought it's irrelevant. Tell me if you think they might help.
ID: 36254 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 36263 - Posted: 30 Dec 2010, 8:53:15 UTC - in response to Message 36254.  

That text under it may be a stack dump. Yeah, it would be helpful (to a developer).
Kathryn :o)
ID: 36263 · Report as offensive
Will2Kill

Send message
Joined: 29 Dec 10
Posts: 8
Greece
Message 36269 - Posted: 30 Dec 2010, 11:26:31 UTC - in response to Message 36263.  

Ok here is the whole message.

Hope it helps somehow

30-Dec-2010 13:24:39 [---] Starting BOINC client version 6.10.58 for x86_64-pc-linux-gnu
30-Dec-2010 13:24:39 [---] log flags: file_xfer, sched_ops, task
30-Dec-2010 13:24:39 [---] Libraries: libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
30-Dec-2010 13:24:39 [---] Data directory: /home/will2kill
30-Dec-2010 13:24:39 [---] Processor: 2 AuthenticAMD AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ [Family 15 Model 67 Stepping 3]
30-Dec-2010 13:24:39 [---] Processor: 1.00 MB cache
30-Dec-2010 13:24:39 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
30-Dec-2010 13:24:39 [---] OS: Linux: 2.6.35-22-generic
30-Dec-2010 13:24:39 [---] Memory: 3.19 GB physical, 4.66 GB virtual
30-Dec-2010 13:24:39 [---] Disk: 87.09 GB total, 62.06 GB free
30-Dec-2010 13:24:39 [---] Local time is UTC +2 hours
30-Dec-2010 13:24:39 [---] ATI GPU 0: ATI Radeon HD 2600 (RV630) (CAL version 1.4.838, 512MB, 50 GFLOPS peak)
30-Dec-2010 13:24:40 [---] No general preferences found - using BOINC defaults
30-Dec-2010 13:24:40 [---] Preferences:
30-Dec-2010 13:24:40 [---]    max memory usage when active: 1635.19MB
30-Dec-2010 13:24:40 [---]    max memory usage when idle: 2943.34MB
*** buffer overflow detected ***: boinc terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7fa79e879537]
/lib/libc.so.6(+0xfe3f0)[0x7fa79e8783f0]
/lib/libc.so.6(+0xfd859)[0x7fa79e877859]
/lib/libc.so.6(_IO_default_xsputn+0xcc)[0x7fa79e7efc2c]
/lib/libc.so.6(_IO_vfprintf+0x3d6c)[0x7fa79e7c33ac]
/lib/libc.so.6(__vsprintf_chk+0x99)[0x7fa79e8778f9]
/lib/libc.so.6(__sprintf_chk+0x7f)[0x7fa79e87783f]
boinc[0x461adb]
boinc[0x461afe]
======= Memory map: ========
00400000-00492000 r-xp 00000000 08:07 2360172                            /usr/bin/boinc
00691000-00692000 r--p 00091000 08:07 2360172                            /usr/bin/boinc
00692000-00693000 rw-p 00092000 08:07 2360172                            /usr/bin/boinc
00693000-0069f000 rw-p 00000000 00:00 0 
01219000-01395000 rw-p 00000000 00:00 0                                  [heap]
7fa79a3ea000-7fa79a467000 rw-p 00000000 00:00 0 
7fa79ab67000-7fa79ac15000 r-xp 00000000 08:07 2494953                    /usr/lib/fglrx/libGL.so.1.2
7fa79ac15000-7fa79ad15000 ---p 000ae000 08:07 2494953                    /usr/lib/fglrx/libGL.so.1.2
7fa79ad15000-7fa79ad39000 rwxp 000ae000 08:07 2494953                    /usr/lib/fglrx/libGL.so.1.2
7fa79ad39000-7fa79ad40000 rwxp 00000000 00:00 0 
7fa79ad40000-7fa79ad47000 r-xp 00000000 08:07 2494960                    /usr/lib/fglrx/libatiuki.so.1.0
7fa79ad47000-7fa79ae47000 ---p 00007000 08:07 2494960                    /usr/lib/fglrx/libatiuki.so.1.0
7fa79ae47000-7fa79ae48000 rw-p 00007000 08:07 2494960                    /usr/lib/fglrx/libatiuki.so.1.0
7fa79ae48000-7fa79ae49000 rw-p 00000000 00:00 0 
7fa79ae49000-7fa79b4d0000 r-xp 00000000 08:07 2494958                    /usr/lib/fglrx/libaticaldd.so
7fa79b4d0000-7fa79b5cf000 ---p 00687000 08:07 2494958                    /usr/lib/fglrx/libaticaldd.so
7fa79b5cf000-7fa79b617000 rw-p 00686000 08:07 2494958                    /usr/lib/fglrx/libaticaldd.so
7fa79b617000-7fa79b6de000 rw-p 00000000 00:00 0 
7fa79b6de000-7fa79b6e3000 r-xp 00000000 08:07 2362562                    /usr/lib/libXdmcp.so.6.0.0
7fa79b6e3000-7fa79b8e2000 ---p 00005000 08:07 2362562                    /usr/lib/libXdmcp.so.6.0.0
7fa79b8e2000-7fa79b8e3000 r--p 00004000 08:07 2362562                    /usr/lib/libXdmcp.so.6.0.0
7fa79b8e3000-7fa79b8e4000 rw-p 00005000 08:07 2362562                    /usr/lib/libXdmcp.so.6.0.0
7fa79b8e4000-7fa79b8e6000 r-xp 00000000 08:07 2362551                    /usr/lib/libXau.so.6.0.0
7fa79b8e6000-7fa79bae5000 ---p 00002000 08:07 2362551                    /usr/lib/libXau.so.6.0.0
7fa79bae5000-7fa79bae6000 r--p 00001000 08:07 2362551                    /usr/lib/libXau.so.6.0.0
7fa79bae6000-7fa79bae7000 rw-p 00002000 08:07 2362551                    /usr/lib/libXau.so.6.0.0
7fa79bae7000-7fa79bb02000 r-xp 00000000 08:07 2363766                    /usr/lib/libxcb.so.1.1.0
7fa79bb02000-7fa79bd02000 ---p 0001b000 08:07 2363766                    /usr/lib/libxcb.so.1.1.0
7fa79bd02000-7fa79bd03000 r--p 0001b000 08:07 2363766                    /usr/lib/libxcb.so.1.1.0
7fa79bd03000-7fa79bd04000 rw-p 0001c000 08:07 2363766                    /usr/lib/libxcb.so.1.1.0
7fa79bd04000-7fa79be35000 r-xp 00000000 08:07 2362547                    /usr/lib/libX11.so.6.3.0
7fa79be35000-7fa79c035000 ---p 00131000 08:07 2362547                    /usr/lib/libX11.so.6.3.0
7fa79c035000-7fa79c036000 r--p 00131000 08:07 2362547                    /usr/lib/libX11.so.6.3.0
7fa79c036000-7fa79c03a000 rw-p 00132000 08:07 2362547                    /usr/lib/libX11.so.6.3.0
7fa79c03a000-7fa79c04b000 r-xp 00000000 08:07 2362564                    /usr/lib/libXext.so.6.4.0
7fa79c04b000-7fa79c24a000 ---p 00011000 08:07 2362564                    /usr/lib/libXext.so.6.4.0
7fa79c24a000-7fa79c24b000 r--p 00010000 08:07 2362564                    /usr/lib/libXext.so.6.4.0
7fa79c24b000-7fa79c24c000 rw-p 00011000 08:07 2362564                    /usr/lib/libXext.so.6.4.0
7fa79c24c000-7fa79c258000 r-xp 00000000 08:07 265958                     /lib/libnss_files-2.12.1.so
7fa79c258000-7fa79c457000 ---p 0000c000 08:07 265958                     /lib/libnss_files-2.12.1.so
7fa79c457000-7fa79c458000 r--p 0000b000 08:07 265958                     /lib/libnss_files-2.12.1.so
7fa79c458000-7fa79c459000 rw-p 0000c000 08:07 265958                     /lib/libnss_files-2.12.1.so
7fa79c459000-7fa79c45c000 r-xp 00000000 08:07 262230                     /lib/libgpg-error.so.0.4.0
7fa79c45c000-7fa79c65b000 ---p 00003000 08:07 262230                     /lib/libgpg-error.so.0.4.0
7fa79c65b000-7fa79c65c000 r--p 00002000 08:07 262230                     /lib/libgpg-error.so.0.4.0
7fa79c65c000-7fa79c65d000 rw-p 00003000 08:07 262230                     /lib/libgpg-error.so.0.4.0
7fa79c65d000-7fa79c6d1000 r-xp 00000000 08:07 262226                     /lib/libgcrypt.so.11.5.3
7fa79c6d1000-7fa79c8d1000 ---p 00074000 08:07 262226                     /lib/libgcrypt.so.11.5.3
7fa79c8d1000-7fa79c8d2000 r--p 00074000 08:07 262226                     /lib/libgcrypt.so.11.5.3
7fa79c8d2000-7fa79c8d5000 rw-p 00075000 08:07 262226                     /lib/libgcrypt.so.11.5.3
7fa79c8d5000-7fa79c8e5000 r-xp 00000000 08:07 2363630                    /usr/lib/libtasn1.so.3.1.9
7fa79c8e5000-7fa79cae4000 ---p 00010000 08:07 2363630                    /usr/lib/libtasn1.so.3.1.9
7fa79cae4000-7fa79cae5000 r--p 0000f000 08:07 2363630                    /usr/lib/libtasn1.so.3.1.9
7fa79cae5000-7fa79cae6000 rw-p 00010000 08:07 2363630                    /usr/lib/libtasn1.so.3.1.9
7fa79cae6000-7fa79cae8000 r-xp 00000000 08:07 262239                     /lib/libkeyutils.so.1.3
7fa79cae8000-7fa79cce7000 ---p 00002000 08:07 262239                     /lib/libkeyutils.so.1.3
7fa79cce7000-7fa79cce8000 r--p 00001000 08:07 262239                     /lib/libkeyutils.so.1.3
7fa79cce8000-7fa79cce9000 rw-p 00002000 08:07 262239                     /lib/libkeyutils.so.1.3
7fa79cce9000-7fa79ccf0000 r-xp 00000000 08:07 2363275                    /usr/lib/libkrb5support.so.0.1
7fa79ccf0000-7fa79ceef000 ---p 00007000 08:07 2363275                    /usr/lib/libkrb5support.so.0.1
7fa79ceef000-7fa79cef0000 r--p 00006000 08:07 2363275                    /usr/lib/libkrb5support.so.0.1
7fa79cef0000-7fa79cef1000 rw-p 00007000 08:07 2363275                    /usr/lib/libkrb5support.so.0.1
7fa79cef1000-7fa79cef4000 r-xp 00000000 08:07 262196                     /lib/libcom_err.so.2.1
7fa79cef4000-7fa79d0f3000 ---p 00003000 08:07 262196                     /lib/libcom_err.so.2.1SIGABRT: abort called
Stack trace (14 frames):
boinc(boinc_catch_signal+0x4d)[0x4602fd]
/lib/libpthread.so.0(+0xfb40)[0x7fa79f2abb40]
/lib/libc.so.6(gsignal+0x35)[0x7fa79e7adba5]
/lib/libc.so.6(abort+0x180)[0x7fa79e7b16b0]
/lib/libc.so.6(+0x6d43b)[0x7fa79e7e743b]
/lib/libc.so.6(__fortify_fail+0x37)[0x7fa79e879537]
/lib/libc.so.6(+0xfe3f0)[0x7fa79e8783f0]
/lib/libc.so.6(+0xfd859)[0x7fa79e877859]
/lib/libc.so.6(_IO_default_xsputn+0xcc)[0x7fa79e7efc2c]
/lib/libc.so.6(_IO_vfprintf+0x3d6c)[0x7fa79e7c33ac]
/lib/libc.so.6(__vsprintf_chk+0x99)[0x7fa79e8778f9]
/lib/libc.so.6(__sprintf_chk+0x7f)[0x7fa79e87783f]
boinc[0x461adb]
boinc[0x461afe]

Exiting...

ID: 36269 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 36290 - Posted: 31 Dec 2010, 8:21:32 UTC

Yeah. That's a stack dump.

Can you give exact details about the distro you're running. What version and what kernel (open a terminal window and do uname -a) Also, 32 or 64 bit? And what is the last version of BOINC you were able to run successfully? How did you install, package manager or some other way?
Kathryn :o)
ID: 36290 · Report as offensive
Will2Kill

Send message
Joined: 29 Dec 10
Posts: 8
Greece
Message 36298 - Posted: 31 Dec 2010, 12:32:42 UTC - in response to Message 36290.  
Last modified: 31 Dec 2010, 12:32:54 UTC

Linux SpawnOfSatan 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux


I think this answers to all.
I have never run a version of boinc in this distro, I installed from the package manager. Maybe the repository I'm using is out of date?
The latest version listed in the package manager is 6.10.58+dfsg-3.
ID: 36298 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 36304 - Posted: 1 Jan 2011, 9:15:28 UTC

Can you try downloading an older version from Berkeley. You can just unpack the .sh into your home directory and see if it runs.
Kathryn :o)
ID: 36304 · Report as offensive
Will2Kill

Send message
Joined: 29 Dec 10
Posts: 8
Greece
Message 36305 - Posted: 1 Jan 2011, 14:06:59 UTC - in response to Message 36304.  

Ok, now I downloaded an older version and ran it with the sh command.
It asked my to 'use /home/will2kill/BOINC/run_manager to start BOINC' so I did and now it's working.
Then just for giggles I downloaded the latest version's sh and that's working too.

Maybe I can just keep using that but it's just weird.
ID: 36305 · Report as offensive
whynot

Send message
Joined: 8 May 10
Posts: 89
Ukraine
Message 36309 - Posted: 1 Jan 2011, 20:00:57 UTC

(mere attempt to stop that insanity (I suppose it's going to fail anyway)) The main idea of bug reporting is to report them upstream. Your upstream isn't (surprise, surprise) boinc. It's Mint (as you told us here). So please, enlighten Mint people.

However, I've just found out that mint has no bugtracker. It uses the one of bubuntu. So please report there. However, AFAIK, bubuntu just tracks boinc package of debian. Bugreporting debian is a bit difficult. debian maintains bugs via email. It's easy but, I suppose, is a bit surprising. Thus one would need a reportbug tool.

However, you just told us that boinc acquired from boinc directly works just fine (either version). Thus, considering this, be it good for you.

I'm counting for science,
points just make me sick.
ID: 36309 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 36314 - Posted: 2 Jan 2011, 8:25:55 UTC

whynot... Yes, I can see now that he needs to report upstream to the package manager. I think that the experiment with the sh directly from Berkeley was still a good one and shows that it's not BOINC per say, but Mint's/Ubuntu's/Debian's (whoever the heck owns this package) is the problem.

Sometimes the bug is with BOINC. I can't run 6.12 on my machine, period. Well, maybe with more futzing than I'm willing to do, but out of the box. No.
Kathryn :o)
ID: 36314 · Report as offensive
ev4n

Send message
Joined: 26 Apr 11
Posts: 2
China
Message 37598 - Posted: 26 Apr 2011, 13:39:51 UTC

OK,all,how about the bug now?I met the same information too,with the fedora 142.6.35.10-74.fc14.i686,that I can run my manager but the client is down.When I try to restart the client in the terminal,I get the buffer overflow back just like:
/lib/libc.so.6(__fortify_fail+0x4d)[0x7d55dd]
/lib/libc.so.6(+0x5b86aa)[0x7d36aa]
/lib/libc.so.6(+0x5b7da8)[0x7d2da8]
/lib/libc.so.6(_IO_default_xsputn+0x13d)[0x74f6bd]
/lib/libc.so.6(_IO_vfprintf+0x18cf)[0x724d4f]
/lib/libc.so.6(__vsprintf_chk+0xa7)[0x7d2e57]
/lib/libc.so.6(__sprintf_chk+0x2d)[0x7d2d9d]
/usr/lib/libboinc.so.6(_Z8dir_sizePKcRdb+0xea)[0x5bbd7a]

ID: 37598 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 37599 - Posted: 26 Apr 2011, 13:49:49 UTC - in response to Message 37598.  

Which version of BOINC?
Where did you get it from?
ID: 37599 · Report as offensive
ev4n

Send message
Joined: 26 Apr 11
Posts: 2
China
Message 37600 - Posted: 26 Apr 2011, 13:59:25 UTC - in response to Message 37599.  

boinc-manager-6.10.58-3.r22930svn.fc14.i686
boinc-client-6.10.58-3.r22930svn.fc14.i686
installed from yum install

ID: 37600 · Report as offensive
andkit

Send message
Joined: 11 May 11
Posts: 2
Germany
Message 37758 - Posted: 11 May 2011, 10:48:02 UTC

I have hit this too (boinc 6.10.58 on gentoo linux) and done some debugging on my machine.
The problem is that the dir_size function in lib/filesys.cpp is rather naive: it blindly follows symlinks and also assumes that any subpath it encounters fits in 255 bytes. The yoyo@home project has recently started to provide their muon subproject also on linux hosts, with the help of wine. Now there is a .wine configuration directory in my boinc directory that contains e.g. this symlink:


lrwxrwxrwx 1 boinc boinc 14 May 11 12:22 /var/lib/boinc/.wine/dosdevices/c:/users/boinc/My Documents -> /var/lib/boinc


This is essentially causes an endless recursion in dir_size, that is quickly ended ;) by overflowing the 256 bytes of the buffer

After removing the .wine directory everything worked again.
I guess setting WINEPREFIX to somewhere outside the boinc directory inside the startup scripts should be a temporary workaround.

Also when googling the issue I first found:
http://boinc.berkeley.edu/trac/ticket/1108

Which seems to be the same problem, however either I'm blind and just can't find how to register an account there, or it's reserved for devs only?
Otherwise I'd have left a comment there too, so whoever has to fix it doesn't have to start searching from scratch.
ID: 37758 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 37759 - Posted: 11 May 2011, 11:14:16 UTC - in response to Message 37758.  
Last modified: 11 May 2011, 11:14:39 UTC

...however either I'm blind and just can't find how to register an account there, or it's reserved for devs only?

You're not blind. They've got Trac off-limits to the general public as spammers find it very funny to register there and start spamming the Wiki and the ticket system. If you want an account, email David Anderson. But then you could just as well tell him directly what you found. ;-)

However, before you start emailing David directly, it's probably better that you register at the BOINC Development email list and post to that. Then it'll show up to anyone who is registered on this list and who may help you out.
ID: 37759 · Report as offensive
andkit

Send message
Joined: 11 May 11
Posts: 2
Germany
Message 37763 - Posted: 11 May 2011, 14:06:48 UTC - in response to Message 37759.  

You're not blind. They've got Trac off-limits to the general public as spammers find it very funny to register there and start spamming the Wiki and the ticket system.

Yeah, I figured it might be something like that, but it's good to know my eyes are still OK ;)

However, before you start emailing David directly, it's probably better that you register at the BOINC Development email list and post to that. Then it'll show up to anyone who is registered on this list and who may help you out.


Ok, I'll do that, thanks for the info.
ID: 37763 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15484
Netherlands
Message 37774 - Posted: 12 May 2011, 12:21:34 UTC - in response to Message 37763.  

Congratulations, 3 posts to that list and pronto: [trac]changeset:23529[/trac]. :)
ID: 37774 · Report as offensive

Message boards : Questions and problems : Boinc in linux

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.