DirectoryEdit SelectDirectory carsh debugger lazarus / 12-Debugger ---------------------------------------------------------------------- arwen · 2007-06-21 08:35 In a form if I insert a DirectoryEdit or a call to SelectDirectory Dialog the debugger crash. I'm runnig Lazarus0.9.22 on Windows XP . The application out of the IDE works fine . This is the cut and paste of the debug shell : Code: [Select] (gdb) <-gdb-set confirm off> ^done (gdb) <-gdb-set new-console off> ^done (gdb) <-gdb-version> ~"GNU gdb 6.0\n" ~"Copyright 2003 Free Software Foundation, Inc.\n" ~"GDB is free software, covered by the GNU General Public License, and you are\n" ~"welcome to change it and/or distribute copies of it under certain conditions.\n" ~"Type \"show copying\" to see the conditions.\n" ~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n" ~"This GDB was configured as \"i686-pc-mingw32\".\n" ^done (gdb) <-gdb-set env ALLUSERSPROFILE=C:\Documents and Settings\All Users> ^done (gdb) <-gdb-set env APPDATA=C:\Documents and Settings\omissisWhoIam\Dati applicazioni> ^done (gdb) <-gdb-set env CLIENTNAME=Console> ^done (gdb) <-gdb-set env CommonProgramFiles=C:\Programmi\File comuni> ^done (gdb) <-gdb-set env COMPUTERNAME=P10109> ^done (gdb) <-gdb-set env ComSpec=C:\WINDOWS\system32\cmd.exe> ^done (gdb) <-gdb-set env CPATH=C:\PROGRA~1\EUROTH~1\LINtools> ^done (gdb) <-gdb-set env FP_NO_HOST_CHECK=NO> ^done (gdb) <-gdb-set env HOMEDRIVE=U:> ^done (gdb) <-gdb-set env HOMEPATH=\> ^done (gdb) <-gdb-set env HOMESHARE=\\arwen.omissis.it\omissisWhoIam> ^done (gdb) <-gdb-set env IBMSHARE=C:\IBMSHARE> ^done (gdb) <-gdb-set env LOGONSERVER=\\omissisTOO> ^done (gdb) <-gdb-set env LTDIR=C:\PROGRA~1\EUROTH~1\LINtools> ^done (gdb) <-gdb-set env NewEnvironment1=C:\Programmi\PC-Doctor for Windows\> ^done (gdb) <-gdb-set env NUMBER_OF_PROCESSORS=1> ^done (gdb) <-gdb-set env OS=Windows_NT> ^done (gdb) <-gdb-set env Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\ Wbem;C:\IBMTOOLS\Python22;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLI ENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;;C:\PROGRA~1\FILECO~1\E UROTH~1> ^done (gdb) <-gdb-set env PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH ;.pyo;.pyc;.py;.pyw> ^done (gdb) <-gdb-set env PROCESSOR_ARCHITECTURE=x86> ^done (gdb) <-gdb-set env PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel> ^done (gdb) <-gdb-set env PROCESSOR_LEVEL=15> ^done (gdb) <-gdb-set env PROCESSOR_REVISION=0409> ^done (gdb) <-gdb-set env ProgramFiles=C:\Programmi> ^done (gdb) <-gdb-set env PYTHONCASEOK=1> ^done (gdb) <-gdb-set env RRU=C:\Programmi\IBM\IBM Rapid Restore Ultra\> ^done (gdb) <-gdb-set env SESSIONNAME=Console> ^done (gdb) <-gdb-set env SonicCentral=c:\Programmi\File comuni\Sonic Shared\Sonic Central\> ^done (gdb) <-gdb-set env SystemDrive=C:> ^done (gdb) <-gdb-set env SystemRoot=C:\WINDOWS> ^done (gdb) <-gdb-set env TCL_LIBRARY=C:\IBMTOOLS\Python22\tcl\tcl8.4> ^done (gdb) <-gdb-set env TEMP=C:\DOCUME~1\omissisWhoIam\IMPOST~1\Temp> ^done (gdb) <-gdb-set env TK_LIBRARY=C:\IBMTOOLS\Python22\tcl\tk8.4> ^done (gdb) <-gdb-set env TMP=C:\DOCUME~1\omissisWhoIam\IMPOST~1\Temp> ^done (gdb) <-gdb-set env TPATH=C:\PROGRA~1\EUROTH~1\LINtools\libs> ^done (gdb) <-gdb-set env USERDNSDOMAIN=omissis.IT> ^done (gdb) <-gdb-set env USERDOMAIN=omissis-IT> ^done (gdb) <-gdb-set env USERNAME=omissisWhoIam> ^done (gdb) <-gdb-set env USERPROFILE=C:\Documents and Settings\omissisWhoIam> ^done (gdb) <-gdb-set env windir=C:\WINDOWS> ^done (gdb) <-file-exec-and-symbols "C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/ISOstrum.exe"> ^done (gdb) <-environment-cd "C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/"> ^done (gdb) <-data-evaluate-expression FPC_THREADVAR_RELOCATE_PROC> ^done,value="" (gdb) <-gdb-set language pascal> ^done (gdb) &"info address main\n" ~"Symbol \"main\" is a function at address $401030.\n" ^done (gdb) <-break-insert -t *4198448> ^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr=" $00401030",func="main",file="Strum.lpr",line="13",times="0"} (gdb) <-break-insert FPC_RAISEEXCEPTION> ^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr= "$00511f06",at="",times="0"} (gdb) <-break-insert FPC_BREAK_ERROR> ^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr= "$00518bc6",at="",times="0"} (gdb) <-break-insert FPC_RUNERROR> ^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr= "$00518b66",at="",times="0"} (gdb) &"info file\n" ~"Symbols from \"C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/ISOstrum.exe\".\n" ~"Local exec file:\n" ~"\t`C:/Documents and Settings/omissisWhoIam/Documenti/Progetti/ISOstrum/ISOstrum.exe', \n" ~"        file type pei-i386.\n" ~"\tEntry point: $401012\n" ~"\t$00401000 - $0058db00 is .text\n" ~"\t$0058e000 - $0064d110 is .data\n" ~"\t$0064e000 - $00662288 is .bss\n" ~"\t$00663000 - $00666042 is .idata\n" ^done (gdb) <-exec-run> ^running (gdb) *stopped,thread-id="1",frame={addr="$00401030",func="main",args=[],fil e="Strum.lpr",line="13"} (gdb) &"info program\n" ~"\tUsing the running image of child thread 2424.0x118.\n" ~"Program stopped at $401030.\n" ~"It stopped at a breakpoint that has since been deleted.\n" ~"Type \"info stack\" or \"info registers\" for more information.\n" ^done (gdb) <-exec-continue> ^running (gdb) BFD: C:\WINDOWS\system32\wmvcore.dll (.reloc): Section flag IMAGE_SCN_MEM_NOT_PAGED (0x8000000) ignored ---------------------------------------------------------------------- Marc · 2007-06-21 10:40 Did you report this in our bugtracker (including a sample test application which shows the error) ? ---------------------------------------------------------------------- Vincent Snijders · 2007-06-21 10:42 Can you try a snapshot, it has a newer gdb version. BTW: I did not see an error in this output. ---------------------------------------------------------------------- Vincent Snijders · 2007-06-21 10:47 It looks like the fixed bug 9038. ---------------------------------------------------------------------- arwen · 2007-06-21 12:11 QuoteIt looks like the fixed bug 9038. Yes , it could be the same error. I have installed From the same file named as below on two PC with XP Lazarus-0.9.22-fpc-2.0.4-20070326-win32.exe On the first I have the problem but on the second no. It could be useful if I post the messages of the shell of gdb of the PC where works? Obviously in the same conditions that create problems on the other PC. The erros : http://freeflow.awardspace.com/images/Immagine1.bmp and http://freeflow.awardspace.com/images/Immagine1.bmp ---------------------------------------------------------------------- Vincent Snijders · 2007-06-21 12:20 No, it would be useful to test the snapshot, where the 9038 has been fixed. ---------------------------------------------------------------------- arwen · 2007-06-21 12:51 This is ok ? Lazarus-0.9.23-fpc-2.0.4-20070621-win32.exe ---------------------------------------------------------------------- Vincent Snijders · 2007-06-21 12:53 Yes. ---------------------------------------------------------------------- arwen · 2007-06-21 13:03 OK I'm dowloading it . I must uninstall the 0.9.22 before install the snapshot version ? If I find the time to make the test within tomorrow I will give the result . Thanks Vincent  :wink: ---------------------------------------------------------------------- Vincent Snijders · 2007-06-21 13:12 You can also install it in a different directory, e.g. c:\lazarus-0.9.23\ ---------------------------------------------------------------------- arwen · 2007-06-21 13:20 Found time. With this version works all wonder.   I can use this version for my project  without problems true? Thanks Vincent ---------------------------------------------------------------------- Vincent Snijders · 2007-06-21 13:29 I think so, but I don't know your projects.