Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4381561

Merlin: crash in XFree call on Solaris x86

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • x86
    • solaris_7
    • Verified

      Run attached application on Solaris x86 (I used 2.7).
      on current Merlin build:
      java version "1.4.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b37)
      Java HotSpot(TM) Client VM (build 1.4beta-B37, mixed mode)

      Start quickly clicking and selecting items in the JCombobox.
      Application will crash.
      Here is an output from dbx:
      t@0 (l@3) signal SEGV (no mapping at the fault address) in _free_unlocked at 0xdfb5f990
      0xdfb5f990: _free_unlocked+0x0020: movl -8(%esi),%eax
      Current function is rootWindow
        992 XFree(children);
      (dbx 3) w
         [1] _free_unlocked(), at 0xdfb5f990
         [2] free(), at 0xdfb5f960
         [3] XFree(), at 0xd6485674
       =>[4] rootWindow(w = 75497595U), line 992 in "awt_MToolkit.c"
         [5] focusEventForProxy(xev = UNION, env = 0x81ca9e0, trueFocusWindow = 0xd67bd570, focusProxyWindow = 0xd67bd56c), line 1005 in "awt_MToolkit.c"
         [6] processOneEvent(iMask = 1), line 1310 in "awt_MToolkit.c"
         [7] awt_MToolkit_loop(env = 0x81ca9e0), line 853 in "awt_MToolkit.c"
         [8] Java_sun_awt_motif_MToolkit_run(env = 0x81ca9e0, this = 0xd62faa9c), line 2041 in "awt_MToolkit.c"
      (dbx 4) l
        992 XFree(children);
        993 return root;
        994 }
        995
        996 static void
        997 focusEventForProxy(XEvent xev,
        998 JNIEnv *env,
        999 Window *trueFocusWindow,
        1000 Window *focusProxyWindow) {
        1001

      The bug does not seem to be reproducible on sparc.
      It's reproducible on Merlibird build 02 on x86 as well.

      dmitri.trembovetski@eng 2000-10-20

            dmikhalksunw Denis Mikhalkin (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: