Description: If you add auto filter, reload the doc, and then try to toggle auto filter, the program will crash. I used the CSV file format. I've never looked at the Libreoffice code, but I have a feeling the solution is to update the state of the auto filter button after a document reload is performed. Steps to Reproduce: 1.) Open a document. I used a CSV. 2.) Turn on the auto filter. 2.) Edit the file in another program. I used a text editor. 4.) In Libreoffice, go to File>>Reload. 5.) Try to toggle the auto filter. It will crash. Actual Results: Crashy, crash crash Expected Results: No crash Reproducible: Always User Profile Reset: No Additional Info: Version: 6.2.4.2 Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64 CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: gtk3; Flatpak Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded
Please test Menu/Help/Restart in Safe Mode.
Just figured out a new piece of the puzzle. (Tried it in safe mode) It's a problem with the Auto Filter button in the Tabbed user interface mode. Will update the reproduction steps.
Ok, I don't think it's possible for me to edit the Steps to Reproduce, so I'll put it here. Steps to Reproduce: 1.) Open a document. I used a CSV. 2.) If it is not already enabled, turn on the Tabbed User Interface mode 3.) Turn on the auto filter. 4.) In Libreoffice, go to File>>Reload. 5.) Try to toggle the auto filter. It will crash.
no crash in Version: 6.4.0.0.alpha0+ (x64) Build ID: c0d1bdbb8a9aca2ef2e475268a953da995567700 CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-22_23:10:51 Locale: ru-RU (ru_RU); UI-Language: en-US Calc: threaded please attach your CSV file here
Created attachment 152434 [details] Example CSV file CSV is attached. Here is a screencast: https://youtu.be/4eHJYB688as Also worth mentioning my desktop environment is KDE. I cannot generate a backtrace, but I do see this error: Executable: soffice PID: 12665 Signal: Segmentation fault (11) Time: 6/26/19 17:26:33
If I start KDE from the terminal, here is the output that happens during a crash: (soffice:13638): Gdk-WARNING **: 17:34:07.442: XSetErrorHandler() called with a GDK error trap pushed. Don't do that. KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = soffice.bin path = /usr/lib/libreoffice/program pid = 13638 KCrash: Arguments: /usr/lib/libreoffice/program/soffice.bin --nocrashhandler KCrash: Attempting to start /usr/lib/drkonqi from kdeinit sock_file=/run/user/1000/kdeinit5__0
Apologies. I meant "If I start Libreoffice"
[Automated Action] NeedInfo-To-Unconfirmed
KDE is not necessary, I reproduced with LO6.3 and 6.4+ in Mint's gtk3. Interesting, no Reload in Tabbed UI in File tab, so I had to use menu. On Reload, I Cancel All Changes. Filter seems lost, but icon stays on in Data tab. (that's the difference to old toolbar icon, that one would be turned off). When I try to turn it off (to turn it on again) Lo crashes with crash report. I have an issue that I don't see a link in crash report. Doug, if you do, please add it to "Crash report or crash signature:" field.
Also reproduced in Versión: 6.3.1.2 (x86) Id. de compilación: b79626edf0065ac373bd1df5c28bd630b4424273 Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; Configuración regional: es-ES (es_ES); Idioma de IU: es-ES Calc: threaded
Also reproduced in Version: 6.1.0.0.alpha1+ Build ID: 3a801799536e6870f2fb111b1cc00b9575a35a39 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group
Created attachment 154236 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today + gtk3, I could reproduce this.
Although I could reproduce before with 6.3, I don't now, so I cannot retest 7.2+. Please retest both old and new and write exact repro steps.
Repro 7.2+, only with Reload via File in Menubar. No repro with Close.
Reproduced with: Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: 94d552f94b427f884c004dba5d4619ecf729d605 CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-18_13:30:27 Calc: threaded Couldn't find "reload" so used the new command palette shortcut Ctrl + F1 and searched for "reload".