[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file (attempt to increment a singular iterator)

2021-10-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Kevin Suo  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |noelgran...@gmail.com
   |desktop.org |
 Status|NEW |ASSIGNED

--- Comment #14 from Kevin Suo  ---
There are actually two crashes: one is when the file is still read-only at the
60-second time point; another is at the time when the file is back to
read-write mode (in case there is no crash at its previous stage).

Noel Grandin has submitted a patch on gerrit and I tested that the patch works
perfect both on master and 7.2 branch:
https://gerrit.libreoffice.org/c/core/+/123948

With this patch, when the file is back to read-write mode it is not possible to
receive the "enable editing" notification, which is what originally designed by
https://git.libreoffice.org/core/commit/95eb088802562b75f8b299908160145c7e88d763.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file (attempt to increment a singular iterator)

2021-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Kevin Suo  changed:

   What|Removed |Added

Summary|LO crashes after opening of |LO crashes after opening of
   |read-only file  |read-only file (attempt to
   ||increment a singular
   ||iterator)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

--- Comment #13 from Kevin Suo  ---
Simple Steps to Reproduce:

1. Use any ODS or XLSX file as test doc (even blank), chmod it to read-only
mode.
2. Open the file with libreoffice, wait for around 60 second.

-> Crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

--- Comment #12 from Kevin Suo  ---
Created attachment 175851
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175851=edit
gdb full backtrace

Generated with `make debugrun` and then `bt full`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Xisco Faulí  changed:

   What|Removed |Added

 CC||michael.st...@allotropia.de

--- Comment #11 from Xisco Faulí  ---
Hi Michael Stahl,
Since you fixed a regression introduced by
https://cgit.freedesktop.org/libreoffice/core/commit/?id=95eb088802562b75f8b299908160145c7e88d763
today (
https://cgit.freedesktop.org/libreoffice/core/commit/?id=a86b0e83177f15320c4fe2906a0a02486ba60d49
) I thought you might also be interested in this issue

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-20 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

--- Comment #10 from Xisco Faulí  ---
(In reply to Roman Kuznetsov from comment #9)
> If an author or someone else can't fix it I suggest revert the problem
> patch. Today current behavior just makes LO testing harder (for me at least)
> and I don't think users who uses LO 7.2 are happy when LO crashes with just
> directly opened from the Internet files

not so trivial at this point, if possible I'd rather see a fix than a revert

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

--- Comment #9 from Roman Kuznetsov <79045_79...@mail.ru> ---
If an author or someone else can't fix it I suggest revert the problem patch.
Today current behavior just makes LO testing harder (for me at least) and I
don't think users who uses LO 7.2 are happy when LO crashes with just directly
opened from the Internet files

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Xisco Faulí  changed:

   What|Removed |Added

   See Also||https://crashreport.libreof
   ||fice.org/stats/signature/%6
   ||0anonymous%20namespace'::Ch
   ||eckReadOnlyTask::doWork
Crash report or||["`anonymous
crash signature||namespace'::CheckReadOnlyTa
   ||sk::doWork"]

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Xisco Faulí  changed:

   What|Removed |Added

   Severity|normal  |critical
   Priority|medium  |highest

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-10-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Mike Kaganski  changed:

   What|Removed |Added

 CC||xiscofa...@libreoffice.org

--- Comment #8 from Mike Kaganski  ---
*** Bug 144855 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-09-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

--- Comment #7 from Kevin Suo  ---
I tried to get a backtrace (on Linux), but failed. Instead, I get the following
output in terminal: 

/usr/include/c++/11/debug/safe_iterator.h:330:
In function:
__gnu_debug::_Safe_iterator<_Iterator, _Sequence, _Category>& 
__gnu_debug::_Safe_iterator<_Iterator, _Sequence, 
_Category>::operator++() [with _Iterator = 
std::__detail::_Node_iterator >, false, false>; 
_Sequence = std::__debug::unordered_map >; _Category = 
std::forward_iterator_tag]

Error: attempt to increment a singular iterator.

Objects involved in the operation:
iterator "this" @ 0x0x7f3467b48190 {
  type = std::__detail::_Node_iterator >, false, false>
(mutable iterator);
  state = singular;
  references sequence with type 'std::__debug::unordered_map,
std::hash, std::equal_to,
std::allocator > > >' @ 0x0x7f3484bc56a0
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-09-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Kevin Suo  changed:

   What|Removed |Added

 CC||suokunl...@126.com

--- Comment #6 from Kevin Suo  ---
You actually do not need to enable "Edit Document" before it crashes. You just
need to open an read-only file, and wait for some time while you are doing some
normal operation on your computer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

Summary|LO crashes after opening of |LO crashes after opening of
   |read-only file (Windows 7   |read-only file
   |only?)  |
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #5 from Roman Kuznetsov <79045_79...@mail.ru> ---
Set to NEW by Comment 4

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file (Windows 7 only?)

2021-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Bigor  changed:

   What|Removed |Added

 CC||big...@yandex.ru

--- Comment #4 from Bigor  ---
Version: 7.2.1.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
7.2.1-2
Calc: threaded

Confirming the problem
When opening * .ods, * .xlsx files (example
https://forumooo.ru/index.php?action=dlattach;topic=8834.0;attach=15497) and
selecting Notify 
LO crashes in 1-2 minutes

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file (Windows 7 only?)

2021-09-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

--- Comment #3 from Roman Kuznetsov <79045_79...@mail.ru> ---
(In reply to Mike Kaganski from comment #2)
> For me, opening this link in FF on Windows:
> 
> https://bugs.documentfoundation.org/attachment.cgi?id=96007
> 
> and choosing "open with"->LO master results in immediate crash of LO master
> on load after "notify", without "Edit document", and without any file
> attribute modifications.

Because FF saves the file into temp directory already with read-only attribute

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file (Windows 7 only?)

2021-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

Summary|LO crashes after opening of |LO crashes after opening of
   |read-only file  |read-only file (Windows 7
   ||only?)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

--- Comment #2 from Mike Kaganski  ---
For me, opening this link in FF on Windows:

https://bugs.documentfoundation.org/attachment.cgi?id=96007

and choosing "open with"->LO master results in immediate crash of LO master on
load after "notify", without "Edit document", and without any file attribute
modifications.

But trying to repro OP steps doesn't crash on my system, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Buovjaga  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org

--- Comment #1 from Buovjaga  ---
I can't reproduce it

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 47a8a65022e3fd7624c95d0341b4809aad11fddb
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo

Arch Linux 64-bit
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 504d2209e47ffeb223b2bcde9fc24e828cc5cd6f
CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 21 September 2021

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||3971

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 144650] LO crashes after opening of read-only file

2021-09-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=144650

Roman Kuznetsov <79045_79...@mail.ru> changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=47
   ||065
   Keywords||bibisected, bisected,
   ||regression
 CC||79045_79...@mail.ru,
   ||matt...@gmail.com,
   ||mikekagan...@hotmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.