Bug 97201 - crash : when user creates hyperlink to new spreadsheet
Summary: crash : when user creates hyperlink to new spreadsheet
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.4.6.3 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2016-01-17 06:55 UTC by sawakaze
Modified: 2016-03-01 13:09 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
screen capture (117.56 KB, image/png)
2016-01-17 06:55 UTC, sawakaze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sawakaze 2016-01-17 06:55:09 UTC
Created attachment 122015 [details]
screen capture

Hi,

After following steps, libreoffice was crashed.
(1) Open Hyperlink dialog (i.e. the case of Draw, Insert > Hyperlink)  
(2) Open New Document dialog
(3) input new filename to file text box and select "Spreadsheet" (see Attachment) 
(4) press Apply button 
--> crash

I confirmed following env.

--
OS : Linux Debian
Desktop : MATE

LibreOffice Version :
Version: 5.1.0.2
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
CPU Threads: 4; OS Version: Linux 3.16; UI Render: default; 
Locale: en-US (C)

regards,
Sawakaze
Comment 1 Shinji Enoki 2016-01-17 07:55:57 UTC
I was reproduced in the following versions.

Version: 5.1.0.2
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
Locale: ja-JP (ja_JP.utf8)
Debian GNU/Linux 8.2 (jessie) x86-64
Comment 2 Shinji Enoki 2016-01-17 08:20:45 UTC
> (3) input new filename to file text box and select "Spreadsheet" (see Attachment) 

I have tested change the "file type" in step 3.

Crash "File type": 
  Spreadsheet, Presentation, Drawing, Formula

Not Crash "File type": 
  Text Document, HTML Document, XML Form Document, Master Document
Comment 3 Usama 2016-01-17 08:24:09 UTC
Hi Sawakaze,
Thank you for reporting the bug.

Unable to reproduce it on LO 5.1.0.1 Windows 8

I can confirm that the bug is present in LO 5.1.0.1 and 4.4.6.3 Ubuntu 15.04
LO 5.0.2.2 on Ubuntu 16.04
Comment 4 Jean-Baptiste Faure 2016-01-17 08:27:31 UTC
I reproduce the crash too with Version: 5.1.1.0.0+
Build ID: 055f20b8f2e2b8e1039c295784f01b7459c3a39f
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
Ubuntu_15.10_x86-64
Locale: fr-FR (fr_FR.UTF-8)

Note: the spreadsheet is created and the recovery dialog allows to restore both files.

