Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363662

Summary: Crash when auto complete show documentation
Product: [Eclipse Project] Platform Reporter: damien_legrand <snoozeman.06>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: eclipse.felipe, jacek.pospychala, lshanmug, remy.suen, Silenio_Quarti
Version: 4.2   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

Description damien_legrand CLA 2011-11-13 14:56:11 EST
Build Identifier: 20110916-0149

Hi,
I have an issue with the auto complete, and it drives me crazy.
I'm on Mac OS X 10.7.2 with Eclipse Java EE (I tried with the 32 Bit version and 64 Bit version).

If I can disable the doc popup, please tel me ! (I don't know how to do it...)

So Eclipse Crash and Mac OS show me this crash report :


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000000002d8

VM Regions Near 0x2d8:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse
    __TEXT                 0000000000001000-0000000000005000 [   16K] r-x/rwx SM=COW  /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse

Application Specific Information:
objc[3626]: garbage collection is OFF
 
Java information:
 Exception type: Bus Error (0xa) at pc=000000009ab4edaf
 
 Java VM: Java HotSpot(TM) Client VM (20.4-b02-402 mixed mode macosx-x86)
 
Current thread (0000000003003400):  JavaThread "main" [_thread_in_native, id=-1397808448, stack(00000000bf800000,00000000c0000000)]
Stack: [00000000bf800000,00000000c0000000]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.eclipse.swt.internal.cocoa.OS.objc_msgSend_bool(IIII)Z
J  org.eclipse.swt.internal.cocoa.NSRunLoop.runMode(Lorg/eclipse/swt/internal/cocoa/NSString;Lorg/eclipse/swt/internal/cocoa/NSDate;)Z
j  org.eclipse.swt.widgets.Display.sleep()Z+36
J  org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(Lorg/eclipse/swt/widgets/Display;)V
j  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+20
j  org.eclipse.ui.internal.Workbench.runUI()I+555
j  org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1
j  org.eclipse.ui.internal.Workbench$7.run()V+55
j  org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  org.eclipse.ui.internal.ide.application.IDEApplication.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+108
j  org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211
j  org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126
j  org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4
v  ~StubRoutines::call_stub
 
Java Threads: ( => current thread )
  000000000394e000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=-1295659008, stack(00000000b2b5d000,00000000b2c5d000)]
  000000000336fc00 JavaThread "Dali Event Handler" [_thread_blocked, id=-1299894272, stack(00000000b2753000,00000000b2853000)]
  000000000311bc00 JavaThread "Dali Event Handler" [_thread_blocked, id=-1300951040, stack(00000000b2651000,00000000b2751000)]
  0000000003b16400 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=-1309405184, stack(00000000b1e41000,00000000b1f41000)]
  000000000330e000 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=-1302007808, stack(00000000b254f000,00000000b264f000)]
  0000000003309c00 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=-1303064576, stack(00000000b244d000,00000000b254d000)]
  0000000003b27800 JavaThread "Worker-9" [_thread_blocked, id=-1304121344, stack(00000000b234b000,00000000b244b000)]
  000000000310e000 JavaThread "Worker-8" [_thread_blocked, id=-1305178112, stack(00000000b2249000,00000000b2349000)]
  0000000003b27000 JavaThread "Worker-7" [_thread_blocked, id=-1306234880, stack(00000000b2147000,00000000b2247000)]
  0000000003b26800 JavaThread "Worker-6" [_thread_blocked, id=-1307291648, stack(00000000b2045000,00000000b2145000)]
  0000000003b26000 JavaThread "Worker-5" [_thread_blocked, id=-1311518720, stack(00000000b1c3d000,00000000b1d3d000)]
  0000000003b25800 JavaThread "Worker-4" [_thread_blocked, id=-1316802560, stack(00000000b1733000,00000000b1833000)]
  0000000003a9cc00 JavaThread "org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon [_thread_blocked, id=-1308348416, stack(00000000b1f43000,00000000b2043000)]
  0000000003341000 JavaThread "Worker-3" [_thread_blocked, id=-1310461952, stack(00000000b1d3f000,00000000b1e3f000)]
  000000000323d800 JavaThread "Java indexing" daemon [_thread_blocked, id=-1312575488, stack(00000000b1b3b000,00000000b1c3b000)]
  0000000003225800 JavaThread "Worker-2" [_thread_blocked, id=-1313632256, stack(00000000b1a39000,00000000b1b39000)]
  000000000321dc00 JavaThread "JavaScript indexing" daemon [_thread_blocked, id=-1314689024, stack(00000000b1937000,00000000b1a37000)]
  00000000031e9000 JavaThread "Worker-1" [_thread_blocked, id=-1315745792, stack(00000000b1835000,00000000b1935000)]
  0000000003811800 JavaThread "Worker-0" [_thread_blocked, id=-1321029632, stack(00000000b132b000,00000000b142b000)]
  00000000038dec00 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=-1317859328, stack(00000000b1631000,00000000b1731000)]
  0000000003179000 JavaThread "Worker-JM" [_thread_blocked, id=-1318916096, stack(00000000b152f000,00000000b162f000)]
  00000000038c9c00 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=-1319972864, stack(00000000b142d000,00000000b152d000)]
  0000000003850000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=-1322086400, stack(00000000b1229000,00000000b1329000)]
  000000000384dc00 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=-1323143168, stack(00000000b1127000,00000000b1227000)]
  0000000003844400 JavaThread "State Data Manager" daemon [_thread_blocked, id=-1324199936, stack(00000000b1025000,00000000b1125000)]
  000000000383e400 JavaThread "Framework Active Thread" [_thread_blocked, id=-1325256704, stack(00000000b0f23000,00000000b1023000)]
  000000000382b400 JavaThread "Poller SunPKCS11-Darwin" daemon [_thread_blocked, id=-1326845952, stack(00000000b0d9f000,00000000b0e9f000)]
  00000000030c3c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=-1328959488, stack(00000000b0b9b000,00000000b0c9b000)]
  00000000030c2c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=-1330016256, stack(00000000b0a99000,00000000b0b99000)]
  00000000030c1c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=-1331073024, stack(00000000b0997000,00000000b0a97000)]
  00000000030c0c00 JavaThread "Surrogate Locker Thread (Concurrent GC)" daemon [_thread_blocked, id=-1332129792, stack(00000000b0895000,00000000b0995000)]
  00000000030b4800 JavaThread "Finalizer" daemon [_thread_blocked, id=-1333186560, stack(00000000b0793000,00000000b0893000)]
  00000000030b3800 JavaThread "Reference Handler" daemon [_thread_blocked, id=-1334243328, stack(00000000b0691000,00000000b0791000)]
