Gnutella Forums  

Go Back   Gnutella Forums > Discontinued Gnutella Client Forums > Qtella (Linux/Unix)
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Search Today's Posts Mark Forums Read

Qtella (Linux/Unix) Qtella has been discontinued. We highly recommend you use an actively developed client instead.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4 (permalink)  
Old October 2nd, 2003
Devotee
 
Join Date: September 30th, 2003
Posts: 27
rockkeys is flying high
Default

Almost all signal 11 crashes (segment faults) are caused by a reference to the object of a null pointer, which is address 0x0000.

In almost every OS, and in every UNIX I have ever used, it is illegal for a program to read from or write to address Zero.

The idea behind this is that no program can ever have address zero as part of it's data, so that reading or writing to that address is indicating a bug. The OS traps this, and tells you that you have accessed a memory segment that doesn't belong to you, or in other words a segment fault.

All UNIX systems (i think) use signal 11 for this, although it could use a different signal, and still map it to the segfault error if needed.

Anyway, if that's happening to you, it most likely because a variable is being used without being initialized to point to valid memory. An uninitialized variable usually is forced to contain a zero, just for that reason. When they are initialized, they are set to some valid address, which then allows the use of the variable normally.

There could be other reasons for this to happen, but the reason above is almost always the cause. An incorrectly formed query, with data missing, and not caught before being processed, could also cause a problem like this. But most programs are very careful with incomming data, and verify that they are valid and complete before trying to process then. But that is a possible second cause for a segfault, and again it indicates a bug (or poor programming).

Regards,
--R
Reply With Quote
 

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: https://www.gnutellaforums.com/qtella-linux-unix/20637-signal-11-sigsegv-crash.html
Posted By For Type Date
What is SIGNAL 11 AIX? This thread Refback October 22nd, 2012 03:33 AM
What is SIGNAL 11 IN LINUX? This thread Refback February 23rd, 2012 10:36 PM
What is SIGNAL 11 UNIX? This thread Refback September 21st, 2011 12:25 AM
What is SIGNAL 11 SIGSEGV? This thread Refback August 11th, 2011 04:14 AM
What is SIGNAL 11 AIX? This thread Refback August 9th, 2011 03:05 AM
Multiple KDE application crashes (signal 11, SIGSEV) in MEPIS and Kubuntu - Linux Forums This thread Refback January 24th, 2011 02:15 AM

Similar Threads
Thread Thread Starter Forum Replies Last Post
no longer have full signal? Gena3057 Open Discussion topics 6 January 19th, 2007 12:24 PM
i can't get a signal, any sugestions?? HPANA ROCKS! Connection Problems 2 September 9th, 2006 05:11 AM
Sign on Failure/Low Signal WSFAN Connection Problems 0 February 27th, 2006 02:04 PM
rarely can connect, and when i do the signal is awful!@ phishin9984 Connection Problems 0 July 7th, 2004 07:39 PM
signal 11 crash on red hat 7.3 bennythepitbull Qtella (Linux/Unix) 6 August 19th, 2002 11:24 AM


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


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.