LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2004, 10:25 PM   #1
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Rep: Reputation: 15
Segmentation fault....


What is exactly a segmentation fault, and can it be corrected? I can reistall debian no problem except i would be posting again to get my sound working, (forgot how) ((device not found)).

Thanks in advance!

Lokizen

(the error when i try to install glib is

checking for ISO C99 varargs macro in C++...Segmentation fault)

Last edited by lokizen; 09-12-2004 at 10:28 PM.
 
Old 09-12-2004, 10:49 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Segementation fault is when a program tries to write to a piece of memory that doesn't belong to it. ( i.e. its not its segment of memory ) This is to stop programs trampling on each others memory, and makes the system more stable.

This is usually a bug in a program, is this glib from Debian or are you compiling from source?
 
Old 09-12-2004, 11:40 PM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
its usually due to a missing shared object... (and in rare cases,the bad use of a pointer)

ldd /path.to/binary/that/keeps/segfaulting/binary

will print a list of shared object (*.so) dependeny's
are they all there ? none listed as not found ?
 
Old 09-12-2004, 11:41 PM   #4
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
it's from a tarball i dowloaded and forgot where from, i was getting back to it to get ymessenger going
 
Old 09-12-2004, 11:53 PM   #5
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
i pulled a newbie and re-./configure-ed glib, no problem this time, but i installed glib 2.4.6
ymessenger says it needs glib 2_3, will 2.4.6 work? and if so, does it have to be installed in any particular dir
to be found?

"not as confused as i was, but still confused "
 
Old 09-12-2004, 11:59 PM   #6
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
my bad, it's GLIBC2_3 it's looking for, have i made a mistake in installing possibly
"the wrong one?" if so, how do i uninstall glib 2.4.6?
 
Old 09-13-2004, 08:46 AM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
never uninstall glib ! other programs may be depending on it...

Just incase you havent realised... you do know there are far better yahoo messenger clients than ymessenger right ?

for example kopete (comes with KDE as part of KDENETWORK package)

the precompiled ymessenger program is linked againsed very old libraries.
yahoo are obviously not updating it. ymessengre is a dead project.

Last edited by qwijibow; 09-13-2004 at 08:47 AM.
 
Old 09-14-2004, 01:40 AM   #8
lokizen
Member
 
Registered: Jul 2004
Distribution: debian woody
Posts: 69

Original Poster
Rep: Reputation: 15
Wow. You just saved me a lot of time and effort!
A million thanks! kopete i'll check out
 
  


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
what does Segmentation Fault mean ? baronlynx Linux - Newbie 10 10-25-2009 05:32 PM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 10:34 AM
Help !!! Segmentation fault mola Linux - Software 3 06-23-2005 12:13 PM
Segmentation fault tejas15_10 Programming 9 06-20-2005 10:12 AM
Segmentation fault santhosh_o Programming 3 10-26-2004 06:45 AM


All times are GMT -5. The time now is 10:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration