[Mono-bugs] [Bug 577942] New: Managed.Forms application crash on hitting a key with System.EntryPointNotFoundException: Xutf8LookupString on SunRay terminal servers

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 8 10:12:18 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=577942

http://bugzilla.novell.com/show_bug.cgi?id=577942#c0


           Summary: Managed.Forms application crash on hitting a key with
                    System.EntryPointNotFoundException: Xutf8LookupString
                    on SunRay terminal servers
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: x86
        OS/Version: Solaris 10
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: burkhard.linke at CeBiTec.Uni-Bielefeld.DE
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.1.7)
Gecko/20091223 Firefox/3.5.2

Using a SunRay terminal server running Solaris/sparc and a mono application
running remotely on a Solaris/x86 box, hitting a key in any Managed.Windows
application terminates the application with a
"System.EntryPointNotFoundException: Xutf8LookupString" exception.

Reproducible: Always

Steps to Reproduce:
1. Start a Managed.Windows application
2. Press any key
Application terminates
Actual Results:  
Application terminates.


Complete stack trace:

Unhandled Exception: System.EntryPointNotFoundException: Xutf8LookupString
  at (wrapper managed-to-native)
System.Windows.Forms.X11Keyboard:Xutf8LookupString
(intptr,System.Windows.Forms.XEvent&,byte[],int,intptr&,intptr&)
  at System.Windows.Forms.X11Keyboard.LookupString
(System.Windows.Forms.XEvent& xevent, Int32 len, System.Windows.Forms.XKeySym&
keysym, System.IntPtr& status) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.X11Keyboard.KeyEvent (IntPtr hwnd, XEvent xevent,
System.Windows.Forms.MSG& msg) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32
wFilterMax) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax)
[0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] in <filename
unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] in <filename unknown>:0 
  at CASAVA_GUI.Program.Main () [0x00000] in <filename unknown>:0 


According to the source code of System.Windows.Forms.X11Keyboard the call is
mapped to the "Xutf8LookupString" function in libX11.so. This function does not
exists in the X11 library that is part of Solaris:
> nm /usr/openwin/lib/libX11.so | grep Xutf8 | wc -l
0

Most other symbols are ok:
> nm /usr/openwin/lib/libX11.so | grep XSupport | wc -l
1

According to the linux manpage of the function, it was added in the Xfree86
server 4.X. The openwin x server is based on an older version of X.Org and thus
does not support the newer functions.

The problems also affects the "Xutf8ResetIC" function in the same class.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list