Zone Crashing Issue
Having major zone crashing issues...
This is the only info I can get from the core drop.. Code:
Program terminated with signal 11, Segmentation fault. Any ideas?? |
I just started working on this tonight. I'm pretty sure it's a SoF problem with a 64bit server. I just obtained SoF tonight and immediately ran into this on my 64bit testing server. I'll let you know when I know more.
|
SoF uses some stringstreams instead of pure char buffers which might be a place to look at, can't think of anything different between that and titanium other than that.
|
It's segfaulting at the setup of the stringstream in SoF.cpp line 2069. I only know that's the exact point it fails because I set a breakpoint before it and was only able to step to that point.
Code:
(gdb) bt I'll keep trying but I really don't have a clue why it is failing at this time. |
Come on VZ / TZ hook us up with the answers already!!!
They must have run into this stuff recently also moving to a 64 bit system... King |
Temporary work around:
I built 32bit binaries on a 32bit arch machine. I then copied them to my 64bit machine and ran them and zone did not crash when using SoF. Continuing investigation into the problem: I have had some experts in C++ look into this and as best they can tell, this is either a library or compiler bug under 64bit. If you look at this line in the backtrace: Code:
#3 0x00000033b106ea49 in std::basic_ios<char, std::char_traits<char> >::init (this=0x0, __sb=0xffffffff) For a test, I am updating my compiler and libraries. I'll rebuild after that is done and see if the problem is still present. |
Updated to gcc packages to 4.3.2 and now I get:
Code:
#0 0x00007f3a033dddd2 in std::locale::operator= (this=0x7fff0b6a5988, __other=@0x7fff0b6a57b0) |
Ok, it's a gcc bug with optimization. If you remove the -O option from CFLAGS when building common/patches/SoF.o, it should work. Everything else can still use the -O flag. I'm going to narrow down the specific optimization that is the cause and then I will create patches for the makefiles.
|
Here is the patch I'm using to resolve this problem:
Code:
Index: world/makefile |
Odd I can't edit the last post. Anyway, I meant to say all the optimization flags that are set by -O did NOT cause the bug so I set them all instead of -O and it works fine on my system.
I did notice an old, closed, bug on this issue on the gcc bugtrack. I'll be opening a new bug about it so hopefully it'll be fixed in the future. |
All times are GMT -4. The time now is 11:18 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.