[Mono-winforms-list] Mono hangs after looking up XKeycodeToKeysym

Peter Dennis Bartok peter at novonyx.com
Tue Jan 24 15:07:00 EST 2006


Adam,

Can you run your app with "mono --trace" and see where it hangs (or what 
infinite loop you enter). You might want to redirect to a file, it's gonna 
give you *lots* of output.

I tried running here with your LC locale, but I don't get a problem (I'm on 
SuSE10). Does it matter what application you are trying to run, or are all 
failing?

Cheers,
  Peter

-----Original Message-----
From: "Adam J. P. Wood" <AdamWood at xephi.co.uk>
To: <mono-winforms-list at lists.ximian.com>
Date: 23 January, 2006 15:01
Subject: Re: [Mono-winforms-list] Mono hangs after looking up 
XKeycodeToKeysym


>Accidentally repiled to author instead of the list, so I'm trying again. :)
>
>I'm not running a 64 bit processor, just an AMD Athlon XP.
>
>Adam
>
>On Monday 23 January 2006 20:57, Peter Dennis Bartok wrote:
>> Are you on a 64bit processor?
>>
>> Peter
>>
>> -----Original Message-----
>> From: "Adam J. P. Wood" <AdamWood at xephi.co.uk>
>> To: <mono-winforms-list at lists.ximian.com>
>> Date: 23 January, 2006 13:55
>> Subject: [Mono-winforms-list] Mono hangs after looking up 
>> XKeycodeToKeysym
>>
>> >Please help,
>> >
>> >I'm using mono on Linux and trying to run an app which has previously
>> >worked
>> >on windows. I think it is a problem with my Xorg configuration but I 
>> >can't
>> >figure it out.
>> >
>> >I'm using Gentoo, Xorg 6.8, and Mono 1.1.13
>> >
>> >When I start up mono with debugging output the app starts and prints 
>> >some
>> >console text. As it tries to open the first window obviously the
>> >System.Windows.Forms assembly gets loaded and then a lot of lines like 
>> >the
>> >following:
>> >
>> >Mono-INFO: Searching for 'XGetKeyboardMapping'.
>> >Mono-INFO: Probing 'XGetKeyboardMapping'.
>> >Mono-INFO: Found as 'XGetKeyboardMapping'.
>> >Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
>> >Mono-INFO: DllImport loading location: 'libX11.so.6'.
>> >Mono-INFO: Searching for 'XFree'.
>> >Mono-INFO: Probing 'XFree'.
>> >Mono-INFO: Found as 'XFree'.
>> >Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
>> >Mono-INFO: DllImport loading location: 'libX11.so.6'.
>> >Mono-INFO: Searching for 'XFreeModifiermap'.
>> >Mono-INFO: Probing 'XFreeModifiermap'.
>> >Mono-INFO: Found as 'XFreeModifiermap'.
>> >Mono-INFO: DllImport attempting to load: 'libX11.so.6'.
>> >Mono-INFO: DllImport loading location: 'libX11.so.6'.
>> >Mono-INFO: Searching for 'XKeycodeToKeysym'.
>> >Mono-INFO: Probing 'XKeycodeToKeysym'.
>> >Mono-INFO: Found as 'XKeycodeToKeysym'.
>> >
>> >The lines above are the last lines I get and then mono just hangs and
>> >starts
>> >eating cpu time without getting any further. I've since tried other apps
>> >and
>> >they all have the same effect. I can only assume after hours of playing
>> >around that my keyboard settings are defunct but I don't see how.
>> >Here is a snippet from my /etc/X11/xorg.conf, I have tried it both with
>> > the commented lines working and disabled.
>> >
>> >Section "InputDevice"
>> >        Identifier  "Keyboard1"
>> >        Driver      "kbd"
>> >#       Option      "AutoRepeat" "500 30"
>> ># Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
>> >#       Option      "XkbRules" "xorg"
>> >#       Option      "XkbModel" "pc105"
>> >#       Option      "XkbLayout" "gb"
>> >EndSection
>> >
>> >Does anyone have any ideas?
>> >
>> >thanks,
>> >
>> >Adam Wood
>> >_______________________________________________
>> >Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>> >http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>_______________________________________________
>Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
> 



More information about the Mono-winforms-list mailing list