Created attachment 153022 [details] Try to create a view with SQL-code from query "View_bericht_Monat_zweispaltig" - saving impossible. Open the attached database. Execute the query "View_Bericht_Monat_zweispaltig". Query works in Firebird. Open this query for editing in SQL-mode. Copy the SQL-code. Go to Table → Create View Switch GUI off and insert the SQL-code. Set execution to direct SQL. Execute the view - works. Save the view as "Bericht_Monat_zweispaltig". LO crashes immediately. There are 2 specific parts in this view: View depends on another view in this database. View must be executed in direct SQL. So could be one of this parts is the one which leads to the crash. Tested with LO 6.3.0.2 on OpenSUSE 64bit rpm Linux.
Have tested the same with LO 6.5.0.2. Could create the view. So it's a regression.
Created attachment 153056 [details] bt Windows (windbg) On pc Win10 with master sources updated today, I could reproduce this.
Regression introduced by: https://cgit.freedesktop.org/libreoffice/core/commit/?id=d425658bd9fd8e315e4931afb544bc845da0360e author Noel Grandin <noel.grandin@collabora.co.uk> 2018-12-19 16:10:51 +0200 committer Noel Grandin <noel.grandin@collabora.co.uk> 2018-12-21 08:26:15 +0100 commit d425658bd9fd8e315e4931afb544bc845da0360e (patch) tree a35679686a7df2a504b9088ba6807b60c52067fc parent 526387b96e9bc2c04b0dc26744bf6b88ea7c0521 (diff) pass OSQLParseNode around by unique_ptr Bisected with: bibisect-linux64-6.3 Adding Cc: to Noel Grandin
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/6d024a69164716f7856ec936a72d01a6630d2a7c%5E%21 tdf#126588 crash in saving view It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 6.4.0.0.alpha0+ Build ID: 6d024a69164716f7856ec936a72d01a6630d2a7c 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 @Noel, thanks for fixing this issue!
Noel Grandin committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/284289a3a8e33b8998ac08ff17f814b028c55375%5E%21 tdf#126588 crash in saving view It will be available in 6.3.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 127299 has been marked as a duplicate of this bug. ***