Unknown engine loading crash
| Project: | AgateLib |
| Version: | 0.3.x-dev |
| Component: | AgateOTK |
| Category: | bug report |
| Priority: | critical |
| Assigned: | kanato |
| Status: | needs review |
Jump to:
Hello,
I was testing AgateLib trunk on revision 1157 and got a crash while trying to load the test "Basic Drawing".
AgateLib also crashes on other tests which I tried.
Crash with some debug symbols: http://pastebin.com/m57cf61a2
If you need deeper debugging I can install more debug packages.
System spec:
openSUSE 11.2 x64
ATI Mobility Radeon HD4300 Series
mono --version
Mono JIT compiler version 2.6.1 (tarball Thu Dec 17 17:21:49 UTC 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC and Parallel Mark)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
glxgears works, also other 3D games.
~ Marcel (Agon)
I've filed an OpenTK bug report:
http://www.opentk.com/node/1468
At the moment this looks like it's a Mono bug with p/invoke on x64, although it might be an OpenTK bug. The call to Egl.IsSupported causes the crash, which p/invokes GetCurrentContext from the Egl libraries. These aren't mapped in the OpenTK.dll.config file, so AFAIK this should give a dll not found exception.
Posting Agon's debug output here in case the pastebin expires:
Well this definitely seems to be a 64-bit issue. I think I have been able to reproduce it in a 64-bit OpenSuse VirtualBox guest. I commited an updated OpenTK.dll in rev. 1171 that I hope fixes it. In addition, I seem to be able to reproduce the "weird text" bug, which I'll create a separate bug report for.