When I try to run my VB.NET application on Debian 6 x86 I get this error:
WARNING **: The class System.Collections.Generic.List`1 could not be loaded, used in mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Stacktrace:
Native stacktrace:
mono() [0x80d5b19]
mono() [0x810f7ab]
[0xb774f600]
mono() [0x80620b8]
mono() [0x80637bf]
mono() [0x80645c8]
mono(mono_runtime_invoke+0x40) [0x81cbab0]
mono(mono_runtime_exec_main+0xde) [0x81cf55e]
mono(mono_runtime_run_main+0x112) [0x81cf862]
mono(mono_main+0x15ec) [0x80b3bdc]
mono() [0x805b675]
/lib/libc.so.6(__libc_start_main+0xe6) [0xb74fdc96]
mono() [0x805b5b1]
Debug info from gdb:
=================================================================
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
How can I fix this? It doesn't look like my application is causing it, I was able to run the application on another machine with another distro.
The issue was caused because apt-get was installing older versions of mono. However, Ubuntu 12.10 seems to install a newer version.
Related
I successfully built standalone llvm on windows with clang-cl (clang 8.0 downloadable binary) against back-end msvc build tool 2017 with windows 10 sdk using cmake/ninja
After that when I was building standalone clang, it reported "version.lib" in linking phase of clang-rename.exe is missing.
LINK Pass 1: command "....
" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: cannot open file 'version.lib'
The weird thing is that word version.lib was slabbed in place amoung various lib\clang?????.libs and the leading -LIBPATH:llvm\\.\lib
I tried looking for version.lib in both build folders of llvm and clang, and found none.
Am I supposed to have verson.lib in llvm\lib?
What am I missing here?
I am using Android Studio on Ubuntu 16.04 and it just keep crashing, sometimes it doesn't even starts completely and it crashes!
I ran the studio.sh file in the terminal and here is the info dump on the terminal, the last part is around the time when the Android Studio crashed.
Terminal Dump:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
WARN: Connection refused
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:244)
at com.intellij.idea.SocketLock.tryActivate(SocketLock.java:184)
at com.intellij.idea.SocketLock.access$300(SocketLock.java:50)
at com.intellij.idea.SocketLock$2.call(SocketLock.java:124)
at com.intellij.idea.SocketLock$2.call(SocketLock.java:113)
at com.intellij.idea.SocketLock.underLocks(SocketLock.java:157)
at com.intellij.idea.SocketLock.lock(SocketLock.java:113)
at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:263)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:101)
at com.intellij.idea.MainImpl.start(MainImpl.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:91)
at java.lang.Thread.run(Thread.java:745)
log4j:WARN No appenders could be found for logger (io.netty.util.internal.logging.InternalLoggerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Looking in classpath from com.intellij.util.lang.UrlClassLoader#7a4f0f29 for /com/sun/jna/linux-x86-64/libjnidispatch.so
Found library resource at jar:file:/media/mohit/776b997b-f9a1-46c2-92a0-7f438c7b78e3/mohit/AndroidStudio/android-studio/lib/jna.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Trying /home/mohit/.AndroidStudio2.1/system/tmp/jna-104073905/jna3415113200453289594.tmp
Found jnidispatch at /home/mohit/.AndroidStudio2.1/system/tmp/jna-104073905/jna3415113200453289594.tmp
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fe367a2f587, pid=19294, tid=140614291318528
#
# JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.91-b14 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0xa27587] SymbolTable::unlink(int*, int*)+0x87
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/mohit/java_error_in_STUDIO_19294.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
This just keeps happening a lot and I am completely unable to code anything.
I think you need to install these dependencies:
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
mentioned here.
Try to take a look the permissions of files in the directory that you are installed Android Studio. Maybe you have a problem related with permissions.
SIGSEGV signal/error is a very generic error and it seems like a missing C library dependency.
On POSIX-compliant platforms, SIGSEGV is the signal sent to a process
when it makes an invalid memory reference, or segmentation fault.
I'm using the Magick.NET-x64.dll file in my project that converts pdf files to jpg images. But when I moved from a 32-bit windows processor to a 64-bit machine the following error encountered:
Could not load file or assembly 'Magick.NET-x64, Version=6.0.0.0, Culture=neutral,
PublicKeyToken=2004825badfa91ec' or one of its dependencies. An attempt was made to load
a program with an incorrect format.
I am getting this error when I build the project. How can I avoid this?
I started some weeks ago testing MVVMCross and I managed to compile in debug mode for simulator.
However, when I try to compile for Ad Hoc or debug mode for Device, I'm getting following errors:
Error MT3001: Could not AOT the assembly '/SomeDirectory/obj/iPhone/Ad-Hoc/mtouch-cache/Build/Cirrious.MvvmCross.Plugins.DownloadCache.dll' (MT3001)
Error MT3001: Could not AOT the assembly '/SomeDirectory/obj/iPhone/Ad-Hoc/mtouch-cache/Build/Cirrious.MvvmCross.dll' (MT3001)
Error MT3001: Could not AOT the assembly '/SomeDirectory/obj/iPhone/Ad-Hoc/mtouch-cache/Build/Cirrious.CrossCore.dll' (MT3001)
I'm linking more MVVMCross libraries, but it seems only these 3 are mentioned. I tried to play around with changing the Mac DLLs with the Windows DLLs but error stays (at a certain point I was getting 5 errors instead of 3 when changing them)
I'm using latest stable version of Xamarin.iOS + MVVMCross 3.0.12
Any Idea?
Regards, Matt
I recently installed mono 2.6.7 on my debian lenny and I am trying to run a minecraft server. Everything I run the mono command i get the error from below:
Stacktrace
Native stacktrace
mono [0x536e71]
mono [0x43f5ed]
/lib/libpthread.so.0 [0x2ba796fa4a80]
mono [0x43f571]
/lib/libpthread.so.0 [0x2ba796fa4a80]
[0x40136834]
=================================================================
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 (core dumped)
Any idea on what would fix this?