Bug 148022 - CRASH after click on particular hyperlink
Summary: CRASH after click on particular hyperlink
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer Web (show other bugs)
Version:
(earliest affected)
7.3.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: low major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: wantBacktrace
Depends on:
Blocks:
 
Reported: 2022-03-16 06:22 UTC by Rainer Bielefeld Retired
Modified: 2022-09-08 14:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature: 75bcf4d4-55ce-432c-a464-5056e33acde3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2022-03-16 06:22:31 UTC
Steps how to reproduce with  Installation of Version: 7.3.0.3 (x64) 
Build ID 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win | Locale: de-DE (de_DE); UI: de-DE | Calc: threaded | ElementaryTheme | My normal User Profile

0. Launch LibO  → HTML Document  →  make sure that click on hyperlinks in 
   documents work without <ctrl>!
1. Visit <https://tree.taiga.io/project/rrbd-weststadtputz-2022/wiki/home>
   with (FF) Browser
2. Click into Heading "Das Weststadtputz-Wiki!
3. <Ctrl+y> for select all
4.<Ctrl+c> for copy
5. Switch to HTML document from (0)
6. <ctrk+v> for paste
7. Scroll to Heacing "5 Anhänge"
8. Click on 1903222_001_Weststadtwaldputz_FWSBS2.JPG
   » Expected: Image opens in graphic editor, Browser or something else
     Actual: CRASH  😥

Additional Info
---------------
a) This CRASH is related to very particular circumstances
a1) Does not happen if copied to Calc or WRITER
a2) No crash with newly created user Profile

I can do some additional research, but may be Crash Report leads to a result some faster?

b) Crash not related to that particular link on that particular page, I observed the crash with several additional Taiga pages 
b1) Also reproducible with copy or area "5 Attachments" ... "Activity" in
    (2) ... (6)
Comment 1 Rainer Bielefeld Retired 2022-03-16 06:25:57 UTC
Crash Reason 	EXCEPTION_STACK_OVERFLOW
Comment 2 Telesto 2022-03-16 09:25:02 UTC
Slightly different steps, but I do repro
1. Open Writer
2. Edit -> track Changes -> Record (show is enabled)
3. Visit https://tree.taiga.io/project/rrbd-weststadtputz-2022/wiki/home (in my case Vivaldi)
4. Select Das Weststadtputz-Wiki! until bottom
5. CTRL+C
6. CTRL+V In writer
7. CTRL+CLICK 1903222_001_Weststadtwaldputz_FWSBS2.JPG in Writer -> Crash

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3ccc4c123f5e78e0204d11abeab2d1a74278ca3e
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL Jumbo

FWIW: The copy/paste from web part is requirement
Comment 3 Telesto 2022-03-16 09:25:59 UTC
@Julien
Not sure if this reproducible on Linux.. but well worth a shot
Comment 4 Julien Nabet 2022-03-16 19:06:30 UTC
(In reply to Rainer Bielefeld Retired from comment #0)
> Steps how to reproduce with  Installation of Version: 7.3.0.3 (x64) 
> Build ID 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
> CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL:
> win | Locale: de-DE (de_DE); UI: de-DE | Calc: threaded | ElementaryTheme |
> My normal User Profile
> 
> 0. Launch LibO  → HTML Document  →  make sure that click on hyperlinks in 
>    documents work without <ctrl>!
What to do if it's not the case?
Indeed I gave it a try on pc Debian x86-64 with master sources updated today and just left clicked on link 1903222_001_Weststadtwaldputz_FWSBS2.JPG, it did nothing.
Then I ctrl left clicked and LO proposed to save the image.

Remark: it's quite long for LO to import all the html and the layout is completely broken, perhaps because it doesn't import css.
Comment 5 Julien Nabet 2022-03-16 19:13:47 UTC
(In reply to Telesto from comment #2)
> Slightly different steps, but I do repro
> 1. Open Writer
> 2. Edit -> track Changes -> Record (show is enabled)
> 3. Visit https://tree.taiga.io/project/rrbd-weststadtputz-2022/wiki/home (in
> my case Vivaldi)
> 4. Select Das Weststadtputz-Wiki! until bottom
> 5. CTRL+C
> 6. CTRL+V In writer
> 7. CTRL+CLICK 1903222_001_Weststadtwaldputz_FWSBS2.JPG in Writer -> Crash
When clicking, LO automatically scrolls toward the image above.

Remark: layout broken too.
Comment 6 Stéphane Guillou (stragu) 2022-09-01 21:25:55 UTC
couldn't reproduce with:

Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

which makes it seem it is indeed Windows-only.

Interestingly, clicking the link in the Normal view makes the viewport jump to the first picture (like in comment 5) whereas clicking it in the Web view takes me to Firefox and downloads the picture.
Comment 7 Timur 2022-09-08 14:41:01 UTC
(In reply to Rainer Bielefeld Retired from comment #0)
> a2) No crash with newly created user Profile

We close such reports. 
And no repro for me. 
So I think it makes sense to close. 

If you retest, please try with fresh profile.