Corruptedlibc.so.6???

Message boards : Number crunching : Corruptedlibc.so.6???
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882598 - Posted: 7 Aug 2017, 9:31:43 UTC

Last night one of my Linux crunchers decided to stop crunching...
Today, trying to start BOINC manually from the command prompt I get the following "rude" message:

07-Aug-2017 10:22:03 Initialization completed
07-Aug-2017 10:22:03 [---] Running CPU benchmarks
07-Aug-2017 10:22:03 [---] Suspending computation - CPU benchmarks in progress
*** buffer overflow detected ***: boinc terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fe5187527e5]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fe5187f356c]
/lib/x86_64-linux-gnu/libc.so.6(+0x116570)[0x7fe5187f1570]
/lib/x86_64-linux-gnu/libc.so.6(+0x115ad9)[0x7fe5187f0ad9]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x80)[0x7fe5187566b0]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x139b)[0x7fe51872950b]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7fe5187f0b64]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7fe5187f0abd]


Help!!!!
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882598 · Report as offensive
Profile Brent Norman
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 1824
Credit: 108,115,720
RAC: 457,686
Canada
Message 1882601 - Posted: 7 Aug 2017, 9:51:35 UTC - in response to Message 1882598.  

Can't you just download the file again and replace it? Or is it now currently available?
ID: 1882601 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3807
Credit: 187,312,891
RAC: 238,528
United States
Message 1882603 - Posted: 7 Aug 2017, 10:07:46 UTC

There's a lot of changes going on with this forced "update" to kernel 4.10. They are basically forcing you to update from kernel 4.8 to 4.10 and there are a ton of updates that go with the update. I've found it's best not to fight it. It means removing the driver from nVidia and installing the Repository driver before letting them update you to kernel 4.10 and accepting all the updates. The drivers from nVidia don't work very well with 4.10 on my machines. If you just let them have their way everything seems to work OK with 4.10 and the 375.66 driver from the Repository. Just the Memory OC doesn't work with coolbits with the Repository driver. I usually do the CUDA work in Ubuntu 14.04.5 anyway, and so far they aren't messing with that. *PITA*
ID: 1882603 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882604 - Posted: 7 Aug 2017, 10:16:47 UTC
Last modified: 7 Aug 2017, 10:28:14 UTC

Sadly all this happened behind my back - the first thing I knew was that one PC hadn't reported back for a good few hours, but appeared to be running. That is until I got a bit closer in and hooked up a screen and fired up BOINCmanager - which showed "disconnected", and trying a forced disconnect and restart (of the manager) I got the dreaded "connecting to manager" message until that failed. Checking what was actually running showed boinc wasn't running, so I did a force start from the command prompt to see what error messages I would get....

Let's see what happens when I swap the nVidia driver out and in...
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882604 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3807
Credit: 187,312,891
RAC: 238,528
United States
Message 1882605 - Posted: 7 Aug 2017, 10:26:03 UTC - in response to Message 1882604.  

The biggest thing is to allow them to install all the current updates. I don't know which version you're running, but for me and Ubuntu 16.04, bad things start happening if you don't install all the updates.
ID: 1882605 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882606 - Posted: 7 Aug 2017, 10:29:35 UTC

Mint 18.1

As I say, I was away from the machine when it all kicked off, and it was "sitting idle" for over 12 hours...
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882606 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3807
Credit: 187,312,891
RAC: 238,528
United States
Message 1882609 - Posted: 7 Aug 2017, 10:50:49 UTC - in response to Message 1882606.  
Last modified: 7 Aug 2017, 10:54:18 UTC

Well, Mint 18.2 will install kernel 4.10 and driver 375.66 which is current. Otherwise, open the package manager, search for libc6, and select to Reinstall all the libc6 items you have installed...along with installing any outstanding updates.
Good Luck ;-)
ID: 1882609 · Report as offensive
Profile ML1
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 9370
Credit: 7,043,109
RAC: 4,785
United Kingdom
Message 1882610 - Posted: 7 Aug 2017, 10:51:44 UTC - in response to Message 1882598.  
Last modified: 7 Aug 2017, 11:11:50 UTC

Last night one of my Linux crunchers decided to stop crunching...
Today, trying to start BOINC manually from the command prompt I get the following "rude" message:

07-Aug-2017 10:22:03 Initialization completed
07-Aug-2017 10:22:03 [---] Running CPU benchmarks
07-Aug-2017 10:22:03 [---] Suspending computation - CPU benchmarks in progress
*** buffer overflow detected ***: boinc terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fe5187527e5]
[...]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7fe5187f0abd]


Help!!!!

Very unlikely to be a corrupt libc file!...

More likely is that something got updated(?) whilst Boinc was running. Or that you've found a bug in the Boinc app for trying to output results.

Try restarting Boinc to see if that reoccurs?

Are you using custom optimized apps?... Do they match the libc version that you are running?


Hopefully happy crunchin',
Martin


[edit]
This detail is likely not needed. Most likely just restarting after an update will have things fixed. But just-in-case of interest:

From a commandline I get for one of my systems:

$ file /lib64/libc.so.6
/lib64/libc.so.6: symbolic link to libc-2.23.so
$
$ file /lib64/libc-2.23.so
/lib64/libc-2.23.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, stripped, with debug_info

[/edit]
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1882610 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882611 - Posted: 7 Aug 2017, 11:00:13 UTC

Hmm, if is a bug then that's some bug - it would appear that it "hit" just as both CPN & SETI were doing a server contact, but why then doesn't a restart clear it?
First thing I did was to try a restart :-(
After the driver shuffle I also tried a restart :-(
Now doing a BIG update so can't do anything to test for a while.

I think something must have been updated at a critical moment.

For SETI I'm running Perti's GPU app, and the versions listed agree with what's installed, but would that cause the trip to be while (trying to) run the benchmark routine?

(Interesting - a new version of libc6 has been delivered...)
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882611 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882612 - Posted: 7 Aug 2017, 11:26:55 UTC

Not sure why, but the data directory appears to have moved from /var/lib to my home directory without any intervention on my behalf.
Now to get it back from whence it came....
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882612 · Report as offensive
Profile ML1
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 9370
Credit: 7,043,109
RAC: 4,785
United Kingdom
Message 1882614 - Posted: 7 Aug 2017, 12:00:36 UTC - in response to Message 1882612.  

Not sure why, but the data directory appears to have moved from /var/lib to my home directory without any intervention on my behalf.
Now to get it back from whence it came....

Take care if you have more than one installation...?

(Or more than one way that Boinc gets started?...)


Happy crunchin',
Martin
See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1882614 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882615 - Posted: 7 Aug 2017, 12:15:53 UTC

My thoughts were heading in that direction.....
I know where it SHOULD be, and there appears to be an installation there. So where the chuff-chuff could the other one be hiding????
Time to start digging.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882615 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882618 - Posted: 7 Aug 2017, 12:37:02 UTC
Last modified: 7 Aug 2017, 12:37:41 UTC

Stranger and Stranger (that well known law firm)...
If I start BOINC from the command prompt at anywhere other than /var/lib/boinc-client I get two messages:
cc_config.xml not found, using defaults

then after a few seconds I get
Another instance of BOINC is running

(when system monitor reports no instances of BOINC running before hitting the enter key on the command)

If I start boinc from /var/lib/boinc-client I get a massive long response, starting with:
Starting BOINC client version 7.6.31 for x86_64-pc-linux-gnu

then a few lines of libraries followed by
Data directory: /var/lib/boinc-client
execv: no such file or directory
GPU detection failed. error 512
no usable GPUs found
found app_info.xml: using anonymous platform
App version refers to missing GPU type NVIDIA

Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882618 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3807
Credit: 187,312,891
RAC: 238,528
United States
Message 1882622 - Posted: 7 Aug 2017, 13:05:08 UTC - in response to Message 1882615.  

My thoughts were heading in that direction.....
I know where it SHOULD be, and there appears to be an installation there. So where the chuff-chuff could the other one be hiding????
Time to start digging.

It got there by itself? riight. The question is what's in the BOINC folder in your Home folder? Does it have a projects folder? Anything in the Projects folder? Does it have a client_state.xml file? If it has a client_state.xml you can search for the <hostid>xxxx</hostid> and see if it matches your machine. If the host ID doesn't match your machine, and there's nothing in the Projects folder, I'd say trash the folder from your Home folder. The problem with not finding your GPUs sometimes happens after installing the Repository driver. I once had to install it a few times before my GPUs were found. In the Drivers tab tell it to use the Open source driver so it will uninstall the other driver, after it installs the open source driver, tell it to switch back to the nvidia driver. Then reboot and see if it finds the GPUs.
ID: 1882622 · Report as offensive
Profile Ageless
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 14245
Credit: 3,546,204
RAC: 1,846
Netherlands
Message 1882623 - Posted: 7 Aug 2017, 13:16:25 UTC - in response to Message 1882618.  

then after a few seconds I get
Another instance of BOINC is running
This is correct. The client starts twice. It does so for GPU detection (whether the GPU is correctly detected or not, when it's not that's not because the client started twice). This message shows in stdoutdae.txt on all main platforms.
Jord

Ancient Astronaut Theorists suggest that in many ways, you can be considered an alien conspiracy!
ID: 1882623 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882625 - Posted: 7 Aug 2017, 13:58:51 UTC

TBar:
Right....
hostid matches the one that SETI reported as reporting last night. (8180654).
There's a load of tasks sitting in the seti folder, and a quick glance indicates they are the ones seti thinks that pc has.
I've tried the swapping the drivers a couple of times, but that would only affect the running of GPU tasks and not stop running CPU task as well.
I've just re-installed BOINC (all bits...), no improvement, still not starting and running
Let's try another driver installation...

Jord:
Thanks for that bit of information. I thought I might be onto something, but obviously not.
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882625 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3807
Credit: 187,312,891
RAC: 238,528
United States
Message 1882627 - Posted: 7 Aug 2017, 14:10:29 UTC - in response to Message 1882625.  

So it would appear the BOINC folder in your Home folder is the valid one the machine has been using? So, what about the Folder in /var/lib? Anything in the Projects folder? Does it have a client_state.xml and a valid hostID? The BOINC in your Home folder Will Not Work if there is also a BOINC in /var/lib. See what is in the folder in /var/lib, it's seems the one in your Home folder was the active BOINC.
ID: 1882627 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882629 - Posted: 7 Aug 2017, 14:32:08 UTC
Last modified: 7 Aug 2017, 14:33:56 UTC

Apart from the usual folders that home folder is empty (and looks very similar to the home folder on another, working linux pc).
Home folder is empty - as it always has been on this PC, var/lib has a boinc-client folder that is "well populated". This PC has always run from the /var/lib folder without any issues until last night and I did do a check to make sure it has the correct read/write/execute permissions.

I've done a trawl though to compare folders with a known working pc and there appears to be no difference, and no additional stray bits lurking :-(
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882629 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 3807
Credit: 187,312,891
RAC: 238,528
United States
Message 1882631 - Posted: 7 Aug 2017, 14:45:22 UTC - in response to Message 1882629.  

Hmmm, I thought you were saying you had a BOINC in your Home folder;
...but the data directory appears to have moved from /var/lib to my home directory without any intervention on my behalf.
If that's not the case, then I'm not sure what your problem may be.
I trashed my Mint 18.2 Install and replaced it with Xubuntu because I couldn't get BOINC to start. Sounds as though you're having a similar problem. I don't have that problem anymore, Xubuntu starts just fine ;-)
ID: 1882631 · Report as offensive
rob smithProject Donor
Volunteer tester

Send message
Joined: 7 Mar 03
Posts: 15225
Credit: 252,915,570
RAC: 322,445
United Kingdom
Message 1882633 - Posted: 7 Aug 2017, 15:31:25 UTC

Thanks guys for your help & support - I have just installed Mint 18.2, and am "running it in" on stock for a couple of days (well, at lest until the other side of the next outrage).

The "new" version of the PC is 8317875 - one day I might get the tuit out and merge the two....
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?
ID: 1882633 · Report as offensive
1 · 2 · Next

Message boards : Number crunching : Corruptedlibc.so.6???


 
©2017 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.