View Issue Details

IDProjectCategoryView StatusLast Update
0016796LazarusIDEpublic2010-06-27 21:37
ReporterDmitry BoyarintsevAssigned ToMartin Friebe 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionProduct Build 
Target Version0.9.30Fixed in Version0.9.29 (SVN) 
Summary0016796: Openning .po file from Search Results causes crash
DescriptionStart IDE
open Search in file dialog

enter search string "msgid" (it present in all .po files)
set the directory lazarus\languages
set file mask .po

Search. Once some files are found stop the search.
Go to Search Result window and double click on any .po file (with UTF-8 characters preferably).

Opening it causes the crash.

Opening .po file from File->Open dialog doesn't cause any problems.

(tested on Trunk Carbon)
Additional InformationProgram received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x005909d5 in TEDITOROPTIONS__SETMARKUPCOLOR (SYN=0x0, ADDHILIGHTATTR=AHAERRORLINE, AMARKUP=0x1ec9ff60, this=0x876d290) at editoroptions.pp:4063
4063 SynColorScheme := ReadColorScheme(Syn.LanguageName);
(gdb) backtrace
#0 0x005909d5 in TEDITOROPTIONS__SETMARKUPCOLOR (SYN=0x0, ADDHILIGHTATTR=AHAERRORLINE, AMARKUP=0x1ec9ff60, this=0x876d290) at editoroptions.pp:4063
0000001 0x00562450 in TSOURCEEDITOR__ONEDITORSPECIALLINECOLOR (SENDER=0x8751bd0, LINE=11533, SPECIAL=true, MARKUP=0x1ec9ff60, this=0x86e53a0) at sourceeditor.pp:3591
0000002 0x00429a71 in TSYNEDITMARKUPSPECIALLINE__PREPAREMARKUPFORROW (AROW=11533, this=0x1ec95f90) at syneditmarkupspecialline.pp:144
0000003 0x00419cd7 in TSYNEDITMARKUPMANAGER__PREPAREMARKUPFORROW (AROW=11533, this=0x1ec9fba0) at syneditmarkup.pp:471
0000004 0x0040000c in PAINTLINES (parentfp=0xbfffd3b8) at synedit.pp:3653
0000005 0x003ffd5f in SYNEDIT_TCUSTOMSYNEDIT_$__PAINTTEXTLINES$TRECT$LONGINT$LONGINT$LONGINT$LONGINT ()
0000006 0x003ff89a in TCUSTOMSYNEDIT__PAINT (this=0x8751bd0) at synedit.pp:2955
0000007 0x001ba367 in TCUSTOMCONTROL__PAINTWINDOW (DC=522702336, this=0x8751bd0) at ./include/customcontrol.inc:133
0000008 0x001a73a6 in TWINCONTROL__PAINTHANDLER (THEMESSAGE={MSG = 15, DC = 522702336, PAINTSTRUCT = 0x1f27ce50, RESULT = 0}, this=0x8751bd0) at ./include/wincontrol.inc:4648
0000009 0x001aacbe in TWINCONTROL__WMPAINT (MSG={MSG = 15, DC = 522702336, PAINTSTRUCT = 0x1f27ce50, RESULT = 0}, this=0x8751bd0) at ./include/wincontrol.inc:6484
0000010 0x001ba2b2 in TCUSTOMCONTROL__WMPAINT (MESSAGE={MSG = 15, DC = 522702336, PAINTSTRUCT = 0x1f27ce50, RESULT = 0}, this=0x8751bd0) at ./include/customcontrol.inc:113
0000011 0x0002079a in SYSTEM_TOBJECT_$__DISPATCH$formal ()
0000012 0x001a85a0 in TWINCONTROL__WNDPROC (MESSAGE={MSG = 15, WPARAM = 522702336, LPARAM = 522702416, RESULT = 0, WPARAMLO = 52736, WPARAMHI = 7975, LPARAMLO = 52816, LPARAMHI = 7975, RESULTLO = 0, RESULTHI = 0}, this=0x8751bd0) at ./include/wincontrol.inc:5179
0000013 0x0040654e in TCUSTOMSYNEDIT__WNDPROC (MSG={MSG = 15, WPARAM = 522702336, LPARAM = 522702416, RESULT = 0, WPARAMLO = 52736, WPARAMHI = 7975, LPARAMLO = 52816, LPARAMHI = 7975, RESULTLO = 0, RESULTHI = 0}, this=0x8751bd0)
0000014 0x002196f9 in DELIVERMESSAGE (TARGET=0x8751bd0, AMESSAGE=void) at lclmessageglue.pas:112
0000015 0x00219ecc in LCLSENDPAINTMSG (TARGET=0x8751bd0, DC=522702336, PAINTSTRUCT=0x1f27ce50) at lclmessageglue.pas:827
TagsNo tags attached.
Fixed in Revision26304
LazTarget0.9.30
Widgetset
Attached Files

Activities

Martin Friebe

2010-06-27 21:01

manager   ~0038841

Please close if ok

Dmitry Boyarintsev

2010-06-27 21:37

developer   ~0038842

it's ok, thank you

Issue History

Date Modified Username Field Change
2010-06-27 12:13 Dmitry Boyarintsev New Issue
2010-06-27 12:13 Dmitry Boyarintsev LazTarget => -
2010-06-27 14:19 Mattias Gaertner Status new => assigned
2010-06-27 14:19 Mattias Gaertner Assigned To => Martin Friebe
2010-06-27 21:01 Martin Friebe Fixed in Revision => 26304
2010-06-27 21:01 Martin Friebe LazTarget - => 0.9.30
2010-06-27 21:01 Martin Friebe Status assigned => resolved
2010-06-27 21:01 Martin Friebe Fixed in Version => 0.9.29 (SVN)
2010-06-27 21:01 Martin Friebe Resolution open => fixed
2010-06-27 21:01 Martin Friebe Note Added: 0038841
2010-06-27 21:01 Martin Friebe Target Version => 0.9.30
2010-06-27 21:37 Dmitry Boyarintsev Status resolved => closed
2010-06-27 21:37 Dmitry Boyarintsev Note Added: 0038842