Best regards. JBF
Comment 5 raal 2016-01-17 16:10:45 UTC
No crash in LibreOffice 3.5.0 
Build ID: d6cde02 -> regression
Comment 6 raal 2016-01-19 07:59:53 UTC
(In reply to Usama Akkad from comment #3)
> I can confirm that the bug is present in LO 5.1.0.1 and 4.4.6.3 Ubuntu 15.04
> LO 5.0.2.2 on Ubuntu 16.04
Comment 7 raal 2016-02-19 18:45:13 UTC
This seems to have begun at the below commit.
Adding Cc: to Stephan Bergmann ; Could you possibly take a look at this one?
Thanks
 03e703b5e2a7c1a93c24a0f9eacf968092cac28f is the first bad commit
commit 03e703b5e2a7c1a93c24a0f9eacf968092cac28f
Author: Matthew Francis <mjay.francis@gmail.com>
Date:   Wed May 27 18:10:24 2015 +0800

    source-hash-02f76dec4c54ec7fb28729941c7044307058665a
    
    Bibisect: This commit covers the following irrelevant source commit(s)
    4bb76ebfb81cd2f5da89dd9f35b035f687424b15
    2ac02d6083094c9b831851c8cc5be5fc41a4a818
    280f1c03a71bc72e8d1222de4118424561bf8ac7
    233138918dfcc5d3c19c5c018be94dcfcf61a11c
    e0517616fac5b9b64ad82257534db95f39df568d
    9f3716cb7d99ceb5c3c390e650c13188f6515e61
    61682ae51129310b62290be77c8349754845aedb
    
    commit 02f76dec4c54ec7fb28729941c7044307058665a
    Author:     Stephan Bergmann <sbergman@redhat.com>
    AuthorDate: Mon Jan 19 11:00:58 2015 +0100
    Commit:     Stephan Bergmann <sbergman@redhat.com>
    CommitDate: Mon Jan 19 11:00:58 2015 +0100
    
        Re fdo#80538: Remove read-only infobar after "Save As..."
    
        ...on a doc in r/o mode, which will switch to the newly saved document in r/w
        mode.  Was missing from c6270de939d5ee51b61dc4ac02c52f1d9b5b1e47 "fdo#80538 Show
        an infobar when document is in read-only mode."
    
        Change-Id: Ie17f4213f989cb4b9d3f7fc114392ec6f516a965

:040000 040000 e4a1a9d4cb4982ee34f227dd3d0718ccc2bbf045 11c851736b46dcec4cc1053f1b66e874a7549b76 M	opt

git bisect log
# bad: [dda106fd616b7c0b8dc2370f6f1184501b01a49e] source-hash-0db96caf0fcce09b87621c11b584a6d81cc7df86
# good: [5b9dd620df316345477f0b6e6c9ed8ada7b6c091] source-hash-2851ce5afd0f37764cbbc2c2a9a63c7adc844311
git bisect start 'latest' 'oldest'
# bad: [0c30a2c797b249d0cd804cb71554946e2276b557] source-hash-45aaec8206182c16025cbcb20651ddbdf558b95d
git bisect bad 0c30a2c797b249d0cd804cb71554946e2276b557
# good: [770ff0d1a74d2450c2decb349b62c5087e12c46b] source-hash-549b7fad48bb9ddcba7dfa92daea6ce917853a03
git bisect good 770ff0d1a74d2450c2decb349b62c5087e12c46b
# bad: [259e888083cf7697956bb7e5f2691e8153eadb4c] source-hash-1884c0bbd40f0ded41d7a1656cb64fb1f6368c36
git bisect bad 259e888083cf7697956bb7e5f2691e8153eadb4c
# good: [ee7c82541a2e99f76af570d3faa897504149913a] source-hash-54defd1bd3359c95e45891c7294847d0cebca753
git bisect good ee7c82541a2e99f76af570d3faa897504149913a
# bad: [504f60cf9ee84da75d4c15a62dedb18976129c14] source-hash-c8af68bc5adf093f9df803f6fe0147ac9d116169
git bisect bad 504f60cf9ee84da75d4c15a62dedb18976129c14
# bad: [00c3cacafec11fdfbdf7f0c8c279503cd109d8a0] source-hash-f21114332bf670ab7f8e9b0a7f4d83d436d8fd9e
git bisect bad 00c3cacafec11fdfbdf7f0c8c279503cd109d8a0
# bad: [b6b84ffae9594f1212dae23de89ddeb029bcc135] source-hash-74b0c5d0bb91977a2392c8a58bba7f13595e4bfb
git bisect bad b6b84ffae9594f1212dae23de89ddeb029bcc135
# bad: [7835737d2ddb5a36b9ce90f04022a5c5f6300555] source-hash-de900ebdd4fec0fb06d56583ae22b2adc3608a65
git bisect bad 7835737d2ddb5a36b9ce90f04022a5c5f6300555
# bad: [d7442c6ad2ad39f5d0a09b6c90abfb4b66f9157f] source-hash-1f978c136e803a0ab75fad427cde90661ed1afac
git bisect bad d7442c6ad2ad39f5d0a09b6c90abfb4b66f9157f
# good: [a6482bf639ab9430397492d61b73b57484b2eae6] source-hash-83e8d0166d4dba92aafead49c427d5ffddd38b72
git bisect good a6482bf639ab9430397492d61b73b57484b2eae6
# bad: [a1502d291d8f316a7ec39b48311149d2b101bc02] source-hash-bfde8099193f852330e9c9a3d7805395837e56da
git bisect bad a1502d291d8f316a7ec39b48311149d2b101bc02
# good: [d276bc78a7e6affb4300c0ae437631d1dfd4f062] source-hash-592984cea1a9cc545358b8d6077113a658834aa5
git bisect good d276bc78a7e6affb4300c0ae437631d1dfd4f062
# bad: [03e703b5e2a7c1a93c24a0f9eacf968092cac28f] source-hash-02f76dec4c54ec7fb28729941c7044307058665a
git bisect bad 03e703b5e2a7c1a93c24a0f9eacf968092cac28f
# first bad commit: [03e703b5e2a7c1a93c24a0f9eacf968092cac28f] source-hash-02f76dec4c54ec7fb28729941c7044307058665a
Comment 8 Stephan Bergmann 2016-03-01 13:09:11 UTC
Had already been fixed with "fix a crash found in passing," backported to libreoffice-5-0 as <https://cgit.freedesktop.org/libreoffice/core/commit/?id=86a15daa99f57ddf5ddbdb2d67ed9d69e3bbbf37> and to libreoffice-5-1 as <https://cgit.freedesktop.org/libreoffice/core/commit/?id=12bc593da98be68961a9ea7d31619a7718fd1d4b>.