Test AgateLib on 64 bit Linux

Project:AgateLib
Version:0.3.x-dev
Component:AgateOTK
Category:bug report
Priority:critical
Assigned:kanato
Status:confirmed
Description

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)

#1

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.

#2

Posting Agon's debug output here in case the pastebin expires:

  1. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Tests/Tests.exe
  2. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Tests/AgateLib.dll
  3. Loaded assembly: /usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
  4. Loaded assembly: /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
  5. Loaded assembly: /usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  6. Loaded assembly: /usr/lib/mono/gac/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
  7. Loaded assembly: /usr/lib/mono/gac/UIAutomationWinforms/1.0.0.0__f4ceacb585d99812/UIAutomationWinforms.dll
  8. Loaded assembly: /usr/lib/mono/gac/UIAutomationProvider/3.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
  9. Loaded assembly: /usr/lib/mono/gac/UIAutomationBridge/3.0.0.0__31bf3856ad364e35/UIAutomationBridge.dll
  10. Loaded assembly: /usr/lib/mono/gac/UIAutomationTypes/3.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
  11. Loaded assembly: /usr/lib/mono/gac/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
  12. Loaded assembly: /usr/lib/mono/gac/UiaAtkBridge/1.0.0.0__f4ceacb585d99812/UiaAtkBridge.dll
  13. Loaded assembly: /usr/lib/mono/gac/atk-sharp/2.12.0.0__35e10195dab3c99f/atk-sharp.dll
  14. Loaded assembly: /usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
  15. Loaded assembly: /usr/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/Mono.Posix.dll
  16. Loaded assembly: /usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  17. Loaded assembly: /usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  18. KDE colorscheme read failure, using built-in colorscheme
  19. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Tests/AgateLib.WinForms.dll
  20. Loaded assembly: /usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
  21. OS Version: Unix 2.6.31.5
  22. OS Version: Unix 2.6.31.5
  23.     Major: 2
  24.     Major: 2
  25.     Major revision: 0
  26.     Major revision: 0
  27.     Minor: 6
  28.     Minor: 6
  29.     Minor revision: 5
  30.     Minor revision: 5
  31.     Revision: 5
  32.     Revision: 5
  33.     Build: 31
  34.     Build: 31
  35.     Service Pack:
  36.     Service Pack:
  37. App Dir: /home/marcel/Projects/agate/trunk/Binaries/Debug/Tests
  38. App Data: /home/marcel/.config/AgateLib Tests
  39. Documents: /home/marcel/AgateLib Tests
  40. Loaded assembly: __MetadataTypes
  41. Loaded assembly: __MetadataTypes
  42. Thread started:
  43. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/AgateDrawing.dll
  44. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/AgateFMOD.dll
  45. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/AgateLib.WinForms.dll
  46. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/AgateOTK.dll
  47. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/OpenTK.dll
  48. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/AgateSDL.dll
  49. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/Tao.Sdl.dll
  50. Thread started:
  51. WARNING: Assembly AgateOTK, Version=0.3.2.0, Culture=neutral, PublicKeyToken=null was loaded in the LoadFrom context.  Move it to the application directory to load in the Load context.
  52.  
  53.  
  54. WARNING: Assembly AgateOTK, Version=0.3.2.0, Culture=neutral, PublicKeyToken=null was loaded in the LoadFrom context.  Move it to the application directory to load in the Load context.
  55.  
  56.  
  57. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/AgateOTK.dll
  58. Loaded assembly: /home/marcel/Projects/agate/trunk/Binaries/Debug/Drivers/OpenTK.dll
  59. Size: 2304
  60. Size: 2304
  61. System:
  62. System:
  63.     Linux
  64.     Linux
  65.    
  66.    
  67.    
  68.    
  69.    
  70.    
  71.    
  72.    
  73. Initializing threaded X11: 1.
  74. Initializing threaded X11: 1.
  75. Display connection: 20709280, Screen count: 1
  76. Display connection: 20709280, Screen count: 1
  77. Detected configuration: Linux / Mono
  78. Detected configuration: Linux / Mono
  79. Initializing threaded X: success.
  80. Initializing threaded X: success.
  81. Stacktrace:
  82.  
  83.   at OpenTK.Platform.Egl.Egl.get_IsSupported () <IL 0x00019, 0xffffffff>
  84.   at OpenTK.Platform.Egl.Egl.get_IsSupported () <IL 0x00002, 0x0004c>
  85.   at OpenTK.Platform.Factory..cctor () <IL 0x00057, 0x00253>
  86.   at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0001b, 0x000b9>
  87.   at OpenTK.Graphics.GraphicsMode..cctor () <IL 0x00036, 0xffffffff>
  88.   at OpenTK.Graphics.GraphicsMode..cctor () <IL 0x0001e, 0x000cc>
  89.   at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <IL 0x0001b, 0x000b9>
  90.   at AgateOTK.GL_DisplayControl.CreateContext () [0x0009a] in /home/marcel/Projects/agate/trunk/Drivers/AgateOTK/GL_DisplayControl.cs:228
  91.   at AgateOTK.GL_DisplayControl.CreateContext () [0x00000] in /home/marcel/Projects/agate/trunk/Drivers/AgateOTK/GL_DisplayControl.cs:210
  92.   at AgateOTK.GL_DisplayControl..ctor (AgateLib.DisplayLib.CreateWindowParams) [0x000ee] in /home/marcel/Projects/agate/trunk/Drivers/AgateOTK/GL_DisplayControl.cs:96
  93.   at AgateOTK.GL_Display.CreateDisplayWindow (AgateLib.DisplayLib.CreateWindowParams) [0x00000] in /home/marcel/Projects/agate/trunk/Drivers/AgateOTK/GL_Display.cs:97
  94.   at AgateLib.DisplayLib.DisplayWindow..ctor (AgateLib.DisplayLib.CreateWindowParams) [0x0002a] in /home/marcel/Projects/agate/trunk/AgateLib/DisplayLib/DisplayWindow.cs:87
  95.   at AgateLib.DisplayLib.DisplayWindow.CreateFromControl (object) [0x00000] in /home/marcel/Projects/agate/trunk/AgateLib/DisplayLib/DisplayWindow.cs:109
  96.   at AgateOTK.GL_Display.CreateFakeWindow () [0x0000b] in /home/marcel/Projects/agate/trunk/Drivers/AgateOTK/GL_Display.cs:274
  97.   at AgateOTK.GL_Display.Initialize () [0x00000] in /home/marcel/Projects/agate/trunk/Drivers/AgateOTK/GL_Display.cs:259
  98.   at AgateLib.DisplayLib.Display.Initialize (AgateLib.Drivers.DisplayTypeID) [0x00010] in /home/marcel/Projects/agate/trunk/AgateLib/DisplayLib/Display.cs:96
  99.   at AgateLib.AgateSetup.InitializeDisplay (AgateLib.Drivers.DisplayTypeID) [0x0000c] in /home/marcel/Projects/agate/trunk/AgateLib/AgateSetup.cs:199
  100.   at AgateLib.AgateSetup.InitializeDisplay () [0x00006] in /home/marcel/Projects/agate/trunk/AgateLib/AgateSetup.cs:187
  101.   at AgateLib.AgateSetup.InitializeAll () [0x0000b] in /home/marcel/Projects/agate/trunk/AgateLib/AgateSetup.cs:162
  102.   at AgateLib.AgateSetup.Initialize (bool,bool,bool) [0x00015] in /home/marcel/Projects/agate/trunk/AgateLib/AgateSetup.cs:154
  103.   at Tests.DisplayTests.BasicDrawing.BasicDrawing.Main (string[]) [0x00014] in /home/marcel/Projects/agate/trunk/Tests/DisplayTests/BasicDrawing/BasicDrawing.cs:88
  104.   at Tests.frmLauncher.LaunchTest (Tests.frmLauncher/TestInfo) [0x00026] in /home/marcel/Projects/agate/trunk/Tests/frmLauncher.cs:102
  105.   at Tests.frmLauncher.lstTests_DoubleClick (object,System.EventArgs) [0x00018] in /home/marcel/Projects/agate/trunk/Tests/frmLauncher.cs:89
  106.   at System.Windows.Forms.Control.OnDoubleClick (System.EventArgs) [0x0001c] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:6101
  107.   at System.Windows.Forms.ListBox.OnMouseUpLB (object,System.Windows.Forms.MouseEventArgs) [0x0001e] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1907
  108.   at System.Windows.Forms.Control.OnMouseUp (System.Windows.Forms.MouseEventArgs) [0x0001c] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:6387
  109.   at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&) [0x0007e] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5592
  110.   at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) [0x0017b] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5329
  111.   at System.Windows.Forms.ListBox.WndProc (System.Windows.Forms.Message&) [0x00048] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:1218
  112.   at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) [0x00000] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:234
  113.   at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&) [0x00000] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:215
  114.   at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) [0x00085] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:242
  115.   at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&) [0x00000] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:3471
  116.   at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) [0x00000] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:605
  117.   at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) [0x0036a] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:984
  118.   at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) [0x00014] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:763
  119.   at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) [0x00000] in /usr/src/packages/BUILD/mono-2.6.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:742
  120.   at Tests.Launcher.Main (string[]) [0x00029] in /home/marcel/Projects/agate/trunk/Tests/Launcher.cs:20
  121.   at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x0001d, 0x000c0>
  122.  
  123. Native stacktrace:
  124.  
  125.         /usr/bin/mono [0x486311]
  126.         /usr/bin/mono [0x4d189f]
  127.         /lib64/libpthread.so.0 [0x7fdf3d730c00]
  128.         /usr/bin/mono [0x4ad472]
  129.         /usr/bin/mono [0x4ad819]
  130.         /usr/bin/mono [0x4ade81]
  131.         /usr/bin/mono [0x4b58e6]
  132.         /usr/bin/mono [0x42baae]
  133.         /usr/bin/mono [0x449ec0]
  134.         /usr/bin/mono [0x41d377]
  135.         /usr/bin/mono [0x41ea04]
  136.         /usr/bin/mono [0x41f37d]
  137.         /usr/bin/mono [0x41ea53]
  138.         /usr/bin/mono [0x41f37d]
  139.         /usr/bin/mono [0x489f89]
  140.         [0x412bc168]
  141.  
  142. Debug info from gdb:
  143.  
  144. Missing separate debuginfo for /usr/lib64/libgthread-2.0.so.0
  145. Try: zypper install -C "debuginfo(build-id)=bf745d8917d27e255bf174e08e0e6775de77075b"
  146. Missing separate debuginfo for /usr/lib64/libglib-2.0.so.0
  147. Try: zypper install -C "debuginfo(build-id)=7e3842ab0a347df5f56a0697077f4eca83bfe5fe"
  148. Missing separate debuginfo for /lib64/librt.so.1
  149. Try: zypper install -C "debuginfo(build-id)=c663e79551b37d4c0c9bc93b252b917bfdedb150"
  150. Missing separate debuginfo for /lib64/libdl.so.2
  151. Try: zypper install -C "debuginfo(build-id)=44e66ebae672563bd496f290e08d316bc3bf0ac7"
  152. Missing separate debuginfo for /lib64/libpthread.so.0
  153. Try: zypper install -C "debuginfo(build-id)=7bcbabc9da24424f1f5ef7be77b575fd3d796288"
  154. Missing separate debuginfo for /lib64/libm.so.6
  155. Try: zypper install -C "debuginfo(build-id)=57fc1891d8d9f419fb8c7fc06a8285563b53a47e"
  156. Missing separate debuginfo for /lib64/libc.so.6
  157. Try: zypper install -C "debuginfo(build-id)=38ea43a1d9479a965018f7d397bf2503996dc4d7"
  158. Missing separate debuginfo for /lib64/libpcre.so.0
  159. Try: zypper install -C "debuginfo(build-id)=faf1aba9b565a29c99ce1d3944978347d6209cc3"
  160. Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
  161. Try: zypper install -C "debuginfo(build-id)=591af1afa33f255704fb6a60859b93d00e205302"
  162. Missing separate debuginfo for /usr/lib64/gconv/UTF-16.so
  163. Try: zypper install -C "debuginfo(build-id)=4dc9c0aff44820b7b04b954c85dc3bd1a9060b2a"
  164. Missing separate debuginfo for /usr/lib64/libX11.so.6
  165. Try: zypper install -C "debuginfo(build-id)=3ae88da81e5b4c1fd71f9d046fd691d2b7550587"
  166. Missing separate debuginfo for /usr/lib64/libxcb.so.1
  167. Try: zypper install -C "debuginfo(build-id)=54a77c10d44b40080d6d8e65d277ccb7ab2a5b4a"
  168. Missing separate debuginfo for /usr/lib64/libXau.so.6
  169. Try: zypper install -C "debuginfo(build-id)=72341bb9d8a1ad2ca2bbced007f3a785121aac28"
  170. Missing separate debuginfo for /usr/lib64/libgdiplus.so
  171. Try: zypper install -C "debuginfo(build-id)=c1b2d7b9cac9c0c112d196cbed30987c404c6cc4"
  172. Missing separate debuginfo for /lib64/libz.so.1
  173. Try: zypper install -C "debuginfo(build-id)=763926681ebc75fcd9de7b99f7229ff15c7d1754"
  174. Missing separate debuginfo for /usr/lib64/libfreetype.so.6
  175. Try: zypper install -C "debuginfo(build-id)=548e35b1efff83633f9244c84f02d37571e8ac19"
  176. Missing separate debuginfo for /usr/lib64/libXrender.so.1
  177. Try: zypper install -C "debuginfo(build-id)=55f90cfa8482fae594e59cce00c20937e7257446"
  178. Missing separate debuginfo for /usr/lib64/libtiff.so.3
  179. Try: zypper install -C "debuginfo(build-id)=24488a32df13f4f0a7bacc9eac718b1ecf499309"
  180. Missing separate debuginfo for /usr/lib64/libjpeg.so.62
  181. Try: zypper install -C "debuginfo(build-id)=ce95cfb1c72cc3f5bf63e48bc4bc6b55fd43ef7a"
  182. Missing separate debuginfo for /usr/lib64/libgif.so.4
  183. Try: zypper install -C "debuginfo(build-id)=26109750584478961d7a542f03a4d8a6f6cafd0d"
  184. Missing separate debuginfo for /usr/lib64/libpng12.so.0
  185. Try: zypper install -C "debuginfo(build-id)=67ebdd04bd0be9a64a35354cb80d8ba2b0221f8f"
  186. Missing separate debuginfo for /usr/lib64/libexif.so.12
  187. Try: zypper install -C "debuginfo(build-id)=278c0cb13cd2f3b7861da5b1b3a722e30c366791"
  188. Missing separate debuginfo for /usr/lib64/libfontconfig.so.1
  189. Try: zypper install -C "debuginfo(build-id)=91c40a3235e928f04acc6b7d9c308f9db5502b20"
  190. Missing separate debuginfo for /lib64/libexpat.so.1
  191. Try: zypper install -C "debuginfo(build-id)=7e28104e86f1505bd5d7e8b754a9056bc6cdb777"
  192. Missing separate debuginfo for /usr/lib64/libgtk-x11-2.0.so.0
  193. Try: zypper install -C "debuginfo(build-id)=3ef68407a0d2fd8402e30c3510ba77665fc32156"
  194. Missing separate debuginfo for /usr/lib64/libgdk-x11-2.0.so.0
  195. Try: zypper install -C "debuginfo(build-id)=b790d45d12271f7de80fc24169ecf82071cb832d"
  196. Missing separate debuginfo for /usr/lib64/libgdk_pixbuf-2.0.so.0
  197. Try: zypper install -C "debuginfo(build-id)=20edddb566b82a691512c3bc94f4d6ae4167192c"
  198. Missing separate debuginfo for /usr/lib64/libpangocairo-1.0.so.0
  199. Try: zypper install -C "debuginfo(build-id)=92f8e672ab08d6acb437334716aa34af3006624c"
  200. Missing separate debuginfo for /usr/lib64/libXfixes.so.3
  201. Try: zypper install -C "debuginfo(build-id)=6495446f04c2f9a4fa3021f7322d6f12c4017305"
  202. Missing separate debuginfo for /usr/lib64/libatk-1.0.so.0
  203. Try: zypper install -C "debuginfo(build-id)=6b1b562a685377458d2ba24ef2e3080517bddbde"
  204. Missing separate debuginfo for /usr/lib64/libcairo.so.2
  205. Try: zypper install -C "debuginfo(build-id)=eff393400f13166189b42ccd85c24395cb62901a"
  206. Missing separate debuginfo for /usr/lib64/libgio-2.0.so.0
  207. Try: zypper install -C "debuginfo(build-id)=08ca9202ff9c75bc7271ef47e5bbad43a2a0c36d"
  208. Missing separate debuginfo for /usr/lib64/libpangoft2-1.0.so.0
  209. Try: zypper install -C "debuginfo(build-id)=ff6ab6a12ac30c66bca001b897d454b901a759cd"
  210. Missing separate debuginfo for /usr/lib64/libpango-1.0.so.0
  211. Try: zypper install -C "debuginfo(build-id)=1afe045ecc021366c0515b4dad6e66fe0ebe771e"
  212. Missing separate debuginfo for /usr/lib64/libgobject-2.0.so.0
  213. Try: zypper install -C "debuginfo(build-id)=f19847d70b70328d99de6303ce77402c1c0ad267"
  214. Missing separate debuginfo for /usr/lib64/libgmodule-2.0.so.0
  215. Try: zypper install -C "debuginfo(build-id)=8e6cb0d3af9508ac2bfb8db5157694ba8fac5cd9"
  216. Missing separate debuginfo for /usr/lib64/libXext.so.6
  217. Try: zypper install -C "debuginfo(build-id)=a14cd41f23af7f31d0ac2bd8eada730888690b27"
  218. Missing separate debuginfo for /usr/lib64/libXinerama.so.1
  219. Try: zypper install -C "debuginfo(build-id)=c7af2457b235b84f26ce24f1c4d260ec7eeb9f88"
  220. Missing separate debuginfo for /usr/lib64/libXi.so.6
  221. Try: zypper install -C "debuginfo(build-id)=d278c56b4359f6a219af5e13576873a38581c25c"
  222. Missing separate debuginfo for /usr/lib64/libXrandr.so.2
  223. Try: zypper install -C "debuginfo(build-id)=6a1fccee186ebf368f2d6a7d5ccd582943fd1953"
  224. Missing separate debuginfo for /usr/lib64/libXcursor.so.1
  225. Try: zypper install -C "debuginfo(build-id)=56d901d8946aefda2e4b5e12dba24c13ac3f61a9"
  226. Missing separate debuginfo for /usr/lib64/libXcomposite.so.1
  227. Try: zypper install -C "debuginfo(build-id)=04bac2797b48183b0534d8ab8a481383e12680aa"
  228. Missing separate debuginfo for /usr/lib64/libXdamage.so.1
  229. Try: zypper install -C "debuginfo(build-id)=650d88fdf900daadd8ba1c9134c21b4e68b560bc"
  230. Missing separate debuginfo for /usr/lib64/libpixman-1.so.0
  231. Try: zypper install -C "debuginfo(build-id)=e2796f6ce8e24789f258c0047a7ad1c47eeae67d"
  232. Missing separate debuginfo for /usr/lib64/libxcb-render-util.so.0
  233. Try: zypper install -C "debuginfo(build-id)=c316459cc02a8eb148173af72236bfa034acd17b"
  234. Missing separate debuginfo for /usr/lib64/libxcb-render.so.0
  235. Try: zypper install -C "debuginfo(build-id)=7fdad8a2768f53c44f378b1ce0b4747f045b0ffb"
  236. Missing separate debuginfo for /lib64/libresolv.so.2
  237. Try: zypper install -C "debuginfo(build-id)=75e330be16e086696f5aac505e30e9628abc9ca9"
  238. Missing separate debuginfo for /lib64/libselinux.so.1
  239. Try: zypper install -C "debuginfo(build-id)=e2a1d921e5eb705fc1e51c5651c04fea1e31bcfd"
  240. Missing separate debuginfo for /usr/lib64/libSDL-1.2.so.0
  241. Try: zypper install -C "debuginfo(build-id)=b0156191fc8c52380d5c8bc2399c4aab70afa0cd"
  242. Missing separate debuginfo for /usr/lib64/libSDL_mixer-1.2.so.0
  243. Try: zypper install -C "debuginfo(build-id)=71cd777867dac15bc96a18776d55b40e6d21e192"
  244. Missing separate debuginfo for /lib64/libgcc_s.so.1
  245. Try: zypper install -C "debuginfo(build-id)=0206e11fa8ca0db0633073adcbf1349a7871e1dc"
  246. Missing separate debuginfo for /usr/lib64/libEGL.so
  247. Try: zypper install -C "debuginfo(build-id)=43b0b0adfaf997c7b8551e1183c1a9c5d00b5c6d"
  248. Mono support loaded.
  249. [Thread debugging using libthread_db enabled]
  250. [New Thread 0x7fdf3bd5f910 (LWP 17336)]
  251. [New Thread 0x7fdf3bf60910 (LWP 17335)]
  252. [New Thread 0x7fdf3e41b910 (LWP 17334)]
  253. [New Thread 0x7fdf3cf43910 (LWP 17332)]
  254. 0x00007fdf3d72fabb in read () from /lib64/libpthread.so.0
  255.   5 Thread 0x7fdf3cf43910 (LWP 17332)  0x00007fdf3d72d049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  256.   4 Thread 0x7fdf3e41b910 (LWP 17334)  0x00007fdf3d730341 in nanosleep ()
  257.    from /lib64/libpthread.so.0
  258.   3 Thread 0x7fdf3bf60910 (LWP 17335)  0x00007fdf3d72ee11 in sem_wait ()
  259.    from /lib64/libpthread.so.0
  260.   2 Thread 0x7fdf3bd5f910 (LWP 17336)  0x00007fdf3d72fdfc in recv ()
  261.    from /lib64/libpthread.so.0
  262. * 1 Thread 0x7fdf3e40d730 (LWP 17330)  0x00007fdf3d72fabb in read ()
  263.    from /lib64/libpthread.so.0
  264.  
  265. Thread 5 (Thread 0x7fdf3cf43910 (LWP 17332)):
  266. #0  0x00007fdf3d72d049 in pthread_cond_wait@@GLIBC_2.3.2 ()
  267.    from /lib64/libpthread.so.0
  268. #1  0x00000000005bdb53 in GC_wait_marker () at pthread_support.c:1785
  269. #2  0x00000000005b82bd in GC_help_marker (my_mark_no=14) at mark.c:1116
  270. #3  0x00000000005be95c in GC_mark_thread (id=<value optimized out>)
  271.     at pthread_support.c:548
  272. #4  0x00007fdf3d72865d in start_thread () from /lib64/libpthread.so.0
  273. #5  0x00007fdf3d24314d in clone () from /lib64/libc.so.6
  274. #6  0x0000000000000000 in ?? ()
  275.  
  276. Thread 4 (Thread 0x7fdf3e41b910 (LWP 17334)):
  277. #0  0x00007fdf3d730341 in nanosleep () from /lib64/libpthread.so.0
  278. #1  0x0000000000589ab2 in collection_thread (unused=<value optimized out>)
  279.     at collection.c:34
  280. #2  0x00007fdf3d72865d in start_thread () from /lib64/libpthread.so.0
  281. #3  0x00007fdf3d24314d in clone () from /lib64/libc.so.6
  282. #4  0x0000000000000000 in ?? ()
  283.  
  284. Thread 3 (Thread 0x7fdf3bf60910 (LWP 17335)):
  285. #0  0x00007fdf3d72ee11 in sem_wait () from /lib64/libpthread.so.0
  286. #1  0x00000000004fd280 in finalizer_thread (unused=<value optimized out>)
  287.     at gc.c:1022
  288. #2  0x0000000000572595 in start_wrapper (data=<value optimized out>)
  289.     at threads.c:662
  290. #3  0x00000000005a2663 in thread_start_routine (args=0x934500)
  291.     at wthreads.c:286
  292. #4  0x00000000005bf031 in GC_start_routine (arg=<value optimized out>)
  293.     at pthread_support.c:1390
  294. #5  0x00007fdf3d72865d in start_thread () from /lib64/libpthread.so.0
  295. #6  0x00007fdf3d24314d in clone () from /lib64/libc.so.6
  296. #7  0x0000000000000000 in ?? ()
  297.  
  298. Thread 2 (Thread 0x7fdf3bd5f910 (LWP 17336)):
  299. #0  0x00007fdf3d72fdfc in recv () from /lib64/libpthread.so.0
  300. #1  0x00000000004ab03d in recv (__flags=<value optimized out>,
  301.     __n=<value optimized out>, __buf=<value optimized out>,
  302.     __fd=<value optimized out>) at /usr/include/bits/socket2.h:45
  303. #2  debugger_thread (__flags=<value optimized out>, __n=<value optimized out>,
  304.     __buf=<value optimized out>, __fd=<value optimized out>)
  305.     at debugger-agent.c:5918
  306. #3  0x00000000005a2663 in thread_start_routine (args=0x9345c8)
  307.     at wthreads.c:286
  308. #4  0x00000000005bf031 in GC_start_routine (arg=<value optimized out>)
  309.     at pthread_support.c:1390
  310. #5  0x00007fdf3d72865d in start_thread () from /lib64/libpthread.so.0
  311. #6  0x00007fdf3d24314d in clone () from /lib64/libc.so.6
  312. #7  0x0000000000000000 in ?? ()
  313.  
  314. Thread 1 (Thread 0x7fdf3e40d730 (LWP 17330)):
  315. #0  0x00007fdf3d72fabb in read () from /lib64/libpthread.so.0
  316. #1  0x0000000000486489 in read (__nbytes=<value optimized out>,
  317.     __buf=<value optimized out>, __fd=<value optimized out>)
  318.     at /usr/include/bits/unistd.h:45
  319. #2  mono_handle_native_sigsegv (__nbytes=<value optimized out>,
  320.     __buf=<value optimized out>, __fd=<value optimized out>)
  321.     at mini-exceptions.c:1809
  322. #3  0x00000000004d189f in mono_arch_handle_altstack_exception (sigctx=
  323.     0x7fdf3e420bc0, fault_addr=<value optimized out>, stack_ovf=0)
  324.     at exceptions-amd64.c:879
  325. #4  <signal handler called>
  326. #5  0x00000000004ad472 in merge_argument_class_from_type (
  327.     type=<value optimized out>, class1=ARG_CLASS_NO_CLASS) at mini-amd64.c:394
  328. #6  0x00000000004ad819 in add_valuetype (gsctx=<value optimized out>,
  329.     sig=<value optimized out>, ainfo=<value optimized out>,
  330.     type=<value optimized out>, is_return=<value optimized out>,
  331.     gr=<value optimized out>, fr=0x7fff3686118c, stack_size=0x7fff36861188)
  332.     at mini-amd64.c:552
  333. #7  0x00000000004ade81 in get_call_info (gsctx=0x0, mp=<value optimized out>,
  334.     sig=0x13a1558, is_pinvoke=<value optimized out>) at mini-amd64.c:688
  335. #8  0x00000000004b58e6 in mono_arch_emit_call (cfg=0xdaf4e0, call=0x1028290)
  336.     at mini-amd64.c:1824
  337. #9  0x000000000042baae in mono_emit_call_args (tail=<value optimized out>,
  338.     virtual=<value optimized out>, calli=<value optimized out>,
  339.     args=<value optimized out>, sig=<value optimized out>,
  340.     cfg=<value optimized out>) at method-to-ir.c:2194
  341. #10 mono_emit_calli (tail=<value optimized out>,
  342.     virtual=<value optimized out>, calli=<value optimized out>,
  343.     args=<value optimized out>, sig=<value optimized out>,
  344.     cfg=<value optimized out>) at method-to-ir.c:2206
  345. #11 0x0000000000449ec0 in mono_method_to_ir (cfg=0xdaf4e0,
  346.     method=<value optimized out>, start_bblock=<value optimized out>,
  347.     end_bblock=<value optimized out>, return_var=<value optimized out>,
  348.     dont_inline=<value optimized out>, inline_args=0x0, inline_offset=0,
  349.     is_virtual_call=0) at method-to-ir.c:6698
  350. #12 0x000000000041d377 in mini_method_compile (method=
  351.     "OpenTK.Platform.Egl.Egl:GetCurrentContext ()",
  352.     opts=<value optimized out>, domain=<value optimized out>,
  353.     run_cctors=<value optimized out>, compile_aot=<value optimized out>,
  354.     parts=<value optimized out>) at mini.c:3401
  355. #13 0x000000000041ea04 in mono_jit_compile_method_inner (
  356.     jit_ex=<value optimized out>, opt=<value optimized out>,
  357.     target_domain=<value optimized out>, method=
  358.     "OpenTK.Platform.Egl.Egl:GetCurrentContext ()") at mini.c:4146
  359. #14 mono_jit_compile_method_with_opt (jit_ex=<value optimized out>,
  360.     opt=<value optimized out>, target_domain=<value optimized out>, method=
  361.     "OpenTK.Platform.Egl.Egl:GetCurrentContext ()") at mini.c:4338
  362. #15 0x000000000041f37d in mono_jit_compile_method (method=
  363.     Traceback (most recent call last):
  364.   File "/usr/bin/mono-gdb.py", line 150, in to_string
  365.     class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
  366. RuntimeError: Error reading string from inferior: Eingabe-/Ausgabefehler
  367. ) at mini.c:4363
  368. #16 0x000000000041ea53 in mono_jit_compile_method_inner (
  369.     jit_ex=<value optimized out>, opt=<value optimized out>,
  370.     target_domain=<value optimized out>, method=
  371.     "OpenTK.Platform.Egl.Egl:GetCurrentContext ()") at mini.c:4129
  372. #17 mono_jit_compile_method_with_opt (jit_ex=<value optimized out>,
  373.     opt=<value optimized out>, target_domain=<value optimized out>, method=
  374.     "OpenTK.Platform.Egl.Egl:GetCurrentContext ()") at mini.c:4338
  375. #18 0x000000000041f37d in mono_jit_compile_method (method=
  376.     Traceback (most recent call last):
  377.   File "/usr/bin/mono-gdb.py", line 150, in to_string
  378.     class_name = stringify_class_name (klass ["name_space"].string (), klass ["name"].string ())
  379. RuntimeError: Error reading string from inferior: Eingabe-/Ausgabefehler
  380. ) at mini.c:4363
  381. #19 0x0000000000489f89 in mono_magic_trampoline (regs=0x7fff36861a18, code=
  382.     0x41c159fc "H\213\315H\203\301\330H\211E\330D\213\034%",
  383.     arg=<value optimized out>, tramp=<value optimized out>)
  384.     at mini-trampolines.c:476
  385. #20 0x00000000412bc168 in ?? ()
  386. #21 0x0000000000000002 in ?? ()
  387. #22 0x0000000000572b7a in mono_thread_interruption_checkpoint_request (
  388.     bypass_abort_protection=914758336) at threads.c:3938
  389. #23 0x0000000000572b7a in mono_thread_interruption_checkpoint_request (
  390.     bypass_abort_protection=914758416) at threads.c:3938
  391. #24 0x00000000412bc173 in ?? ()
  392. #25 0x00007fff368618c0 in ?? ()
  393. #26 0x00007fff36861840 in ?? ()
  394. #27 0x00007fdf3e2b7db0 in ?? ()
  395. #28 0x00000000016c2390 in ?? ()
  396. #29 0x0000000000000000 in ?? ()
  397.  
  398. =================================================================
  399. Got a SIGSEGV while executing native code. This usually indicates
  400. a fatal error in the mono runtime or one of the native libraries
  401. used by your application.
  402. =================================================================

#3

Component:Unknown» AgateOTK
Assigned to:Anonymous» kanato
Status:open» needs review

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.

#5

Title:Unknown engine loading crash» Test AgateLib on 64 bit Linux
Status:needs review» confirmed

I think this is fixed but it needs to be checked.