Clicking on "Help" in LanguageTools crashes LO 5.1.5.2 on Debian Testing AMD64

Hello Daniel, *,
first thank you for your nice extension :slight_smile: But I discovered a reproducible crash on Debian Testing AMD64:

  1. Start LO
  2. Go to “Tools - LanguageTool - Options…” (in German: “Extras - LanguageTool - Optionen”
  3. Click on “Help” (German: “Hilfe”)

LO crashes immediately … :frowning:

OS: Debian Testing AMD64
LO: Version: 5.1.5.2
Build-ID: 1:5.1.5~rc2-1
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: GL;
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group
(Debian’s own version)

This is not reproducible with a parallel installed
LO: Version: 5.1.5.2
Build-ID: 7a864d8825610a8c07cfc3bc01dd4fce6a9447e5
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: Standard;
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

nor

LO: Version: 5.2.0.4
Build-ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: Standard;
Gebietsschema: de-DE (de_DE.UTF-8)
(both parallel installed, following the instructions from Installing in parallel/Linux - The Document Foundation Wiki)

:wink: All three versions have the LanguageTool 3.4 extension installed. The tow last versions however spit out a longish Java warning but did not crash them. If you need this warning as well, I can send it to you … :wink:

When starting LO from command line, I get the message

Fatal exception: Signal 5
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x39530)[0x7f9c0fb97530]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x398c3)[0x7f9c0fb978c3]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x399f8)[0x7f9c0fb979f8]
/lib/x86_64-linux-gnu/libc.so.6(+0x33250)[0x7f9c0f7f0250]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x2ab)[0x7f9c0d945a6b]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7f9c0d945bdf]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x130102)[0x7f9ba08b0102]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_option_context_parse+0x97)[0x7f9c0d949bf7]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_parse_args+0xa8)[0x7f9ba08b0378]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_init_check+0x9)[0x7f9ba08b03d9]
/usr/java/jdk1.8.0_112/jre/lib/amd64/libawt_xawt.so(+0x40ca1)[0x7f9ba7de7ca1]
/usr/java/jdk1.8.0_112/jre/lib/amd64/libawt_xawt.so(Java_sun_awt_X11_XDesktopPeer_init+0x35)[0x7f9ba7dd79b5]
[0x7f9bb7829774]

Sorry for the inconvenience
Thomas.

Hi Thomas,

thanks for the report. Please also send the warning. Chances that we can fix this seem rather low, as with any crash in LO.

Regards
Daniel

Hello Daniel,
how do I attach screenshots to this platform? Do I need any special rights for it? Or should I send it to your @languagetool.org address?
Sorry for the inconvenience
Thomas.

You can attach images by drag’n’drop them into the editor. Here’s your image you sent via email, thanks:

I’m not sure why LO crashes, but LT show this error because it can’t start a browser to show the help. Is there a browser installed and is there a default browser, i.e. one that starts when you click on e.g. *.html files?

Some technical background about the error: java.lang.UnsupportedOperationException: The BROWSE action is not supported on the current platform! · Issue #140 · openmole/openmole · GitHub

Hello Daniel, *,
thank you for your instruction to attach a screenshot :slight_smile: There are a couple of browsers installed:

$ update-alternatives --display x-www-browser x-www-browser - manual mode link best version is /usr/bin/opera link currently points to /usr/bin/firefox-esr link x-www-browser is /usr/bin/x-www-browser slave x-www-browser.1.gz is /usr/share/man/man1/x-www-browser.1.gz /usr/bin/chromium - priority 40 /usr/bin/conkeror - priority 20 slave x-www-browser.1.gz: /usr/share/man/man1/conkeror.1.gz /usr/bin/firefox-esr - priority 70 slave x-www-browser.1.gz: /usr/share/man/man1/firefox-esr.1.gz /usr/bin/iceweasel - priority 70 slave x-www-browser.1.gz: /usr/share/man/man1/iceweasel.1.gz /usr/bin/konqueror - priority 30 slave x-www-browser.1.gz: /usr/share/man/man1/konqueror.1.gz /usr/bin/opera - priority 120 slave x-www-browser.1.gz: /usr/share/man/man1/opera.1.gz

As far as I understand it, the default browser is firefox-esr.

$ update-alternatives --display www-browser www-browser - auto mode link best version is /usr/bin/lynx link currently points to /usr/bin/lynx link www-browser is /usr/bin/www-browser slave www-browser.1.gz is /usr/share/man/man1/www-browser.1.gz /usr/bin/lynx - priority 40 slave www-browser.1.gz: /usr/share/man/man1/lynx.1.gz seems to indicate that lynx is currently my default command line browser. Is there anything else what I can test to help you fix this? I have started Debian's LO with "--backtrace" (which leads to a direct crash and "--strace" (this results in an 16 MB file (bzip2''ed 1.6 MB)). Would this be helpful to attach here? Have a nice day Thomas.

The trace won’t help us, but maybe it will help LO. You might want to open an issue there. Which browser opens when you click an .html file on the desktop?

Hello Daniel,
maybe I report it to Debian’s bugtracker, as their version crashes but not LO’s own version … :wink:

When clicking on an htmll file on my system, firefox.esr (former IceWeasel) opens (or if already running on another workspace) a new tab is opened there.

Thanks for your time and work on my bug :slight_smile:
Have a nice day
Thomas.

Hello Daniel, *,
i have opened a bug at Debian’s bugtrackert (#834220) and Rene has closed it because of the LT extension … :frowning: And now?

Sorry, there’s nothing I can do. I cannot reproduce the issue here and nobody else has ever reported it before, so I cannot spend more time on it.

Sorry to read … .( Is there anything I need to do to this forum post now? Changing title to something like “[closed] Clicking on…”? or so?

I do not see before this error .