Community
Participate
Working Groups
Created attachment 186671 [details] bundle to reproduce problem +++ This bug was initially created as a clone of Bug #334109 +++ Build Identifier: Eclipse SDK 3.6.1, also present in Eclipse 3.6 and 3.5, I have not tested earlier versions. To reproduce: Unzip the attachment and import as existing project into workspace. Launch a new Workbench Open the view PDF Browser View in the PDF category Press the "Open Frames" Button, two frames should appear Click on the link "Anchor withing PDF Topic" - PDF opens in right frame Click again on the same link: Eclipse crashes: Unhandled exception Type=Unhandled trap vmState=0x00040000 J9Generic_Signal_Number=00000040 ExceptionCode=c00000fd ExceptionAddress=7C90E8E5 ContextFlags=0001003f Handler1=7FEFA0C0 Handler2=7FECC180 EDI=16FA86D8 ESI=00000000 EAX=000000A4 EBX=00090000 ECX=16FA86D8 EDX=00000028 EIP=7C90E8E5 ESP=00852F7C EBP=00853030 EFLAGS=00210212 GS=0000 FS=003B ES=0023 DS=0023 Module=C:\WINDOWS\system32\ntdll.dll Module_base_address=7C900000 Offset_in_DLL=0000e8e5 Target=2_40_20100401_055940 (Windows XP 5.1 build 2600 Service Pack 3) CPU=x86 (2 logical CPUs) (0xbfe5b000 RAM) ----------- Stack Backtrace -----------
Created attachment 186679 [details] Patch
Comment on attachment 186679 [details] Patch Obsoleting attachment. I attached a patch to the wrong bug - unfortunately I don't have a fix for this one.
Why this bug has Component==SWT ? Is this a SWT bug ?
The bug can be reproduced using only SWT code and not the help system, so SWT is the component that owns it.
(In reply to comment #4) > The bug can be reproduced using only SWT code and not the help system, so SWT > is the component that owns it. can you provide a snippet showing that ? it would help a lot.
The attachment contains the code necessary to reproduce the problem.
Created attachment 186739 [details] patch
I tested out the patch and it does fix this bug as well as the original variant of the problem as reported in Bug #334109. Can we get this fix into 3.6.2?
fixed > 20110113 in the 3.7 stream I think this should be considered for 3.6.2 since it fixes a crash, and I think the change is safe. SSQ can you review for 3.6.2?
Comment on attachment 186739 [details] patch To update, the initial attached patch introduced a regression in another area, so it's no longer being considered. I'm investigating alternate fixes.
Created attachment 187049 [details] revised patch for 3.6.2
fixed in the 3.7 and 3.6.2 streams > 20110118
Thank you, Grant, for the patch. Our product is still on Eclipse 3.6.1. I wonder whether a patch can be created for it.
I would think that the patch in comment 11 would apply to the code in the 3.6.1 release equally well.
Verified in M20110119-0834. Thanks for fixing this so quickly.
*** Bug 334109 has been marked as a duplicate of this bug. ***