|
1. Ubuntu Linux Problem
|
|
Thu Dec 31, 2009 [12:01 PM]
|
bree
breeness_1@hotmail.com
member since: Aug 6, 2006
|
Reply
|
|
So i've coded and ran Distorted Illusions/Asgardian nightmare for almost 8 years now, always on a redhat or debian linux(was using dune hosting). Now i've put up a Ubuntu 9.04 linux on one of my spare cpu's(trying switch eventually to it) and am getting seg faults all of a sudden. The seg faults occur during the reading of the area list, it gets to the second area then sends a SIGSERV and trys to load everything up again. Eventually it trys to load every area from the list with the error: Too many open files, Area not loaded, then goes on to the next area on the list and continues to the last of the areas, than seg faults again. I've looked at the load functions for the area's and can't find any problem, also looked at the memory functions and can't find any problem. I was wondering if anyone knew any problems or changes/differances with Ubuntu 9.04 compared to Redhat that would cause this problem. I don't know if maybe the area list needs to be formatted differantly for Ubuntu or what... Any ideas would be appreciated.
|
|
|
|
|
2. RE: Ubuntu Linux Problem
|
|
Thu Dec 31, 2009 [3:54 PM]
|
mann_jess
Email not supplied
member since: Dec 10, 2005
|
In Reply To
Reply
|
So i've coded and ran Distorted Illusions/Asgardian nightmare for almost 8 years now, always on a redhat or debian linux(was using dune hosting). Now i've put up a Ubuntu 9.04 linux on one of my spare cpu's(trying switch eventually to it) and am getting seg faults all of a sudden.
The seg faults occur during the reading of the area list, it gets to the second area then sends a SIGSERV and trys to load everything up again. Eventually it trys to load every area from the list with the error: Too many open files, Area not loaded, then goes on to the next area on the list and continues to the last of the areas, than seg faults again.
I've looked at the load functions for the area's and can't find any problem, also looked at the memory functions and can't find any problem. I was wondering if anyone knew any problems or changes/differances with Ubuntu 9.04 compared to Redhat that would cause this problem. I don't know if maybe the area list needs to be formatted differantly for Ubuntu or what...
Any ideas would be appreciated.
When asking for help, paragraphs do wonders... I don't have any specific info for your problem, but try tracking down the line the segfault occurs. Also, posting more debug info would help. You've provided very little to go on here. Good luck, -Jess
|
|
|
|
|
3. RE: Ubuntu Linux Problem
|
|
Thu Dec 31, 2009 [5:42 PM]
|
Zeno_McDoh
Email not supplied
member since: Jul 30, 2004
|
In Reply To
Reply
|
|
Eventually it trys to load every area from the list with the error: Too many open files, Area not loaded
Do a Google for 'Ubuntu too many open files'. There is probably a setting somewhere in a file you need to change. Try Ubuntu forum or IRC.
|
|
|
|
|
4. RE: Ubuntu Linux Problem
|
|
Fri Jan 1, 2010 [4:43 PM]
|
Tyche
Email not supplied
member since: Apr 4, 2000
|
In Reply To
Reply
|
|
What compiler are you running? $ gcc --version
(Comment added by Tyche on Fri Jan 1 18:46:32 2010)
It also sounds like you've got a SIGSEV signal handler that attempts to continue which is always always always a bad thing. Disable the handler or better yet delete the code entirely.
|
|
|
|
|
5. RE: Ubuntu Linux Problem
|
|
Sat Jan 2, 2010 [9:13 AM]
|
bree
breeness_1@hotmail.com
member since: Aug 6, 2006
|
In Reply To
Reply
|
|
I've actually had to downgrade back to gcc-3.4, it can compile under 4 but anything over that and i would have to go back and fix years worth of code for a clean compile. This code has been through the hands of differant coders during the 90's and early 2000's before i took over coding dutys, sloppy coding practice has left me with either a choice to overhaul everything or keep with a earlier gcc version.
|
|
|
|
|