Bug 129123 - Assert: editing matrix formula with enabled context change listener
Summary: Assert: editing matrix formula with enabled context change listener
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2019-12-01 09:07 UTC by Oliver Brinzing
Modified: 2023-04-06 11:40 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
bt with debug symbols (12.30 KB, text/plain)
2019-12-02 21:40 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Brinzing 2019-12-01 09:07:06 UTC
with 

Version: 6.5.0.0.alpha0+ (x64)
Build ID: b6c357506740d14611603a4611f4aacaffe4ee13
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

steps to reproduce
- open attachement:
  https://bugs.documentfoundation.org/attachment.cgi?id=145540
- edit formula in cell C14,
  from: {=MATCH(MAX(C3:C10);C3:C10;0)}
  to     =MATCH(MAX(C3:C10);C3:C10;1) 
         -> press (enter) to accept changes, not (ctrl)+(shift)+(enter)
- context change event is fired, msgbox appears
- press [OK] to close msgbox
- crash

no crash if no context change listener is enabled

no crash at all with LO 6.3.3.2
Comment 1 Roman Kuznetsov 2019-12-01 17:34:36 UTC
no crash in

Version: 6.5.0.0.alpha0+
Build ID: 71c5b374deb35993d0af3e953ff0cdfc64d76aab
CPU threads: 4; OS: Mac OS X 10.15.1; UI render: GL; VCL: osx; 
Locale: ru-RU (ru_RU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 2 m_a_riosv 2019-12-01 23:16:47 UTC
No repro with or without OpenCL:
Versión: 6.5.0.0.alpha0+ (x64)
Id. de compilación: 71c5b374deb35993d0af3e953ff0cdfc64d76aab
Subprocs. CPU: 4; SO: Windows 10.0 Build 19033; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: CL
Comment 3 Xisco Faulí 2019-12-02 10:05:08 UTC
I can't reproduce it in

Version: 6.5.0.0.alpha0+
Build ID: ea97f0926e138712c3800f5274012f0f04fc1c47
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 4 Oliver Brinzing 2019-12-02 18:39:11 UTC
I tried on two different notebooks, and can still reproduce the crash with a new user profile and even with newly created debug build:

Version: 6.5.0.0.alpha0+ (x64)
Build ID: e58eda7df5b384c0f054fcbd4a8dc4a47bed2080
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded

It happens only, if one changes the matrix formula into a normal formula as described above:

- select cell C14
- press (F2)
- change last parameter value from 0 to 1
- press (enter)
Comment 5 m_a_riosv 2019-12-02 19:05:59 UTC
I receive a message 'Content was changed' and no crash
Version: 6.4.0.0.beta1 (x64)
Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920
CPU threads: 4; OS: Windows 10.0 Build 19033; UI render: default; VCL: win; 
Locale: es-ES (es_ES); UI-Language: en-US Calc: CL

But no message and no crash with:
Versión: 6.5.0.0.alpha0+ (x64)
Id. de compilación: 71c5b374deb35993d0af3e953ff0cdfc64d76aab
Subprocs. CPU: 4; SO: Windows 10.0 Build 19033; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: CL
Comment 6 Julien Nabet 2019-12-02 21:40:54 UTC
Created attachment 156254 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.

First I hadn't enabled macro so I got no message box.
It's when I enabled macro that I had the error message box then the crash.
Comment 7 Xisco Faulí 2019-12-03 09:00:41 UTC
I can't reproduce it in

Version: 6.5.0.0.alpha0+
Build ID: ea97f0926e138712c3800f5274012f0f04fc1c47
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: x11; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

with macros enabled.

@Oliver, do you use a debug build ?
Comment 8 Oliver Brinzing 2019-12-03 17:48:09 UTC
(In reply to Xisco Faulí from comment #7)
> @Oliver, do you use a debug build ?

yes, i have only LO 6.5 Win x64 debug build available
Comment 9 Xisco Faulí 2019-12-04 12:15:33 UTC
I believe it's only happening with debug builds then...
Comment 10 QA Administrators 2021-12-04 04:43:07 UTC Comment hidden (obsolete)
Comment 11 Stéphane Guillou (stragu) 2023-04-06 09:57:14 UTC
No reproduced with this debug build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1b463f697405e64a03378fb38a32172c4d3c25e6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Oliver and Julien, can you please re-test to see if it can be closed as "works for me" ?
Comment 12 Julien Nabet 2023-04-06 11:16:37 UTC
On pc Debian x86-64 with master sources updated today, I don't reproduce the assertion anymore.
Comment 13 Stéphane Guillou (stragu) 2023-04-06 11:40:21 UTC
Let's go with WFM then, but please set back to "new" if you can still reproduce, Oliver.
Thanks!