Bug 451249

Summary: malloc(): unaligned tcache chunk detected
Product: [Applications] kile Reporter: Andrés Seré <andres>
Component: user interfaceAssignee: Michel Ludwig <michel.ludwig>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 2.9.93   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Andrés Seré 2022-03-07 18:08:34 UTC
SUMMARY

Kile crashes unpredictable. All the cases have the following things in common:
The live preview is activated, I was writing a reference of a figure, type "\ref{fig_ae...}", kile shows suggestions,
and then it crashes. Always? no, but when it happens, I restart kile, recover the lost data as kile suggest,
and if i don't disable the live preview, kile crash again.
I think it can have relation with the number of different labels in the tex file,
and/or with the use of long figure  labels (for example "fig_ae_LNA-sgaiInput-Complete-01-sgaiNoiseContributions").


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux kernel 5.16.3-arch1-1 (64 bits) with X11
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
When I run kile from Konsole it says:
QWidget::insertAction: Attempt to insert null action
QUrl("file://<path-to-some-file.tex>")  already has a document!
Qt: Session management error: networkIdsList argument is NULL
QUrl("file://<path-to-some-other-file.tex>")  already has a document!
QUrl("file://<path-to-some-third-file.tex>")  already has a document!
unexpected tz val
unexpected tz val # Lot of times says this.

and when the crash occurs, it says:
Qt: Session management error: networkIdsList argument is NULL
malloc(): unaligned tcache chunk detected
18 -- exe=/usr/bin/kile
13 -- platform=xcb
11 -- display=:0
13 -- appname=kile
17 -- apppath=/usr/bin
9 -- signal=6
10 -- pid=58535
18 -- appversion=2.9.93
17 -- programname=Kile
31 -- bugaddress=submit@bugs.kde.org
17 -- productname=kile
12 -- startupid=0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kile path = /usr/bin pid = 58535
KCrash: Arguments: /usr/bin/kile 
KCrash: Attempting to start /usr/lib/drkonqi

Sorry if my English is not very happy ;-)
and thanks for the develop of a great software!