Issue 117142 - bridges: Crash in JNI_Proxy.finalize()
Summary: bridges: Crash in JNI_Proxy.finalize()
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOo 3.2.1
Hardware: PC Windows XP
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: Alex
Depends on:
Reported: 2011-03-01 09:01 UTC by pjentsch
Modified: 2017-05-20 11:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

The Extension causing the crash (14.15 KB, application/vnd.openofficeorg.extension)
2011-03-01 09:01 UTC, pjentsch
no flags Details
Configuration file to toolbar "ESCRIBA Format" (1.27 KB, application/zip)
2011-03-01 09:02 UTC, pjentsch
no flags Details
Example JVM error log. (16.46 KB, text/plain)
2011-03-01 09:02 UTC, pjentsch
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pjentsch 2011-03-01 09:01:30 UTC
Created attachment 75952 [details]
The Extension causing the crash

We've implemented a toolbar dropdown controller service in Java and bundled it into an extension. The toolbar controller adds a selection listener to the current frame and updates a combobox with the style of the current selection, very much like the drop down combo in the format toolbar, but only considering user defined styles (don't ask). 

The toolbar works fine, but when trying to insert a line using the "draw/zeichnen" toolbar in writer, Writer immediately crashes. I'm attaching the extension and a custom toolbar configuration (which we didn't bundle with the extension) and a couple of JVM error logs. 

Steps to reproduce: 

- Install extension
- Copy directory "user" from the attached archive into the OOo user configuration folder (e.g. C:\Documents and Settings\userid\Application Settings\\3)
- Start 
- If not already visible, set toolbar "ESCRIBA Format" visible. 
- If not already visible, set toolbar "drawing/Zeichnen" visible.
- Try to insert line.
Comment 1 pjentsch 2011-03-01 09:02:00 UTC
Created attachment 75953 [details]
Configuration file to toolbar "ESCRIBA Format"
Comment 2 pjentsch 2011-03-01 09:02:38 UTC
Created attachment 75954 [details]
Example JVM error log.
Comment 3 kay.ramme 2011-03-03 12:35:24 UTC
Stephan, please have a look.
Comment 4 Stephan Bergmann 2011-03-03 13:36:56 UTC
The below stack from attachment 75954 [details] indicates that the problem is likely an object from sw or svx not being prepared to be destroyed asynchronously.

> Stack: [0x14e30000,0x157c0000],  sp=0x157bf8c8,  free space=9790k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
> C  [sal3.dll+0x6801]
> C  [svxcoremi.dll+0x28a783]
> C  [svxcoremi.dll+0x28afd5]
> C  [svxcoremi.dll+0x236f9d]
> C  [svxcoremi.dll+0x2c0c15]
> C  [svxcoremi.dll+0x272b2e]
> C  [svxcoremi.dll+0x27c1f0]
> C  [svxcoremi.dll+0x27dafe]
> C  [cppuhelper3MSC.dll+0x15d74]
> C  [cppuhelper3MSC.dll+0x16320]
> C  [swmi.dll+0x1e5c5b]
> C  [swmi.dll+0x1e6848]
> C  [cppuhelper3MSC.dll+0x15d74]
> C  [cppuhelper3MSC.dll+0x16320]
> C  [cppuhelper3MSC.dll+0x17ca8]
> C  [cppuhelper3MSC.dll+0x17d37]
> C  [svxmi.dll+0xb504f]
> C  [svxmi.dll+0xb5490]
> C  [msci_uno.dll+0x73b4]
> C  [cppu3.dll+0xe60d]
> C  [cppu3.dll+0x7fc4]
> C  [cppu3.dll+0x8017]
> C  [cppu3.dll+0x8035]
> C  [cppu3.dll+0xe6c7]
> C  [msci_uno.dll+0x7351]
> C  0x0d605437
> j
> j$000(Lcom/sun/star/bridges/jni_uno/JNI_proxy;J)V+2
> j$
> j$
> v  ~StubRoutines::call_stub
> V  [jvm.dll+0xf33c9]
> V  [jvm.dll+0x188a91]
> V  [jvm.dll+0xf3587]
> V  [jvm.dll+0xf35eb]
> V  [jvm.dll+0x11e780]
> V  [jvm.dll+0x1ea6c4]
> V  [jvm.dll+0x18843c]
> C  [MSVCR71.dll+0x9565]
> C  [kernel32.dll+0xb683]
Comment 5 Oliver-Rainer Wittmann 2012-06-13 12:25:58 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.
Comment 6 Marcus 2017-05-20 11:28:05 UTC
Reset assigne to the default "".