Recent

Author Topic: DirectoryEdit SelectDirectory carsh debugger  (Read 15323 times)

arwen

  • Full Member
  • ***
  • Posts: 104
    • http://www.flussiliberi.it/
DirectoryEdit SelectDirectory carsh debugger
« on: June 21, 2007, 10:35:44 am »
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\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;;C:\PROGRA~1\FILECO~1\EUROTH~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="<incomplete type>"

(gdb)

<-gdb-set language pascal>
^done

(gdb)

<info address main>
&"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="<fpc_raiseexception+6>",times="0"}

(gdb)

<-break-insert FPC_BREAK_ERROR>
^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="$00518bc6",at="<HANDLEERRORADDRFRAME+6>",times="0"}

(gdb)

<-break-insert FPC_RUNERROR>
^done,bkpt={number="4",type="breakpoint",disp="keep",enabled="y",addr="$00518b66",at="<RUNERROR+6>",times="0"}

(gdb)

<info file>
&"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=[],file="Strum.lpr",line="13"}

(gdb)

<info program>
&"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

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
RE: DirectoryEdit SelectDirectory carsh debugger
« Reply #1 on: June 21, 2007, 12:40:55 pm »
Did you report this in our bugtracker (including a sample test application which shows the error) ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: DirectoryEdit SelectDirectory carsh debugger
« Reply #2 on: June 21, 2007, 12:42:24 pm »
Can you try a snapshot, it has a newer gdb version.

BTW: I did not see an error in this output.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: DirectoryEdit SelectDirectory carsh debugger
« Reply #3 on: June 21, 2007, 12:47:41 pm »
It looks like the fixed bug 9038.

arwen

  • Full Member
  • ***
  • Posts: 104
    • http://www.flussiliberi.it/
DirectoryEdit SelectDirectory carsh debugger
« Reply #4 on: June 21, 2007, 02:11:10 pm »
Quote
It 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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
DirectoryEdit SelectDirectory carsh debugger
« Reply #5 on: June 21, 2007, 02:20:41 pm »
No, it would be useful to test the snapshot, where the 9038 has been fixed.

arwen

  • Full Member
  • ***
  • Posts: 104
    • http://www.flussiliberi.it/
DirectoryEdit SelectDirectory carsh debugger
« Reply #6 on: June 21, 2007, 02:51:31 pm »
This is ok ?

Lazarus-0.9.23-fpc-2.0.4-20070621-win32.exe

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
DirectoryEdit SelectDirectory carsh debugger
« Reply #7 on: June 21, 2007, 02:53:08 pm »
Yes.

arwen

  • Full Member
  • ***
  • Posts: 104
    • http://www.flussiliberi.it/
DirectoryEdit SelectDirectory carsh debugger
« Reply #8 on: June 21, 2007, 03:03:01 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
DirectoryEdit SelectDirectory carsh debugger
« Reply #9 on: June 21, 2007, 03:12:37 pm »
You can also install it in a different directory, e.g. c:\lazarus-0.9.23\

arwen

  • Full Member
  • ***
  • Posts: 104
    • http://www.flussiliberi.it/
Solved
« Reply #10 on: June 21, 2007, 03:20:32 pm »
Found time.
 
With this version works all wonder.  :D

I can use this version for my project  without problems true?  

Thanks Vincent

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Solved
« Reply #11 on: June 21, 2007, 03:29:57 pm »
I think so, but I don't know your projects.

 

TinyPortal © 2005-2018