Sudden crashes while doing search and replace
Original Reporter info from Mantis: abtaylr
-
Reporter name: Arlen B Taylor
Original Reporter info from Mantis: abtaylr
- Reporter name: Arlen B Taylor
Description:
I have had numerous incidents of Laz suddenly crashing in the midst of editing while doing cuts and pastes. I managed to catch a stack dump following the most recent incident. This is the pertinent section:
TSourceEditor.StartFindAndReplace B FindTextAtCursor not SelAvail
TSourceEditor.StartFindAndReplace B LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace A LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace B FindTextAtCursor not SelAvail
TSourceEditor.StartFindAndReplace B LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace A LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace B FindTextAtCursor not SelAvail
TSourceEditor.StartFindAndReplace B LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace A LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace B FindTextAtCursor not SelAvail
TSourceEditor.StartFindAndReplace B LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace A LazFindReplaceDialog.FindText="UConfig"
TSourceEditor.StartFindAndReplace B FindTextAtCursor not SelAvail
TSourceEditor.StartFindAndReplace B LazFindReplaceDialog.FindText="UConfig"
TSourceEditCompletion.ccExecute nil
TCodeHelpManager.GetFPDocFilenameForSource Hint: file without owner: /home/arlen/FreePascal/fpc-3.0.0/rtl/linux/system.pp
TApplication.HandleException Access violation
Stack trace:
$000000000043852C
$000000000064B809 line 2127 of gtk2/gtk2widgetset.inc
$000000000064B798 line 2165 of gtk2/gtk2widgetset.inc
$000000000064BD03 line 2306 of gtk2/gtk2widgetset.inc
$0000000000488E9C line 1260 of include/application.inc
$0000000000489604 line 1395 of include/application.inc
$00000000004FF086 line 54 of include/interfacebase.inc
$0000000000489582 line 1383 of include/application.inc
$000000000041FE8F line 140 of lazarus.pp
lazarus.pp - unhandled exception
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$0000000000D79867 line 819 of mainbar.pas
$00000000004B400A line 3542 of main.pp
$00000000004A72C6 line 1599 of main.pp
$0000000000432170
$00000000004708D6 line 1849 of forms.pp
$0000000000436869
TApplication.HandleException: there was another exception during showing the first exception
Stack trace:
$0000000000D79867 line 819 of mainbar.pas
$00000000004B400A line 3542 of main.pp
$00000000004A72C6 li^Ane 1599 of main.pp
$0000000000432170
$00000000004708D6 line 1849 of forms.pp
$0000000000436869
[FORMS.PP] ExceptionOccurred
TFPCMsgFilePool.Destroy file still used:
$0000000000A0344E line 1690 of exttools.pas
Call trace for block $00007FFC77DF57A0 size 75
$00000000009FD69C line 451 of exttools.pas
$0000000000A0344E line 1690 of exttools.pas
Call trace for block $00007FFC77DB8DC0 size 48
$000000000084C35C
$00000000010FB2E2 line 224 of etmakemsgparser.pas
$00000000010FBCC4 line 327 of etmakemsgparser.pas
$00000000009FD69C line 451 of exttools.pas
$0000000000A0344E line 1690 of exttools.pas
Call trace for block $00007FFC77E0DF40 size 16
$00000000010FB2E2 line 224 of etmakemsgparser.pas
$00000000010FBCC4 line 327 of etmakemsgparser.pas
$00000000009FD69C line 451 of exttools.pas
$0000000000A0344E line 1690 of exttools.pas
Call trace for block $00007FFC77DF55E0 size 75
$00000000009FD69C line 451 of exttools.pas
$0000000000A0344E line 1690 of exttools.pas
Call trace for block $00007FFC77DB8D00 size 48
The full catch is included for reference.
Steps to reproduce:
- Perform numerous search and replace tasks, typically the same search and replace over a number of units.
Mantis conversion info:
- Mantis ID: 29925
- OS: Kubuntu
- OS Build: 15.10
- Build: 52066
- Platform: x86_64
- Version: 1.6