Download it now!
Bug 38932 - Editing hyperlink crashes Writer
Summary: Editing hyperlink crashes Writer
Status: RESOLVED DUPLICATE of bug 47044
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.5.0 release
Hardware: x86-64 (AMD64) Windows (All)
: medium major
Assignee: Not Assigned
Depends on:
Reported: 2011-07-03 09:51 UTC by theWebalyst
Modified: 2012-06-12 01:00 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Writer doc containing hyperlink, which when edited causes crash (972.28 KB, application/vnd.oasis.opendocument.text)
2011-07-14 02:56 UTC, theWebalyst
Bug 38932 - WinDbg session with FAILED_SOURCE_CODE (36.96 KB, text/plain)
2012-06-06 00:49 UTC, bfoman (inactive)

Note You need to log in before you can comment on or make changes to this bug.
Description theWebalyst 2011-07-03 09:51:04 UTC
Open the attached document in Writer
Find the hypertext link ""
Right click on the link and choose Edit
Edit the target link (e.g. backspace to delete the 'r' in newsletter, then press 'r' to restore it)
Writer crashes

Note: this is not specific to this hyperlink or this document. Embedded hyperlinks are fraught with problems, this is just one of the most severe and easily reproduced I've encountered. I don't understand why you marked my report 33596 instead of using it to do a more thorough testing of this area. I didn't split out the bugs because they were so numerous that I don't have time to do it, and thought it best for someone to look at the code and then test it properly. Clearly this code has some major problems!

OS: Windows 7 SP1 64bit (dual monitor active)
Comment 1 2011-07-14 01:52:26 UTC
Could you provide the sample document please?
Comment 2 theWebalyst 2011-07-14 02:56:20 UTC
Created attachment 49075 [details]
Writer doc containing hyperlink, which when edited causes crash
Comment 3 theWebalyst 2011-07-14 02:59:39 UTC
I think one way to trigger a crash is to edit an existing link, place the cursor at the end of the "Target" URL and type a character.

E.g. in the attached doc:

Right click on the link ""
Edit Hyperlink
Place cursor at end of ""
Type 'r'
Comment 4 Björn Michaelsen 2011-12-23 12:26:32 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:

more detail on this bulk operation:
Comment 5 sasha.libreoffice 2012-02-16 04:49:53 UTC
@ theWebalyst
In 3.5.0 still reproducible?
Comment 6 theWebalyst 2012-02-17 02:23:19 UTC
I'm not touching 3.5 until it is hardened -> I tried RC3 and within seconds of editing a spreadsheet in it Calc 3.5 crashed, so I have reverted to 3.4.

My comment is that LibreOffice needs a more robust regression testing process. Automation is probably needed, but it takes a lot of effort to set up.

Mark (theWebalyst)
Comment 7 sasha.libreoffice 2012-02-17 02:31:16 UTC
> I tried RC3 and within seconds of editing a spreadsheet in it Calc 3.5 crashed
It is very interesting. This crash was reproducible by doing the same thing again or it was crashed in random moments?
And in 3.4 Writer crash with attached file reproducible?
Comment 8 theWebalyst 2012-02-17 02:57:25 UTC

I'm sorry but I don't have much more information. I had work to do and so uninstalled 3.5 immediately. Here is what I know...

What I was doing was inserting a few rows using Ctrl-+ (having selected a row), and some copy and pasting into the new rows.

The crash happened within seconds of opening an existing (simple) v3.4 spreadsheet and starting to work on it in 3.5. So I went on to do similar operations in 3.4 without problems (although I can't be 100% certain I used the same keystrokes).

Comment 9 sasha.libreoffice 2012-02-17 04:26:06 UTC
Thanks for information. I will try to reproduce problem.
Comment 10 theWebalyst 2012-05-25 07:25:44 UTC
I just installed 3.5 release and went to edit a hyperlink in my ebook template and it crashes reliably.

Comment 11 theWebalyst 2012-05-25 07:32:44 UTC
(In reply to comment #10)
> I just installed 3.5 release and went to edit a hyperlink in my ebook template
> and it crashes reliably.
> Mark

Should say how... there's an existing hyperlink text & link = ""

Right click on the link, Edit Hyperlink
In the dialog, contents of "Target" are selected:
I click after the final '/' to unset the selection and place the cursor after the final '/'
I type '#' to so the content becomes
Before I do anything else, Writer crashes.

Aside: it looks as if just having this dialogue open might be flakey as while I reviewed this description, Writer crashed while just sitting there with the Edit Hyperlink dialog open, before I changed anything.

Comment 12 sasha.libreoffice 2012-05-29 08:19:09 UTC
Thanks for additional information
Sorry for can not reproduce this bug in 3.5.3 on Fedora 64 bit and in 3.5.2 on Windows 7 32 bit
This bug reproducible on another computer?
Comment 13 bfoman (inactive) 2012-06-06 00:49:01 UTC
Created attachment 62630 [details]
Bug 38932 - WinDbg session with FAILED_SOURCE_CODE

Confirmed with:
Build ID: own W7 debug build
Windows 7 Professional SP1 64 bit

Crash while editing hyperlink. 
Attached full WinDbg session with FAILED_SOURCE_CODE.
It is the same section of the code as in bug 47044 and many others mentioned there.
Comment 14 Stephan Bergmann 2012-06-12 01:00:34 UTC
this indeed looks like a duplicate of bug 47044

*** This bug has been marked as a duplicate of bug 47044 ***