Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Segmentation Fault problem

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Stiffler
n00b
n00b
Posts: 19
Joined: Sat Jul 12, 2003 5:20 pm
Location: Monmouth, OR

Segmentation Fault problem

  • Quote

Post by Stiffler » Sat Jul 12, 2003 7:23 pm

I keep getting segmentation fault problems on my emerges. It started with libxml, and now I get it with Apache2. Are there any idea in how I can fix this problem? I can post whatever you need me to.

Edit: I changed my "ACCEPT_KEYWORDS" to "~x86". Do I need to run "emerge rsync" after this?
Top
linux_weenie
Guru
Guru
User avatar
Posts: 365
Joined: Wed Jun 25, 2003 12:05 am

  • Quote

Post by linux_weenie » Sun Jul 13, 2003 3:36 am

segmentation faults are generally due to faulty hardware, you might check out http://www.memtest86.com that will check your memory to make sure nothing in memory is failing. if it errors it probably means you need to buy a new stick of memory. that fixed my segmentation fault problems when i was using slack9. might also try someother diagnostic software to try and narrow the problem down if the memory isn't the culprit. hope that helps.

-Will
Top
nabla
n00b
n00b
User avatar
Posts: 69
Joined: Wed Oct 30, 2002 8:39 pm
Location: Zurich, Switzerland

  • Quote

Post by nabla » Sun Jul 13, 2003 6:14 am

hi,

linux_weenie is surely wright, i had exactly the same problem with bad stick of memory. run memtest on the gentoo-bootcd.

cu
Top
Stiffler
n00b
n00b
Posts: 19
Joined: Sat Jul 12, 2003 5:20 pm
Location: Monmouth, OR

  • Quote

Post by Stiffler » Sun Jul 13, 2003 8:16 pm

Alright, thanks. I've found the segmentation faults to be sporadic. If a compile faults out, I can compile it again and it will work. I'll try that memtest program...
Top
linux_weenie
Guru
Guru
User avatar
Posts: 365
Joined: Wed Jun 25, 2003 12:05 am

  • Quote

Post by linux_weenie » Sun Jul 13, 2003 8:27 pm

no problem. just let us know if memtest doesn't find any problems.

-Will
Top
singaya
n00b
n00b
Posts: 13
Joined: Sun Oct 20, 2002 7:19 pm

similiar problem

  • Quote

Post by singaya » Sun Jul 13, 2003 9:48 pm

Hi

I'm having similiar problem. I've found out that it's something with pipe. Mainly if I compile something bigger and use emake in ebuilds, I get those segfaults. When I change to plain make, everything goes ok. I've tested it on two computers and get same story, so I think it's not hardware problem. Second thing is that it starts to happen when my Gentoo is fully updated (everything newest), when I start installing it from begining I don't get any seg faults. Thought that it was gcc problem (bad flags during gcc compilation) so I've recompiled gcc but problem would still apear. Now if I compile something that gives me seg fault (or hangs my comp) I change from emake to make in ebuild and it compiles without any problems. Not sure what is the reason of such thing. Any suggestions??

Sorry for my English, it's not my native language.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic