Package: mono-runtime
Version: 2.10.8.1-5
Severity: important

Dear Maintainer,

The following steps recreate a SIGSEGV error executing native code on Debian 
Wheezy armhf.  
The following steps are reported do work without this error on a Debian Wheezy 
armel system.

# Install Mono packages.
sudo apt-get install mono-runtime
sudo apt-get install mono-vbnc

# Get the test file and rename to proper .zip name.
wget http://www.raspberrypi.org/phpBB3/download/file.php?id=569
mv file.php\?id\=569 test.zip

# Unzip test file to create test.exe.
unzip test.zip

# Execute test.exe file with Mono.
mono test.exe
Stacktrace:

  at System.Drawing.Font.CreateFont 
(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) 
<0x0013f>
  at System.Drawing.Font..ctor 
(string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) 
<0x0007f>
  at System.Drawing.Font..ctor (string,single,string) <0x00057>
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor 
(string,single,string) <0xffffffff>
  at System.Drawing.SystemFonts.get_DefaultFont () <0x0005b>
  at System.Windows.Forms.Theme..ctor () <0x0002b>
  at System.Windows.Forms.ThemeWin32Classic..ctor () <0x00013>
  at System.Windows.Forms.ThemeEngine..cctor () <0x0008b>
  at (wrapper runtime-invoke) object.runtime_invoke_void 
(object,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () 
<0x00007>
  at System.Windows.Forms.Control..ctor () <0x001e3>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor () 
<0xffffffff>
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () <0x00027>
  at (wrapper runtime-invoke) object.runtime_invoke_void 
(object,intptr,intptr,intptr) <0xffffffff>
  at System.Windows.Forms.Control..ctor () <0x0004b>
  at System.Windows.Forms.ScrollableControl..ctor () <0x00013>
  at System.Windows.Forms.ContainerControl..ctor () <0x00023>
  at System.Windows.Forms.Form..ctor () <0x00067>
  at test.Form1..ctor () <0x00013>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ 
(object,intptr,intptr,intptr) <0xffffffff>
  at System.Reflection.MonoCMethod.Invoke 
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
 <0x001f7>
  at System.Reflection.MonoCMethod.Invoke 
(System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
 <0x00053>
  at System.Reflection.ConstructorInfo.Invoke (object[]) <0x00057>
  at System.Activator.CreateInstance (System.Type,bool) <0x0018f>
  at System.Activator.CreateInstance (System.Type) <0x00017>
  at System.Activator.CreateInstance<T> () <0x00017>
  at test.My.MyProject/MyForms.Create__Instance__<T> (T) <0x0012b>
  at test.My.MyProject/MyForms.get_Form1 () <0x0001b>
  at test.My.MyApplication.OnCreateMainForm () <0x0001b>
  at 
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () 
<0x00043>
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run 
(string[]) <0x00023>
  at test.My.MyApplication.Main (string[]) <0x0003f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object 
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:


Debug info from gdb:

Cannot access memory at address 0x616a653c
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb6a8d460 (LWP 3688)]
0xb6f0a3e0 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
  Id   Target Id         Frame
  2    Thread 0xb6a8d460 (LWP 3688) "mono" 0xb6f0c3c4 in __libc_do_syscall () 
from /lib/arm-linux-gnueabihf/libpthread.so.0
* 1    Thread 0xb6df8000 (LWP 3687) "mono" 0xb6f0a3e0 in read () from 
/lib/arm-linux-gnueabihf/libpthread.so.0

Thread 2 (Thread 0xb6a8d460 (LWP 3688)):
#0  0xb6f0c3c4 in __libc_do_syscall () from 
/lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6f09776 in sem_wait@@GLIBC_2.4 () from 
/lib/arm-linux-gnueabihf/libpthread.so.0
#2  0x0011cd98 in mono_sem_wait ()
#3  0x000ab962 in ?? ()
#4  0x000ab962 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb6df8000 (LWP 3687)):
#0  0xb6f0a3e0 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1  0xb6f0a3d4 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2  0xb6ed8258 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armhf (armv7l)

Kernel: Linux 3.2.0-3-mx5
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages mono-runtime depends on:
ii  libc6     2.13-33
ii  libgcc1   1:4.7.1-2
ii  mono-gac  2.10.8.1-5
ii  zlib1g    1:1.2.7.dfsg-13

Versions of packages mono-runtime recommends:
ii  binfmt-support  2.0.9

Versions of packages mono-runtime suggests:
pn  xdg-utils | libgnome2-0 | konqueror  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to