=>0000000003003400 JavaThread "main" [_thread_in_native, id=-1397808448, stack(00000000bf800000,00000000c0000000)]
Other Threads:
  00000000030b1000 VMThread [stack: 00000000b058f000,00000000b068f000] [id=-1335300096]
  00000000030c5400 WatcherThread [stack: 00000000b0c9d000,00000000b0d9d000] [id=-1327902720]
 
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
 
Heap
 par new generation   total 14784K, used 2544K [0000000006010000, 0000000007010000, 0000000008010000)
  eden space 13184K,   7% used [0000000006010000, 00000000060fc048, 0000000006cf0000)
  from space 1600K, 100% used [0000000006e80000, 0000000007010000, 0000000007010000)
  to   space 1600K,   0% used [0000000006cf0000, 0000000006cf0000, 0000000006e80000)
 concurrent mark-sweep generation total 69508K, used 49981K [0000000008010000, 000000000c3f1000, 0000000026010000)
 concurrent-mark-sweep perm gen total 105296K, used 72077K [0000000026010000, 000000002c6e4000, 0000000036010000)
 
Code Cache  [0000000004001000, 0000000004a52000, 0000000006001000)
 total_blobs=4432 nmethods=4217 adapters=155 free_code_cache=22774336 largest_free_block=384
 
