The tab key inside a query designer SQL text control crashes 6.1 alpha 1 daily build on 64 bit Linux.
Build ID: f1579d3d6c5f5f3a651825e035b93bee7a4f43c6
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2;
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-05-03_10:04:51
Locale: en-US (en_US.UTF-8); Calc: group
stdout (last two lines, of many)
(soffice:18867): GLib-GObject-WARNING **: 17:14:00.703: ../../../../gobject/gsignal.c:3492: signal name 'selection_changed' is invalid for instance '0x2db1610' of type 'OOoAtkObjCompTxt'
(soffice:18867): GLib-GObject-WARNING **: 17:14:01.272: ../../../../gobject/gsignal.c:3492: signal name 'selection_changed' is invalid for instance '0x7fa714006820' of type 'OOoAtkObjCompTxt'
double free or corruption (fasttop)
Crash reports: One was during editing of firebird ODB (first) and hsql ODB (second)
Steps to Reproduce:
1. open any ODB file (download attached if needs be)
2. go to the query section in the Base window
3. open for editing in SQL view a query def, or create a new one (sql view)
4. enter the cursor in the text, or enter a space key - hit the tab key
the focus in the query designer window changes
User Profile Reset: No
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/65.0.3325.181 Chrome/65.0.3325.181 Safari/537.36
Created attachment 141962 [details]
test file with a query def
a file to use
> Steps to Reproduce:
> 1. open any ODB file (download attached if needs be)
> 2. go to the query section in the Base window
> 3. open for editing in SQL view a query def, or create a new one (sql view)
> 4. enter the cursor in the text, or enter a space key - hit the tab key
So you go to Edit in SQL view and you get a crash when placing the cursor on the text ?
This is triggered by not just the TAB key, but also DELETE and BACKSPACE inside the SQL editor.
You need to change the existing text in the editor with one of those keys.
Also, checked with 188.8.131.52 (Ubuntu 18.04 repo) and could not reproduce the crash, it seems to just be 6.1.
Regression introduced by:
author Noel Grandin <firstname.lastname@example.org> 2018-04-23 09:51:55 +0200
committer Noel Grandin <email@example.com> 2018-04-24 08:21:47 +0200
commit 148b84160667ed3ec74c8767f6e62567479488f9 (patch)
parent 447d4e1366cf176c6ff2c6eebf3cf8a65745a7dc (diff)
loplugin:useuniqueptr in TETextPortionList
Bisected with: bibisect-linux64-6.1
Adding Cc: to Noel Grandin
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":
tdf#117491 Base crash when editing text in SQL query editor
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Build ID: a16275a3647a2fba9913ed23e8329e45b02123b4
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); Calc: group
@Noel, thanks for the quick fix!