Bug 22095 - mono runtime crashes due to an assertion at class.c:4686, condition `method->klass->generic_class' not met
Summary: mono runtime crashes due to an assertion at class.c:4686, condition `method->...
Status: RESOLVED NORESPONSE
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-08-14 05:22 UTC by Dylan Borg
Modified: 2017-07-12 22:50 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Dylan Borg 2014-08-14 05:22:35 UTC
* Assertion at class.c:4686, condition `method->klass->generic_class' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at System.Web.Configuration.HttpModulesSection.LoadModules (System.Web.HttpApplication) <0x001b7>
  at System.Web.HttpApplication.InitOnce (bool) <0x001cf>
  at System.Web.HttpApplication.Start (object) <0x000d7>
  at System.Web.HttpApplication.System.Web.IHttpHandler.ProcessRequest (System.Web.HttpContext) <0x00057>
  at System.Web.HttpRuntime.Process (System.Web.HttpWorkerRequest) <0x0021b>
  at System.Web.HttpRuntime.RealProcessRequest (object) <0x00093>
  at System.Web.HttpRuntime.ProcessRequest (System.Web.HttpWorkerRequest) <0x0004f>
  at Mono.WebServer.MonoWorkerRequest.ProcessRequest () <0x00093>
  at Mono.WebServer.BaseApplicationHost.ProcessRequest (Mono.WebServer.MonoWorkerRequest) <0x00077>
  at Mono.WebServer.XSPApplicationHost.ProcessRequest (int,System.Net.IPEndPoint,System.Net.IPEndPoint,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformation) <0x0040b>
  at (wrapper remoting-invoke-with-check) Mono.WebServer.XSPApplicationHost.ProcessRequest (int,System.Net.IPEndPoint,System.Net.IPEndPoint,string,string,string,string,byte[],string,intptr,Mono.WebServer.SslInformation) <0xffffffff>
  at Mono.WebServer.XSP.XSPWorker.RunInternal (object) <0x004f7>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:


Debug info from gdb:

  File "/usr/bin/mono-sgen-gdb.py", line 34
    c = "\u%X".format (val)
                       ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 0-1: truncated \uXXXX escape
[New LWP 3348]
[New LWP 3344]
[New LWP 3343]
[New LWP 3342]
[New LWP 3341]
[New LWP 3340]
[New LWP 3338]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0xb6ebe040 in read () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: No such file or directory.
  Id   Target Id         Frame 
  8    Thread 0xb5914430 (LWP 3338) "Finalizer" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
  7    Thread 0xb4bff430 (LWP 3340) "mono" 0xb6e60154 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
  6    Thread 0xb4bdf430 (LWP 3341) "IO Threadpool w" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
  5    Thread 0xb4baf430 (LWP 3342) "Threadpool moni" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
  4    Thread 0xb4e08430 (LWP 3343) "Threadpool work" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
  3    Thread 0xb49ff430 (LWP 3344) "Threadpool work" 0xb6e55fc4 in read () at ../sysdeps/unix/syscall-template.S:81
  2    Thread 0xb31ff430 (LWP 3348) "Threadpool work" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
* 1    Thread 0xb6f74250 (LWP 3337) "mono" 0xb6ebe040 in read () at ../sysdeps/unix/syscall-template.S:81

Thread 8 (Thread 0xb5914430 (LWP 3338)):
#0  __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
#1  0xb6ebd432 in do_futex_wait (isem=isem@entry=0x26688c <finalizer_sem>) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#2  0xb6ebd4a6 in __new_sem_wait (sem=0x26688c <finalizer_sem>) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
#3  0x001755ba in mono_sem_wait (sem=sem@entry=0x26688c <finalizer_sem>, alertable=alertable@entry=1) at mono-semaphore.c:101
#4  0x00113d20 in finalizer_thread (unused=<optimized out>) at gc.c:1077
#5  0x001009ae in start_wrapper_internal (data=<optimized out>) at threads.c:660
#6  start_wrapper (data=<optimized out>) at threads.c:707
#7  0x00178456 in inner_start_thread (arg=0xbed77358) at mono-threads-posix.c:100
#8  0xb6eb8e64 in start_thread (arg=0xb5914430) at pthread_create.c:313
#9  0xb6e5fc28 in ?? () at ../ports/sysdeps/unix/sysv/linux/arm/nptl/../clone.S:96 from /lib/arm-linux-gnueabihf/libc.so.6
Cannot access memory at address 0x894ff0e0

=================================================================
Got a SIGABRT 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
Comment 1 Zoltan Varga 2014-08-16 23:03:04 UTC
Is this reproducible ? If it is, is there some kind of testcase which reproduces the problem ?
Comment 2 Rodrigo Kumpera 2014-08-25 23:44:27 UTC
Please provide a test case and instructions on how to reproduce it.
Comment 3 Ludovic Henry 2017-07-12 22:50:17 UTC
Can you still reproduce with latest version of mono? If you can, please reopen and provide a repro case. Thank you