Virtual Machine Arguments:
JVM Args: -Dosgi.requiredJavaVersion=1.5 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Xms40m -Xmx512m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts 
Java Command: <unknown>
Launcher Type: generic
Physical Memory: Page Size = 4k, Total = 3840M, Free = 12M
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x9ab4edaf non-virtual thunk to WebCore::FrameView::isOnActivePage() const + 15
1   com.apple.WebCore             	0x9a621f21 WebCore::ScrollAnimatorMac::contentAreaWillPaint() const + 31
2   com.apple.WebCore             	0x9a621ed2 WebCore::FrameView::notifyPageThatContentAreaWillPaint() const + 106
3   com.apple.WebCore             	0x9a40023d WebCore::ScrollView::repaintContentRectangle(WebCore::IntRect const&, bool) + 141
4   com.apple.WebCore             	0x9a3895dc WebCore::FrameView::doDeferredRepaints() + 134
5   com.apple.WebCore             	0x9a38954a WebCore::FrameView::endDeferredRepaints() + 202
6   com.apple.WebCore             	0x9a3e243d WebCore::FrameView::layout(bool) + 2321
7   com.apple.WebKit              	0x91ad1c62 -[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:] + 274
8   com.apple.WebKit              	0x91ad1b41 -[WebHTMLView layout] + 65
9   com.apple.WebKit              	0x91aca8e3 -[WebDynamicScrollBarsView(WebInternal) updateScrollers] + 179
10  com.apple.WebKit              	0x91ad19e9 -[WebDynamicScrollBarsView(WebInternal) setScrollingModes:vertical:andLock:] + 121
11  com.apple.WebCore             	0x9a3e2f1d WebCore::ScrollView::platformSetScrollbarModes() + 173
12  com.apple.WebCore             	0x9a37bb1e WebCore::ScrollView::setScrollbarModes(WebCore::ScrollbarMode, WebCore::ScrollbarMode, bool, bool) + 200
13  com.apple.WebCore             	0x9a3e2155 WebCore::FrameView::layout(bool) + 1577
14  com.apple.WebKit              	0x91ad1c62 -[WebHTMLView layoutToMinimumPageWidth:height:maximumPageWidth:adjustingViewSize:] + 274
15  com.apple.WebKit              	0x91ad1b41 -[WebHTMLView layout] + 65
16  com.apple.WebKit              	0x91acae9a -[WebDynamicScrollBarsView(WebInternal) updateScrollers] + 1642
17  com.apple.WebKit              	0x91ad19e9 -[WebDynamicScrollBarsView(WebInternal) setScrollingModes:vertical:andLock:] + 121
18  com.apple.WebCore             	0x9a3e2f1d WebCore::ScrollView::platformSetScrollbarModes() + 173
19  com.apple.WebCore             	0x9a37bb1e WebCore::ScrollView::setScrollbarModes(WebCore::ScrollbarMode, WebCore::ScrollbarMode, bool, bool) + 200
20  com.apple.WebCore             	0x9a41839b WebCore::FrameView::resetScrollbars() + 127
21  com.apple.WebCore             	0x9a4180f1 WebCore::FrameView::~FrameView() + 215
22  com.apple.WebCore             	0x9a8fb72d WebCore::CachedFrame::clear() + 153
23  com.apple.WebCore             	0x9a8fb4e6 WebCore::CachedPage::destroy() + 26
24  com.apple.WebCore             	0x9a5766aa WebCore::PageCache::releaseAutoreleasedPagesNow() + 136
25  com.apple.WebCore             	0x9aabf86b WebCore::Timer<WebCore::PageCache>::fired() + 43
26  com.apple.WebCore             	0x9a369138 WebCore::ThreadTimers::sharedTimerFiredInternal() + 142
27  com.apple.WebCore             	0x9a3690a4 WebCore::ThreadTimers::sharedTimerFired() + 22
28  com.apple.WebCore             	0x9a369070 _ZN7WebCoreL10timerFiredEP16__CFRunLoopTimerPv + 64
29  com.apple.CoreFoundation      	0x93e2a996 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
30  com.apple.CoreFoundation      	0x93e2a327 __CFRunLoopDoTimer + 743
31  com.apple.CoreFoundation      	0x93e093e0 __CFRunLoopRun + 1888
32  com.apple.CoreFoundation      	0x93e088ec CFRunLoopRunSpecific + 332
33  com.apple.CoreFoundation      	0x93e08798 CFRunLoopRunInMode + 120
34  com.apple.Foundation          	0x9a04a607 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 273
35  libswt-pi-cocoa-3738.jnilib   	0x3c316bb0 Java_org_eclipse_swt_internal_cocoa_OS_objc_1msgSend_1bool__IIII + 196
36  ???                           	0x0499a06d 0 + 77176941
37  ???                           	0x047db234 0 + 75346484
38  ???                           	0x04828c9c 0 + 75664540
39  ???                           	0x04003e31 0 + 67124785
40  ???                           	0x04003f55 0 + 67125077
41  ???                           	0x04003f55 0 + 67125077
42  ???                           	0x0400430d 0 + 67126029
43  ???                           	0x04003e31 0 + 67124785
44  ???                           	0x04003f55 0 + 67125077
45  ???                           	0x04003f55 0 + 67125077
46  ???                           	0x04004473 0 + 67126387
47  ???                           	0x04004473 0 + 67126387
48  ???                           	0x04003f97 0 + 67125143
49  ???                           	0x04003f97 0 + 67125143
50  ???                           	0x04003f97 0 + 67125143
51  ???                           	0x04001374 0 + 67113844
52  libjvm.dylib                  	0x02833b87 0x2795000 + 650119
53  libjvm.dylib                  	0x028338f9 0x2795000 + 649465
54  libjvm.dylib                  	0x028338cb 0x2795000 + 649419
55  libjvm.dylib                  	0x0284b899 0x2795000 + 747673
56  libjvm.dylib                  	0x0284cc10 0x2795000 + 752656
57  libjvm.dylib                  	0x0284c96c JVM_InvokeMethod + 370
58  libjvmlinkage.dylib           	0x000e76af JVM_InvokeMethod + 79
59  libjava.jnilib                	0x0062c9c2 Java_sun_reflect_NativeMethodAccessorImpl_invoke0 + 38
60  ???                           	0x0400b9d9 0 + 67156441
61  ???                           	0x04003f97 0 + 67125143
62  ???                           	0x04003f97 0 + 67125143
63  ???                           	0x04004473 0 + 67126387
64  ???                           	0x04003f97 0 + 67125143
65  ???                           	0x04003e31 0 + 67124785
66  ???                           	0x04003e31 0 + 67124785
67  ???                           	0x04001374 0 + 67113844
68  libjvm.dylib                  	0x02833b87 0x2795000 + 650119
69  libjvm.dylib                  	0x028338f9 0x2795000 + 649465
70  libjvm.dylib                  	0x028338cb 0x2795000 + 649419
71  libjvm.dylib                  	0x028425f3 0x2795000 + 710131
72  libjvm.dylib                  	0x02882e36 0x2795000 + 974390
73  eclipse_1406.so               	0x0009873d startJavaJNI + 1991
74  eclipse_1406.so               	0x00097312 startJavaVM + 120
75  eclipse_1406.so               	0x000957c7 run + 4976
76  org.eclipse.eclipse           	0x000030dc original_main + 1914
77  org.eclipse.eclipse           	0x000037c9 main + 1518
78  org.eclipse.eclipse           	0x0000282b _start + 209
79  org.eclipse.eclipse           	0x00002759 start + 41

I Hope it can help.



Reproducible: Always

Steps to Reproduce:
1. Open Eclipse
2. Start to type a method in the editor to show auto complete
3. Wait 0.5/1sec so the doc (yellow popup) is on screen
4. Press Enter
Comment 1 Lakshmi P Shanmugam CLA 2012-07-09 05:55:20 EDT
Do you still see this crash with a eclipse 4.2/3.8?
Comment 2 Lakshmi P Shanmugam CLA 2012-08-03 11:44:22 EDT
Thank you for the bug report. Unfortunately, there is not enough information here to allow us to proceed with debugging it. Please reopen this bug if you still see the problem and are able to supply us with some reproducible steps.