-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Crystal Space CVS, last updated Sun Dec 11 22:20:34 UTC 2005
Running on Debian Linux/AMD64, NVIDIA GeForce 6800GT
I encountered two crashes in this build. First seems to be a mistake in
the mouse handling code.
The following block of code appears starting at lines 651, 730, 812 and
857 of libs/csutil/csinput.cpp and would appear to be a cut-and-paste
error:
uint32 buttonMask = 0;
for (int i=31 ; i>=0 ; i--) {
buttonMask <<= 1;
if (Button[number-1][i])
buttonMask |= 0x1;
}
Notice the Button[number-1]. Obviously this fails horribly if number ==
0, which is exactly what happened to me when I tried to run walktest.
The fix seems to be to simply remove the "-1" so that it is just
Button[number], but I'm not 100% sure of the intended behavior.
Possibly related to this is the fact that the mouse handling code in
walktest seems to be broken as well. For example, clicking the right
mouse button causes the viewpoint to start moving forward, but the "button
up" event not honored (or not noticed) so the viewpoint continues to move
forward forever and ever, and no clicking of any other mouse button has
any effect. Anyone seen this?
The second crash appears to be a somewhat naughty linking error. It seems
to be that libwx_base defines a symbol regfree(), and that this is
overriding the instance of regfree() in libc...? Anyone have any ideas?
#0 0x00002aaaabb76dc9 in regfree () from /usr/lib/libwx_baseu-2.6.so.0
#1 0x00002aaab0294b77 in ~csRegExpMatcher (this=0x7fffff913090)
at libs/csutil/regexp.cpp:91
#2 0x00002aaab027fabe in csDriverDBReader::ParseRegexp
(this=0x7fffff9132c0,
node=0x7afcb8, [EMAIL PROTECTED])
at libs/csplugincommon/opengl/driverdb.cpp:229
#3 0x00002aaab028063c in csDriverDBReader::ParseConditions
(this=0x7fffff9132c0,
node=0x7af8d8, [EMAIL PROTECTED], negate=false)
at libs/csplugincommon/opengl/driverdb.cpp:163
#4 0x00002aaab0280eec in csDriverDBReader::ParseRules
(this=0x7fffff9132c0,
node=0x7aeb18) at libs/csplugincommon/opengl/driverdb.cpp:432
#5 0x00002aaab0281860 in csGLDriverDatabase::Open (this=0x750b30,
ogl2d=0x74ef30,
dbRoot=0x7af198, phase=0x0, configPriority=-90)
at libs/csplugincommon/opengl/driverdb.cpp:520
#6 0x00002aaab027033e in csGraphics2DGLCommon::OpenDriverDB
(this=0x74ef30,
phase=0x0) at libs/csplugincommon/opengl/glcommon2d.cpp:425
#7 0x00002aaab0270469 in csGraphics2DGLCommon::Open (this=0x74ef30)
at libs/csplugincommon/opengl/glcommon2d.cpp:110
#8 0x00002aaab0267cfc in csGraphics2DWX::Open (this=0x74ef30)
at plugins/video/canvas/wxgl/GLWXDriver2D.cpp:348
#9 0x00002aaaafe2b273 in csGLGraphics3D::Open (this=0x7478c0)
at plugins/video/render3d/opengl/gl_render3d.cpp:745
#10 0x00002aaaafe284f9 in csGLGraphics3D::HandleEvent (this=0x7478c0,
[EMAIL PROTECTED]) at plugins/video/render3d/opengl/gl_render3d.cpp:3084
#11 0x00002aaaafe3b943 in csGLGraphics3D::EventHandler::HandleEvent
(this=0x7480b0,
[EMAIL PROTECTED]) at gl_render3d.h:687
#12 0x000000000046af53 in csEventTree::Dispatch (this=0x748440,
[EMAIL PROTECTED])
at libs/csutil/cssubscription.cpp:499
#13 0x0000000000444f61 in csEventQueue::Dispatch (this=0x7736f0,
[EMAIL PROTECTED])
at libs/csutil/cseventq.cpp:308
#14 0x000000000042c6f7 in csInitializer::OpenApplication (r=0x77da08)
at libs/cstool/initapp.cpp:442
#15 0x000000000040ac7e in Simple::Initialize (this=0x730e90)
at apps/tests/wxtest/wxtest.cpp:321
#16 0x000000000040b5ed in MyApp::OnInit (this=0x687530)
at apps/tests/wxtest/wxtest.cpp:471
#17 0x000000000040c278 in wxAppConsole::CallOnInit (this=0x687530) at
app.h:87
#18 0x00002aaaabb130c2 in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#19 0x0000000000409dc8 in main (argc=1, argv=0x7fffff914138)
at apps/tests/wxtest/wxtest.cpp:452
[ Peter Amstutz ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED] ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey: pgpkeys.mit.edu 18C21DF7 ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDnLARaeHUyhjCHfcRAox4AJ9qwN7h+pm4eZ/tOmDyN9bYKjsrzACePjnm
xa8/9nONaq9T/G7xj3mI5+4=
=T+ef
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]