Static build of viewmesh works but crashes
Jorrit Tyberghein <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <CAA49VVLmkZebRPhE3OpFmxiEBSKAgO+4n0rk5BiukgMnxt-xpg@mail.gmail.com> |
Hi Frank, just trying a static build of viewmesh. walktest_static works
fine but viewmesh_static gives
the following:
Apparently the weakref for the glsl plugin is null for some reason.
Any ideas?
Greetings,
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 6900.0x1aa0]
CS::Threading::Implementation::MutexBase::Lock (this=0x4) at
./include/csutil/threading/win32_mutex.h:67
67 if (AtomicOperations::Increment (&activeFlag) != 1)
(gdb) where
#0 CS::Threading::Implementation::MutexBase::Lock (this=0x4) at
./include/csutil/threading/win32_mutex.h:67
#1 0x00d4a2d2 in Lock (this=0x4) at ./include/csutil/threading/mutex.h:82
#2 ScopedLock (lockObj=..., this=<synthetic pointer>) at
./include/csutil/threading/mutex.h:169
#3 csWeakRef<iComponent>::Get<csRef<iComponent> > (this=0x0, ref=...) at
./include/csutil/weakref.h:313
#4 0x0053750b in csPluginManager::LoadPluginInstance (this=0x12d8d38,
classID=0x31f5540 "crystalspace.graphics3d.shader.combiner.glsl",
flags=13)
at c:/System9/proj/cs/CS_static/libs/csutil/plugmgr.cpp:258
#5 0x00449f3b in
csLoadPlugin<CS::PluginCommon::ShaderWeaver::iCombinerLoader>
(returnLoadedInstance=true,
report=false, ClassID=0x31f5540
"crystalspace.graphics3d.shader.combiner.glsl", mgr=0x12d8d44)
at ./include/iutil/plugin.h:263
#6 csLoadPluginCheck<CS::PluginCommon::ShaderWeaver::iCombinerLoader>
(mgr=0x12d8d44,
ClassID=0x31f5540 "crystalspace.graphics3d.shader.combiner.glsl",
report=false) at ./include/iutil/plugin.h:297
#7 0x0090bee4 in
csLoadPluginCheck<CS::PluginCommon::ShaderWeaver::iCombinerLoader> (
ClassID=0x31f5540 "crystalspace.graphics3d.shader.combiner.glsl",
object_reg=<optimized out>,
report=<optimized out>) at ./include/iutil/plugin.h:322
#8 CS::Plugin::ShaderWeaver::Synthesizer::SynthesizeTechnique::operator()
(this=0x837e350, shaderVarNodes=...,
errorNode=0xa42635c, snippet=0xa425988, techGraph=...)
at
c:/System9/proj/cs/CS_static/plugins/video/render3d/shader/shadercompiler/weaver/synth.cpp:401
#9 0x0090a7b1 in
CS::Plugin::ShaderWeaver::Synthesizer::SynthesizeTechnique::Run
(this=0x837e350)
at
c:/System9/proj/cs/CS_static/plugins/video/render3d/shader/shadercompiler/weaver/synth.h:210
#10 0x00bd0e12 in CS::Threading::ThreadedJobQueue::QueueRunnable::Run
(this=0x31ff0f8)
at c:/System9/proj/cs/CS_static/libs/csutil/threadjobqueue.cpp:321
#11 0x00bcc076 in CS::Threading::Implementation::ThreadBase::proxyFunc
(param=0x28e9b0)
at
c:/System9/proj/cs/CS_static/libs/csutil/threading/win32_thread.cpp:148
#12 0x75a41287 in msvcrt!_itow_s () from C:\Windows\syswow64\msvcrt.dll
#13 0x75a41328 in msvcrt!_endthreadex () from C:\Windows\syswow64\msvcrt.dll
#14 0x7717339a in KERNEL32!BaseCleanupAppcompatCacheSupport () from
C:\Windows\syswow64\kernel32.dll
#15 0x031ffff0 in ?? ()
#16 0x77a59ef2 in ntdll!RtlpNtSetValueKey () from
C:\Windows\system32\ntdll.dll
#17 0x031ffff0 in ?? ()
#18 0x77a59ec5 in ntdll!RtlpNtSetValueKey () from
C:\Windows\system32\ntdll.dll
--
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
Personal page: http://users.telenet.be/jorritTyberghein/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop