PlaneShift
Support => Linux Specific Issues => Topic started by: CheatCat on January 20, 2011, 01:22:58 pm
-
Dunno if it is crastalspace or planeshift that cause this, but I get segfault when I run planeshift.
Here is what gdb yells:
Starting program: /home/katt/Program/planeshift/psclient
[Thread debugging using libthread_db enabled]
[New Thread 0xb76c7b70 (LWP 24508)]
[New Thread 0xb6ec6b70 (LWP 24509)]
Your configuration files are in... /home/katt/.PlaneShift
[New Thread 0xb6082b70 (LWP 24510)]
[New Thread 0xb1880b70 (LWP 24511)]
[New Thread 0xb107fb70 (LWP 24512)]
[Thread 0xb1880b70 (LWP 24511) exited]
[Thread 0xb107fb70 (LWP 24512) exited]
[Thread 0xb6082b70 (LWP 24510) exited]
[New Thread 0xb6082b70 (LWP 24513)]
crystalspace.syntax.shadervariable:
Texture ‘/lib/shadermgr-defaults/shadow_noise.png’ not found.
[node: shadervars,shadervar(name=tex shadow noise)]
Texture ‘/lib/shadermgr-defaults/gray128.tga’ not found.
[node: shadervars,shadervar(name=standardtex gray128)]
[New Thread 0xb107fb70 (LWP 24514)]
[New Thread 0xb1880b70 (LWP 24515)]
[New Thread 0xaff2eb70 (LWP 24516)]
shader lighting_simple: ....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
planeshift.application.client:
PlaneShift Arcane Chrysalis (0.5.6)
This game uses Crystal Space Engine created by Jorrit and others
1.9.77.3077 [Unix-x86(32)-GCC]
Thu Jan 20 14:10:33 2011, LOG_ANY flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_WEATHER flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_SPAWN flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_CELPERSIST flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_PAWS flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_GROUP flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_CHEAT flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_LINMOVE flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_SPELLS flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_NEWCHAR flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_SUPERCLIENT flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_EXCHANGES flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_ADMIN flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_STARTUP flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_CHARACTER flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_CONNECTIONS flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_CHAT flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_NET flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_LOAD flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_NPC flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_TRADE flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_SOUND flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_COMBAT flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_SKILLXP flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_QUESTS flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_SCRIPT flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_MARRIAGE flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_MESSAGES flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_CACHE flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_PETS flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_USER flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_LOOT flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_DUELS flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, LOG_TRIBES flag deactivated with no filter.
Thu Jan 20 14:10:33 2011, All LOGS are off.
Mounting skin: /this/art/skins/elves.zip
Texture Manager parsing /paws/real_skin/imagelist.xml
Program received signal SIGSEGV, Segmentation fault.
0xb794223b in strlen () from /lib/libc.so.6
And here is the backtrace:
#0 0xb794223b in strlen () from /lib/libc.so.6
#1 0xb7d09ec4 in csStringBase::Append (this=0xbfffe9d0, iStr=0xffffffff <Address 0xffffffff out of bounds>, iCount=4294967295)
at /home/katt/Program/crystalspace/libs/csutil/csstring.cpp:293
#2 0x0832114e in csStringFast (this=0x85bf5d8, style=..., alreadyInh=..., beingInh=...)
at /home/katt/Program/crystalspace//include/csutil/csstring.h:1028
#3 csString (this=0x85bf5d8, style=..., alreadyInh=..., beingInh=...)
at /home/katt/Program/crystalspace//include/csutil/csstring.h:1179
#4 pawsStyles::InheritFromParent (this=0x85bf5d8, style=..., alreadyInh=..., beingInh=...) at src/common/paws/pawsstyles.cpp:94
#5 0x083215c5 in pawsStyles::InheritFromParent (this=0x85bf5d8, style=..., alreadyInh=..., beingInh=...)
at src/common/paws/pawsstyles.cpp:110
#6 0x08322a51 in pawsStyles::InheritStyles (this=0x85bf5d8) at src/common/paws/pawsstyles.cpp:87
#7 0x083236cf in pawsStyles::LoadStyles (this=0x85bf5d8, fileName=...) at src/common/paws/pawsstyles.cpp:74
#8 0x082f72e4 in PawsManager::PawsManager (this=0x85cb148, object=0xb7b78bac, skin=0xbffff40c "/this/art/skins/elves.zip",
skinBase=0x85b0f50 "/planeshift/art/skins/base/client_base.zip") at src/common/paws/pawsmanager.cpp:156
#9 0x080df617 in psEngine::Initialize (this=0x85bf648, level=0) at src/client/psengine.cpp:426
#10 0x080e2255 in main (argc=1, argv=0xbffff694) at src/client/psengine.cpp:1928
So, it seem to be some problem with libc, dunno really how to fix that.. Please help me.
-
the problem seems to happen before libc6 it looks an issue with the skin... a bt full could help more anyway
-
#0 0xb794223b in strlen () from /lib/libc.so.6
No symbol table info available.
#1 0xb7d09ec4 in csStringBase::Append (this=0xbfffe9c0, iStr=0xffffffff <Address 0xffffffff out of bounds>, iCount=4294967295)
at /home/katt/Program/crystalspace/libs/csutil/csstring.cpp:293
NewSize = <value optimized out>
p = <value optimized out>
#2 0x0832114e in csStringFast (this=0x87cb1b0, style=..., alreadyInh=..., beingInh=...)
at /home/katt/Program/crystalspace//include/csutil/csstring.h:1028
No locals.
#3 csString (this=0x87cb1b0, style=..., alreadyInh=..., beingInh=...)
at /home/katt/Program/crystalspace//include/csutil/csstring.h:1179
No locals.
#4 pawsStyles::InheritFromParent (this=0x87cb1b0, style=..., alreadyInh=..., beingInh=...) at src/common/paws/pawsstyles.cpp:94
name = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 11, MaxSize = 0,
GrowBy = 64}, minibuff = "Header Font\000Ԛз\204\354\377\277\300\302\036\257\v\000\000\000\250%\366\267\v\000\000",
miniused = 12}, <No data fields>}
inherit = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d88, Data = 0x0, Size = 0, MaxSize = 0,
GrowBy = 64},
minibuff = "\v\000\000\000\v\000\000\000\364\234з\200\353\377\277\v\000\000\000\001\000\000\000(p\270\267p\354\377\277\200\353\377\277", miniused = 0}, <No data fields>}
__FUNCTION__ = "InheritFromParent"
parent = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb7d09b36}
#5 0x083215c5 in pawsStyles::InheritFromParent (this=0x87cb1b0, style=..., alreadyInh=..., beingInh=...)
at src/common/paws/pawsstyles.cpp:110
name = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 6, MaxSize = 0,
GrowBy = 64},
minibuff = "header\000\000P\000\000\000\034\000\000\000\020t\026\257\000\000\364\256\230\250%\366\267 \000\000",
miniused = 7}, <No data fields>}
inherit = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 11, MaxSize = 0,
GrowBy = 64}, minibuff = "Header Font\000X\177H\260\003\000\000\000\tv\263\267\f\000\000\000X\177H\260\a\000\000",
miniused = 12}, <No data fields>}
__FUNCTION__ = "InheritFromParent"
parent = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb18e08ec}
---Type <return> to continue, or q <return> to quit---
#6 0x08322a51 in pawsStyles::InheritStyles (this=0x87cb1b0) at src/common/paws/pawsstyles.cpp:87
style = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xaf967a0c}
alreadyInh = {Elements = {<CS::Memory::CustomAllocated> = {<No data fields>}, count = 0,
capacity = {<csArrayCapacityFixedGrow<16>> = {<csArrayCapacityLinear<csArrayThresholdFixed<16> >> = {<csArrayThresholdFixed<16>> = {<No data fields>}, <No data fields>}, <No data fields>}, c = 0},
root = {<CS::Memory::AllocatorMalloc> = {<No data fields>}, p = 0x0}}, Modulo = 23, Size = 0, InitModulo = 23,
GrowRate = 5, MaxSize = 20000}
beingInh = {Elements = {<CS::Memory::CustomAllocated> = {<No data fields>}, count = 23,
capacity = {<csArrayCapacityFixedGrow<16>> = {<csArrayCapacityLinear<csArrayThresholdFixed<16> >> = {<csArrayThresholdFixed<16>> = {<No data fields>}, <No data fields>}, <No data fields>}, c = 32},
root = {<CS::Memory::AllocatorMalloc> = {<No data fields>}, p = 0xb01cdbc8}}, Modulo = 23, Size = 1, InitModulo = 23,
GrowRate = 5, MaxSize = 20000}
#7 0x083236cf in pawsStyles::LoadStyles (this=0x87cb1b0, fileName=...) at src/common/paws/pawsstyles.cpp:74
__FUNCTION__ = "LoadStyles"
root = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xaf165424}
iter = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xaf9679b4}
__PRETTY_FUNCTION__ = "bool pawsStyles::LoadStyles(const csString&)"
buff = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xaf1eabdc}
xml = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xaf9689e4}
vfs = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb7b84d04}
doc = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb0487f64}
error = <value optimized out>
topNode = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xaf96798c}
#8 0x082f72e4 in PawsManager::PawsManager (this=0x87c02f8, object=0xb7b78bac, skin=0xbffff3fc "/this/art/skins/elves.zip",
skinBase=0x87a83a0 "/planeshift/art/skins/base/client_base.zip") at src/common/paws/pawsmanager.cpp:156
borderFile = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 29, MaxSize = 0,
GrowBy = 64}, minibuff = "/this/data/gui/borderlist.xml\000\000\000\346)\237\267", miniused = 30}, <No data fields>}
lang = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0xb7b24ff4, Data = 0x40 <Address 0x40 out of bounds>,
Size = 0, MaxSize = 3221221752, GrowBy = 3081696617},
minibuff = "@\000\000\000@\000\000\000\nThu Jan 20 15:46:52\364O\262\267\370\362\377\277",
miniused = 3079912830}, <No data fields>}
cfg = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb76c830c}
screenWidth = 1024
---Type <return> to continue, or q <return> to quit---
screenHeight = <value optimized out>
prefsFile = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 20, MaxSize = 0,
GrowBy = 64}, minibuff = "/this/data/prefs.xml\000_\241\267\240s\241\267\370\362\377\277\b\362\377\277",
miniused = 21}, <No data fields>}
texman = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0x87bae48}
#9 0x080df617 in psEngine::Initialize (this=0x87bae48, level=0) at src/client/psengine.cpp:426
skinPath = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 25, MaxSize = 0,
GrowBy = 64}, minibuff = "/this/art/skins/elves.zip\000\004\b\001\000\000\000\274\357\377\267",
miniused = 26}, <No data fields>}
slash = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 1, MaxSize = 0,
GrowBy = 64},
minibuff = "/\000\241\267\bĹ\267\304\305\377\267\360\363\377\277\364z{\b\027\000\000\000\210\306\350\001\330\021\273\267\364z{\b", miniused = 2}, <No data fields>}
esublog = {{id = 3080811424}, {id = 3082259408}, {id = 3221222536}, {id = 3079922931}, {id = 3081986391}, {id = 138397583},
{id = 3081991689}, {id = 0}, {id = 3221222688}, {id = 3221222624}}
soundPlugin = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48, Data = 0x0, Size = 0, MaxSize = 0,
GrowBy = 64},
minibuff = "\324\364\377\277T\372\377\267\000\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\001\000\000\000\370\370\377\267\005\000\000", miniused = 0}, <No data fields>}
skinPathBase = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x83d7d48,
Data = 0x87a83a0 "/planeshift/art/skins/base/client_base.zip", Size = 42, MaxSize = 64, GrowBy = 64},
minibuff = "\256nƷ\002\000\000\000\250\363\377\277\362\266\376\267^\205Ʒe\262\223\267\021\000\000\000`\000\000\000\003\000\000", miniused = 0}, <No data fields>}
fntsvr = <value optimized out>
__FUNCTION__ = "Initialize"
#10 0x080e2255 in main (argc=1, argv=0xbffff684) at src/client/psengine.cpp:1928
CSSetup = 0x84b9ec8
object_reg = 0xb7b78bac
__FUNCTION__ = "main"
Well, I cannot change skin, pslauncher gives segfault too.
-
do you actually have the art?
try launching pslaunch with pslaunch --console --repair
-
I got segmentation fault there as well, I don't know how to pass those parameters to gdb.
-
pass them to the run parameter
-
Backtrace:
#0 0xb798223b in strlen () from /lib/libc.so.6
#1 0xb7d09ec4 in csStringBase::Append (this=0x81afe2c, iStr=0xffffffff <Address 0xffffffff out of bounds>, iCount=4294967295)
at /home/katt/Program/crystalspace/libs/csutil/csstring.cpp:293
#2 0xb7d0a194 in csStringBase::Replace (this=0x81afe2c, Str=0xffffffff <Address 0xffffffff out of bounds>, Count=4294967295)
at /home/katt/Program/crystalspace/libs/csutil/csstring.cpp:276
#3 0x0805fa24 in operator= (this=0x81afe28, node=...) at /home/katt/Program/crystalspace//include/csutil/csstring.h:1194
#4 Config::Initialize (this=0x81afe28, node=...) at src/pslaunch/updaterconfig.cpp:169
#5 0x08068602 in UpdaterEngine::CheckIntegrity (this=0x81afc20, automatic=false) at src/pslaunch/updaterengine.cpp:1199
#6 0x08051b84 in main (argc=Cannot access memory at address 0x3
) at src/pslaunch/pslaunch.cpp:448
Backtrace full:
#0 0xb798223b in strlen () from /lib/libc.so.6
No symbol table info available.
#1 0xb7d09ec4 in csStringBase::Append (this=0x81afe2c, iStr=0xffffffff <Address 0xffffffff out of bounds>, iCount=4294967295)
at /home/katt/Program/crystalspace/libs/csutil/csstring.cpp:293
NewSize = <value optimized out>
p = <value optimized out>
#2 0xb7d0a194 in csStringBase::Replace (this=0x81afe2c, Str=0xffffffff <Address 0xffffffff out of bounds>, Count=4294967295)
at /home/katt/Program/crystalspace/libs/csutil/csstring.cpp:276
p = 0x0
#3 0x0805fa24 in operator= (this=0x81afe28, node=...) at /home/katt/Program/crystalspace//include/csutil/csstring.h:1194
No locals.
#4 Config::Initialize (this=0x81afe28, node=...) at src/pslaunch/updaterconfig.cpp:169
md5 = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0x815e128, Data = 0x0, Size = 10, MaxSize = 0,
GrowBy = 64},
minibuff = "md5generic\000\267\tv\267\267XOɷ\240uT\267\266\fȷ2m\000\000\250%", <incomplete sequence \366\267>,
miniused = 11}, <No data fields>}
md5Node = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0x0}
updaterNode = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb75452d4}
clientNode = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb64cc1e0}
#5 0x08068602 in UpdaterEngine::CheckIntegrity (this=0x81afc20, automatic=false) at src/pslaunch/updaterengine.cpp:1199
success = <value optimized out>
confignode = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb754747c}
root = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb75475ec}
serversRoot = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb7545b8c}
baseurl = {<csStringFast<36>> = {<csStringBase> = {_vptr.csStringBase = 0xb7a564e0,
Data = 0xffffffff <Address 0xffffffff out of bounds>, Size = 4294967295, MaxSize = 3081069792, GrowBy = 3086733312},
minibuff = "\334\363\377\277OT\227\267\340d\245\267\000\320\373\267'\000\000\000\001\000\000\000f\000\000\000\000\000\000\000\364_\245\267", miniused = 39}, <No data fields>}
mirrors = {<CS::Memory::CustomAllocated> = {<No data fields>}, count = 3221222464,
capacity = {<csArrayCapacityFixedGrow<16>> = {<csArrayCapacityLinear<csArrayThresholdFixed<16> >> = {<csArrayThresholdFixed<16>> = {<No data fields>}, <No data fields>}, <No data fields>}, c = 10},
root = {<CS::Memory::AllocatorMalloc> = {<No data fields>}, p = 0xb7fbd000}}
realZipPath = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xbffff430}
---Type <return> to continue, or q <return> to quit---
failed = <value optimized out>
r = {<CS::Memory::CustomAllocated> = {<No data fields>}, obj = 0xb7a564e0}
#6 0x08051b84 in main (argc=Cannot access memory at address 0x3
) at src/pslaunch/pslaunch.cpp:448
argvs = 0x81ab940
updater = 0x81ad960
args = {<CS::Utility::StringArray<CS::Memory::AllocatorMalloc, csArrayCapacityVariableGrow>> = {<csArray<char const*, csStringArrayElementHandler, CS::Memory::AllocatorMalloc, csArrayCapacityVariableGrow>> = {<CS::Memory::CustomAllocated> = {<No data fields>}, count = 4,
capacity = {<csArrayCapacityVariableGrow> = {<csArrayCapacityLinear<csArrayThresholdVariable>> = {<csArrayThresholdVariable> = {threshold = 16}, <No data fields>}, <No data fields>}, c = 16}, root = {<CS::Memory::AllocatorMalloc> = {<No data fields>},
p = 0xb75451b0}}, <No data fields>}, <No data fields>}
engine = 0x81afc20
console = 4
help = 188
I will try the universal solving method, update my system as soon they fixed some bug (in phyton2).
-
looks like a bad build or a serious problem with the system libraries (could be a bug in the computer I’d not suggest to use gcc 4.5 yet)
-
looks like a bad build or a serious problem with the system libraries (could be a bug in the computer I’d not suggest to use gcc 4.5 yet)
Damn, I will try to get another version then. What version should be safe to use? Do I need other stuff with older versions as well?
-
here I use 4.4
-
considering where it crashed i'd check to have a valid updaterconfig from a release
-
Hmm, updating the system seem to do the trick. I didn't even have to fiddle with custom gcc versions.