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

Segmentation fault when mousing over JTable that overrides getToolTip()

    XMLWordPrintable

Details

    • generic, x86
    • generic, linux

    Description

      I'm running NetBeans 6.5 RC1 on Ubuntu Linux.
      http://www.netbeans.org/servlets/NewsItemView?newsItemID=1298

      System information:
      Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15
      System: Linux version 2.6.24-21-generic running on i386; UTF-8; en_US (nb)


      There is a dialog box, SQL History that has a JTable where the JTable constructor overrides getToolTip()

             new JTable() {

                  public String getToolTipText(MouseEvent e) {
                      java.awt.Point p = e.getPoint();
                      int rowIndex = rowAtPoint(p);
                      int colIndex = columnAtPoint(p);
                      return view.getSQLHistoryTooltipValue(rowIndex, colIndex);
                  }
              };


      After awhile of mousing over the cells of the JTable, NetBeans crashes.

      All the information I see so far is:

      /home/jbaker/builds/r2/main/nbbuild/netbeans/bin/../platform9/lib/nbexec: line 493: 11335 Segmentation fault


      If I use JDK 1.5.0_16 with the same version of NetBeans, no segmentation fault occurs.
      To reproduce (should be an easier way)

      1) On Ubuntu running JDK 1.6.0_10, install NetBeans 6.5 RC
      http://download.netbeans.org/netbeans/6.5/rc/

      2) In the Services tab, connect to sample connections under Databases

      3) Expand a connection, select a table, right-click and choose View Data
      Repeat for other tables a few times

      4) Right-click in the editor and choose SQL History

      5) Mouse over the table listing SQL statements, move the mouse across the
      statements a few times without clicking

      Result: NetBeans crashes with segmentation fault

      I don't see a hs log file

      Is there a way to force a log file to be generated ?

      Attachments

        Activity

          People

            stayer Kirill Kirichenko (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: