LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2015, 04:27 AM   #1
Osterzone
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Antergos libpthread causes segmentation faults


A lot of the programs I use on my machine exit with segfaults. Nearly all programs function normally until being closed, at which point they segfault. So far the only two programs that have not worked because of this issue are VLC and Cinnamon, while many other programs like firefox and chromium are affected, but only segfault on what would have been a normal exit.

This does not seem to be a problem with my RAM. I removed all RAM from my machine and replaced it with one known good stick, but the problem persisted.

On running the affected programs with gdb, all seem to return the same trace.
Code:
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff79af080 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
So I am led to believe that the root of the problem is in libpthread. I am currently running glibc version 2.21. Please ask anything more you wish to know, and help if you can. Thank you.
 
Old 06-23-2015, 10:00 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I think I found your problem... from the Antergos site

Quote:
Rolling Release
Antergos is a rolling release distribution. Your entire system, from the base OS components to the applications that you install, will receive updates as they are released upstreamwith only a minimal delay to ensure stability.
That never works.
 
Old 06-26-2015, 04:11 PM   #3
Ranamon
Member
 
Registered: Feb 2013
Location: Land of Hopenchange
Distribution: Slackware
Posts: 45

Rep: Reputation: Disabled
Quote:
Originally Posted by Osterzone View Post
A lot of the programs I use on my machine exit with segfaults. Nearly all programs function normally until being closed, at which point they segfault. So far the only two programs that have not worked because of this issue are VLC and Cinnamon, while many other programs like firefox and chromium are affected, but only segfault on what would have been a normal exit.

This does not seem to be a problem with my RAM. I removed all RAM from my machine and replaced it with one known good stick, but the problem persisted.

On running the affected programs with gdb, all seem to return the same trace.
Code:
    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff79af080 in __lll_unlock_elision () from /usr/lib/libpthread.so.0
So I am led to believe that the root of the problem is in libpthread. I am currently running glibc version 2.21. Please ask anything more you wish to know, and help if you can. Thank you.
I've done a lot of programming in Linux, and the only time I've ever seen programs close with segfaults is due to one of two things: trying to double delete pointers or null pointers (coding errors) or linking to out dated libraries after compiling against newer versions, or vice versa. I've seen it happen with my own programs, and from ones like VCL. If the stack trace points to something in /usr/lib, then the fault's with library incompatibility.

Quote:
Rolling Release

Antergos is a rolling release distribution. Your entire system, from the base OS components to the applications that you install, will receive updates as they are released upstreamwith only a minimal delay to ensure stability.
Classic SLAGIATT (Seemed Like A Good Idea At The Time). Rolling releases and auto updating never turns out well. I tend to use a release until I start getting complaints about out dated libs. Then I blow the whole thing away and install a fresher version. If you want to keep using Antergos, then disable that.
 
Old 07-04-2015, 05:28 AM   #4
Osterzone
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Okay guys thanks for the non-help. I've used rolling release distros for years and been fine with them.

I had to install the latest intel microcode to ensure stability with my Haswell processor. More info on the process here https://wiki.archlinux.org/index.php/Microcode for anyone googling this issue in the future.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation faults in C Haku72 Programming 6 11-19-2009 06:23 PM
segmentation faults crash88 Linux - Software 3 07-03-2006 10:22 PM
Segmentation faults winterhunter Linux - Software 5 10-14-2005 03:06 AM
Some help with segmentation faults? captainslushie Linux - Software 5 06-23-2005 02:59 PM
Segmentation Faults? DoomsdayChef Linux - Newbie 2 10-18-2003 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration