Bug 82890 - Crash by segmentation fault when trying to select something
Summary: Crash by segmentation fault when trying to select something
Status: RESOLVED DUPLICATE of bug 82777
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) Master
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Not Assigned
Depends on:
Reported: 2014-08-21 04:46 UTC by Jean-Baptiste Faure
Modified: 2014-08-21 07:35 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

backtrace of the crash (5.87 KB, text/plain)
2014-08-21 04:46 UTC, Jean-Baptiste Faure
bugdoc (58.53 KB, application/vnd.oasis.opendocument.text)
2014-08-21 04:55 UTC, Jean-Baptiste Faure

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Faure 2014-08-21 04:46:04 UTC
Created attachment 105000 [details]
backtrace of the crash

Step to reproduce:
1/ open an existing text document
2/ try to select something with the mouse

-> crash.
Backtrace attached.
I get this crash with master build last night.
Version: (Build ID: e6369973702286d92bfc34ab8305d4a9bcf5c27e)

- selection works in the about dialog.
- Ubuntu / Unity does not like the crash, I had difficulty to return to the terminal to continue the gdb session; changing from LO freezed window to the terminal window in the same workspace was impossible. It worked on a second try if I moved first the LO window in another workspace. 

Best regards. JBF
Comment 1 Jean-Baptiste Faure 2014-08-21 04:55:18 UTC
Created attachment 105002 [details]

Argh! The issue is more weird than expected (by me): it occurs only if I select a part of the main title of the attached text document.

Step to reproduce:
1/ open the attached text document
2/ try to select something in the title "Guide pour la rédaction d’un mémoire de stage ou de thèse".

-> crash.

Selection works as expected in the body of the text. Works too in Calc and Impress.

Best regards. JBF
Comment 2 Julien Nabet 2014-08-21 05:31:30 UTC
According to the bt, I think it's a dup of fdo#82777.
Now don't hesitate to reopen this tracker if I'm wrong.

*** This bug has been marked as a duplicate of bug 82777 ***
Comment 3 Jean-Baptiste Faure 2014-08-21 07:31:42 UTC
Thank you Julien, you are surely right. Indeed, if I anchor the frame on the first page to the paragraph, LO does not crash. If I anchor the frame back to the page, the crash comes back.

Best regards. JBF
Comment 4 Julien Nabet 2014-08-21 07:35:43 UTC
You're welcome Jean-Baptiste.
Would you mind copy paste your interesting remark on fdo#82777 ?
Indeed, I asked Michael Stahl if he could take a look at it, perhaps your information may help him.