Re: [Libreoffice] libreoffice sdk 3.4 and SWT Linux issue

2011-11-29 Thread Michael Meeks
Hi Othman,

On Mon, 2011-11-28 at 14:35 -0800, othman wrote:
 Sorry for being late to reply to this thread. but this is an important bug
 that needs to be fixed.

Sure; plenty of time - a release per month etc. ;-)

 I'm not sure how to attach the soffice.bin process with gdb?  in fact i run
 my OO addon from netbeans IDE. is there a way i can have netbeans OO plugin
 to output debug info in output console of netbeans.

Sure - so when you have an soffice.bin up and running (I assume you
have); then do:

gdb `pidof soffice.bin`
continue

and when it fails: thread apply all backtrace and file the output in a
bug, and/or do some poking at the code.

Of course it -really- helps if you have the latest debuginfo package
installed for libreoffice -and- ensure that you have latest libreoffice
package that matches that debuginfo too.

 I really need help fixing this frustrating bug! it took me now
 a month and yet couldn't figure out what's the problem.

If it is a crash, it should be easyish to find. Of course, if you had a
small piece of sample code that reproduced it that'd be most ideal - so
we can add this to our regression tests.

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] libreoffice sdk 3.4 and SWT Linux issue

2011-11-29 Thread othman
Thank you for your help. i'll try using the soffice debuger..
  If it is a crash, it should be easyish to find. Of course, if you had a
small piece of sample code that reproduced it that'd be most ideal - so
we can add this to our regression tests. 
I have provided more info about this bug at this thread :
http://user.services.openoffice.org/en/forum/viewtopic.php?f=20t=45679
in this thread you will find link to download an oxt extension that
demonstrate this SWT /OO/Linux issue. you can run itt on a linux box to test
this freezing problem when you close the SWT window. I hope you could help
debuging using the oxt i provided in link above :)
I also posted the SWT code that i use for SWT Browser if this SWT code could
help you spot the problem.
I can provide more info if you require.
thaks for your support!

--
View this message in context: 
http://nabble.documentfoundation.org/libreoffice-3-4-and-SWT-Linux-issue-tp3407355p3544662.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] libreoffice sdk 3.4 and SWT Linux issue

2011-10-10 Thread Michael Meeks
Hi Othman,

On Sun, 2011-10-09 at 06:34 -0700, othman wrote:
 I wrote a Java libreoffice addon using netbeans openoffice plugin and
 libreoffice 3.4.this addon launches a SWT window when i click a libreoffice
 toolbar button. this works fine in windows 7 with libreoffice sdk 3.4

Great :-)

 however for Linux (opensuse 11.4) i face a strange problem . when i close
 the SWT window the whole Libreoffice ( v 3.4)  application freezes and
 becomes unresponsive and i have to kill the libreoffice process each time. 

Hah - so some tangled shutdown ordering problem / deadlock I suppose.

 i checked the trace log in my IDE debugger and no problem is reported. this
 wasn't happening when i was using libreoffice sdk version 3.3 but when i
 upgraded to libreoffice sdk 3.4 for linux this annoying problem happens and
 i have no clue what's wrong. 

Can you attach to the soffice.bin process with gdb, and do a:

thread apply all backtrace

and attach the output here ? :-) [ of course if you have debuginfo
packages installed that's really helpful too ].

Thanks,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] libreoffice sdk 3.4 and SWT Linux issue

2011-10-09 Thread othman
hello,


I wrote a Java libreoffice addon using netbeans openoffice plugin and
libreoffice 3.4.this addon launches a SWT window when i click a libreoffice
toolbar button. this works fine in windows 7 with libreoffice sdk 3.4 .
however for Linux (opensuse 11.4) i face a strange problem . when i close
the SWT window the whole Libreoffice ( v 3.4)  application freezes and
becomes unresponsive and i have to kill the libreoffice process each time. i
checked the trace log in my IDE debugger and no problem is reported. this
wasn't happening when i was using libreoffice sdk version 3.3 but when i
upgraded to libreoffice sdk 3.4 for linux this annoying problem happens and
i have no clue what's wrong.
I use latest SWT binaries from eclipse.

I would be gratefull if someone could propose a clue what's going wrong and
how to solve this frustrating problem.

thanks


--
View this message in context: 
http://nabble.documentfoundation.org/libreoffice-sdk-3-4-and-SWT-Linux-issue-tp3407355p3407355.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice