You are not logged in.

#1 2009-03-20 13:04:54

magiusche
Member
Registered: 2008-12-05
Posts: 37

mono-debugger CRASH on arch_86_x64

Hi at all, guys! lol

Someone had tried mono-debugger on x64?

i just try this:

# pacman -Sy mono-debugger

(all completed succesfully)

and then:

$ mdb
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Debugger.Frontend.GnuReadLine ---> System.DllNotFoundException: libmonodebuggerreadline
  at (wrapper managed-to-native) Mono.Debugger.Frontend.GnuReadLine:mono_debugger_readline_static_init ()
  at Mono.Debugger.Frontend.GnuReadLine..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at Mono.Debugger.Frontend.CommandLineInterpreter.Main (System.String[] args) [0x00000]

i've tried on others 2 instance of Archx64 and the error is the same.

Someone can say me hot to solve this damn problem?

I NEED IT!!! yikes

PS: sorry for my poor eanglish (i'm italian).

Thanks in advance.

Poor Magius

Last edited by magiusche (2009-03-20 13:08:41)


Hope i help you!
and
VICE.VERSA

Offline

#2 2009-03-20 13:21:51

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: mono-debugger CRASH on arch_86_x64

Hi,

works here without problems.

$ mdb
Mono Debugger
(mdb) help
List of families of commands:

aliases -- Aliases of other commands
running -- Running the program
breakpoints -- Making program stops at certain points
catchpoints -- Dealing with exceptions
threads -- Dealing with multiple threads
stack -- Examining the stack
files -- Specifying and examining files
data -- Examining data
internal -- Maintenance commands
obscure -- Obscure features
support -- Support facilities

Type "help" followed by a class name for a list of commands in that family.
Type "help" followed by a command name for full documentation.

(mdb)

I have installed following packages:

mono 2.2-1
mono-addins 0.4-1
mono-debugger 2.2-1
mono-tools 2.2-1
monodevelop 1.9.3-1

Cheers,
Daniel

Offline

#3 2009-03-20 13:34:57

magiusche
Member
Registered: 2008-12-05
Posts: 37

Re: mono-debugger CRASH on arch_86_x64

that's the problem.

i've installed following package too:

pacman -S mono-addins mono mono-debugger mono-tools monodevelop

as results i have:
extra/mono 2.2-1
     Free implementation of the .NET platform including runtime and compiler
extra/mono-addins 0.4-1
     a generic framework for creating extensible applications and for creating
     libraries which extend those applications
extra/mono-debugger 2.2-1
     The Mono Debugger
extra/mono-tools 2.2-1
     collection of testing and development tools for use with mono (including
     monodoc browser)
community/monodevelop 1.9.3-1
     A Mono port of SharpDevelop, a .NET Integrated Development Tool [MD 2.0
     beta]

but... the error is the same...

$ mdb
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Debugger.Frontend.GnuReadLine ---> System.DllNotFoundException: libmonodebuggerreadline
  at (wrapper managed-to-native) Mono.Debugger.Frontend.GnuReadLine:mono_debugger_readline_static_init ()
  at Mono.Debugger.Frontend.GnuReadLine..cctor () [0x00000]
  --- End of inner exception stack trace ---
  at Mono.Debugger.Frontend.CommandLineInterpreter.Main (System.String[] args) [0x00000]

it seems that there is a missing library "libmonodebuggerreadline"

but with this command: #  ls /usr/lib/libmono* -l
-rw-r--r-- 1 root root    5512 23 gen 16:30 /usr/lib/libmono-profiler-aot.a
lrwxrwxrwx 1 root root      29 23 gen 16:28 /usr/lib/libmono-profiler-aot.so -> libmono-profiler-aot.so.0.0.0
lrwxrwxrwx 1 root root      29 23 gen 16:28 /usr/lib/libmono-profiler-aot.so.0 -> libmono-profiler-aot.so.0.0.0
-rwxr-xr-x 1 root root   11171 23 gen 16:30 /usr/lib/libmono-profiler-aot.so.0.0.0
-rw-r--r-- 1 root root    5438 23 gen 16:30 /usr/lib/libmono-profiler-cov.a
lrwxrwxrwx 1 root root      29 23 gen 16:28 /usr/lib/libmono-profiler-cov.so -> libmono-profiler-cov.so.0.0.0
lrwxrwxrwx 1 root root      29 23 gen 16:28 /usr/lib/libmono-profiler-cov.so.0 -> libmono-profiler-cov.so.0.0.0
-rwxr-xr-x 1 root root   11280 23 gen 16:30 /usr/lib/libmono-profiler-cov.so.0.0.0
-rw-r--r-- 1 root root   79430 23 gen 16:30 /usr/lib/libmono-profiler-logging.a
lrwxrwxrwx 1 root root      33 23 gen 16:28 /usr/lib/libmono-profiler-logging.so -> libmono-profiler-logging.so.0.0.0
lrwxrwxrwx 1 root root      33 23 gen 16:28 /usr/lib/libmono-profiler-logging.so.0 -> libmono-profiler-logging.so.0.0.0
-rwxr-xr-x 1 root root   69356 23 gen 16:30 /usr/lib/libmono-profiler-logging.so.0.0.0
-rw-r--r-- 1 root root 5724460 23 gen 16:30 /usr/lib/libmono.a
lrwxrwxrwx 1 root root      16 23 gen 16:28 /usr/lib/libmono.so -> libmono.so.0.0.0
lrwxrwxrwx 1 root root      16 23 gen 16:28 /usr/lib/libmono.so.0 -> libmono.so.0.0.0
-rwxr-xr-x 1 root root 3231368 23 gen 16:30 /usr/lib/libmono.so.0.0.0
-rw-r--r-- 1 root root  323618 23 gen 16:39 /usr/lib/libmonodebuggerreadline.a
-rwxr-xr-x 1 root root     919 23 gen 16:39 /usr/lib/libmonodebuggerreadline.la
lrwxrwxrwx 1 root root      32 23 gen 16:39 /usr/lib/libmonodebuggerreadline.so -> libmonodebuggerreadline.so.0.0.0
lrwxrwxrwx 1 root root      32 23 gen 16:39 /usr/lib/libmonodebuggerreadline.so.0 -> libmonodebuggerreadline.so.0.0.0
-rwxr-xr-x 1 root root  207385 23 gen 16:39 /usr/lib/libmonodebuggerreadline.so.0.0.0
-rw-r--r-- 1 root root 1601982 23 gen 16:39 /usr/lib/libmonodebuggerserver.a
-rwxr-xr-x 1 root root     983 23 gen 16:39 /usr/lib/libmonodebuggerserver.la
lrwxrwxrwx 1 root root      30 23 gen 16:39 /usr/lib/libmonodebuggerserver.so -> libmonodebuggerserver.so.0.0.0
lrwxrwxrwx 1 root root      30 23 gen 16:39 /usr/lib/libmonodebuggerserver.so.0 -> libmonodebuggerserver.so.0.0.0
-rwxr-xr-x 1 root root 1190641 23 gen 16:39 /usr/lib/libmonodebuggerserver.so.0.0.0

all seems corrects...

i have tried to remove completly MONO and all it's references bbut there is same result.

ive tried to install into other 3 machines (with arch x64) ad there is same results.

so...

anyone have same ideas?

thx again.


Hope i help you!
and
VICE.VERSA

Offline

#4 2009-03-20 13:37:08

magiusche
Member
Registered: 2008-12-05
Posts: 37

Re: mono-debugger CRASH on arch_86_x64

this seems appear only on Arch x64....
have you Arch x64 or 86 (x32)?


Hope i help you!
and
VICE.VERSA

Offline

#5 2009-03-20 13:49:40

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: mono-debugger CRASH on arch_86_x64

I'm running x64 and it works.

Offline

#6 2009-03-20 15:24:06

magiusche
Member
Registered: 2008-12-05
Posts: 37

Re: mono-debugger CRASH on arch_86_x64

Damn....!!! and
WHERE i'M WRONG???

uffs...

can you post here the result of your:
ls /usr/lib/libmono* -l
?
thx


Hope i help you!
and
VICE.VERSA

Offline

#7 2009-03-20 15:45:26

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: mono-debugger CRASH on arch_86_x64

$ ls /usr/lib/libmono* -l
-rw-r--r-- 1 root root    5512 2009-01-23 16:30 /usr/lib/libmono-profiler-aot.a
lrwxrwxrwx 1 root root      29 2009-01-23 16:28 /usr/lib/libmono-profiler-aot.so -> libmono-profiler-aot.so.0.0.0
lrwxrwxrwx 1 root root      29 2009-01-23 16:28 /usr/lib/libmono-profiler-aot.so.0 -> libmono-profiler-aot.so.0.0.0
-rwxr-xr-x 1 root root   11171 2009-01-23 16:30 /usr/lib/libmono-profiler-aot.so.0.0.0
-rw-r--r-- 1 root root    5438 2009-01-23 16:30 /usr/lib/libmono-profiler-cov.a
lrwxrwxrwx 1 root root      29 2009-01-23 16:28 /usr/lib/libmono-profiler-cov.so -> libmono-profiler-cov.so.0.0.0
lrwxrwxrwx 1 root root      29 2009-01-23 16:28 /usr/lib/libmono-profiler-cov.so.0 -> libmono-profiler-cov.so.0.0.0
-rwxr-xr-x 1 root root   11280 2009-01-23 16:30 /usr/lib/libmono-profiler-cov.so.0.0.0
-rw-r--r-- 1 root root   79430 2009-01-23 16:30 /usr/lib/libmono-profiler-logging.a
lrwxrwxrwx 1 root root      33 2009-01-23 16:28 /usr/lib/libmono-profiler-logging.so -> libmono-profiler-logging.so.0.0.0
lrwxrwxrwx 1 root root      33 2009-01-23 16:28 /usr/lib/libmono-profiler-logging.so.0 -> libmono-profiler-logging.so.0.0.0
-rwxr-xr-x 1 root root   69356 2009-01-23 16:30 /usr/lib/libmono-profiler-logging.so.0.0.0
-rw-r--r-- 1 root root 5724460 2009-01-23 16:30 /usr/lib/libmono.a
lrwxrwxrwx 1 root root      16 2009-01-23 16:28 /usr/lib/libmono.so -> libmono.so.0.0.0
lrwxrwxrwx 1 root root      16 2009-01-23 16:28 /usr/lib/libmono.so.0 -> libmono.so.0.0.0
-rwxr-xr-x 1 root root 3231368 2009-01-23 16:30 /usr/lib/libmono.so.0.0.0
-rw-r--r-- 1 root root  323618 2009-01-23 16:39 /usr/lib/libmonodebuggerreadline.a
-rwxr-xr-x 1 root root     919 2009-01-23 16:39 /usr/lib/libmonodebuggerreadline.la
lrwxrwxrwx 1 root root      32 2009-01-23 16:39 /usr/lib/libmonodebuggerreadline.so -> libmonodebuggerreadline.so.0.0.0
lrwxrwxrwx 1 root root      32 2009-01-23 16:39 /usr/lib/libmonodebuggerreadline.so.0 -> libmonodebuggerreadline.so.0.0.0
-rwxr-xr-x 1 root root  207385 2009-01-23 16:39 /usr/lib/libmonodebuggerreadline.so.0.0.0
-rw-r--r-- 1 root root 1601982 2009-01-23 16:39 /usr/lib/libmonodebuggerserver.a
-rwxr-xr-x 1 root root     983 2009-01-23 16:39 /usr/lib/libmonodebuggerserver.la
lrwxrwxrwx 1 root root      30 2009-01-23 16:39 /usr/lib/libmonodebuggerserver.so -> libmonodebuggerserver.so.0.0.0
lrwxrwxrwx 1 root root      30 2009-01-23 16:39 /usr/lib/libmonodebuggerserver.so.0 -> libmonodebuggerserver.so.0.0.0
-rwxr-xr-x 1 root root 1190641 2009-01-23 16:39 /usr/lib/libmonodebuggerserver.so.0.0.0

EDIT:
I have found the solution. The package was compiled against termcap-compat, that's wrong and shouldn't be linked against the debugger. If you install it, it will run, but it's not correct. I will fix this and upload a new package to the repo. Thanks for pointing that out.

Last edited by ise (2009-03-20 16:04:26)

Offline

#8 2009-03-20 16:04:05

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: mono-debugger CRASH on arch_86_x64

It's fixed in the pacakge mono-debugger 2.2-2 for x86_64. i686 was compiled correctly.
Just wait for your mirror for sync and install the new mono-debugger package.

Offline

#9 2009-03-20 16:08:42

magiusche
Member
Registered: 2008-12-05
Posts: 37

Re: mono-debugger CRASH on arch_86_x64

Thx very well.

I need DAMN Microsoft for WORK and MONO is my only solution.

I Love Arch :-)
and
sure...

Love You Too :-))))

bye

(waiting for mirror syncronization)


Hope i help you!
and
VICE.VERSA

Offline

Board footer

Powered by FluxBB