Hej!
Tänkte bara höra om någon råkat ut för detta fel i Tru64:
08:19 root@netsrv5:/php/php4 # gdb sapi/cli/php
inst emulated pid=303404 <gdb> va=0x1400f8280 pc=0x12005b708 inst=0x3be00000
GNU gdb 5.0-tru64-010710
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "alphaev56-dec-osf5.1"...
(gdb) r run-rests.php
Starting program: /php/php4/sapi/cli/php run-rests.php
Error accessing memory address 0x300420098f0: Invalid argument.
(gdb) r -h
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /php/php4/sapi/cli/php -h
Error accessing memory address 0x300420098f0: Invalid argument.
(gdb) q
A debugging session is active.
Do you still want to close the debugger?(y or n) y
Har testat med 3 olika vresioner av gdb, olika kompilartorer.
Testade även debugga MySQL och fick samma resultat.
Maskinen rapporterar inga minnesfel i uppstarten, och en av PHP utvecklarna
trodde inte det hade något med trasiga minnesmoduler att göra.
PHP fungerar bra om man inte kör genom gdb.
Debugging med GDB
Re: Debugging med GDB
En gissning vore att antingen php eller gdb är satt att fungera i 64-bitsmodNovell wrote:Hej!
Tänkte bara höra om någon råkat ut för detta fel i Tru64:
08:19 root@netsrv5:/php/php4 # gdb sapi/cli/php
inst emulated pid=303404 <gdb> va=0x1400f8280 pc=0x12005b708 inst=0x3be00000
GNU gdb 5.0-tru64-010710
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "alphaev56-dec-osf5.1"...
(gdb) r run-rests.php
Starting program: /php/php4/sapi/cli/php run-rests.php
Error accessing memory address 0x300420098f0: Invalid argument.
(gdb) r -h
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /php/php4/sapi/cli/php -h
Error accessing memory address 0x300420098f0: Invalid argument.
(gdb) q
A debugging session is active.
Do you still want to close the debugger?(y or n) y
Har testat med 3 olika vresioner av gdb, olika kompilartorer.
Testade även debugga MySQL och fick samma resultat.
Maskinen rapporterar inga minnesfel i uppstarten, och en av PHP utvecklarna
trodde inte det hade något med trasiga minnesmoduler att göra.
PHP fungerar bra om man inte kör genom gdb.
medans den andra kör i 32-bitars mod. gdb laddar säkert inte in programmet
på samma vis som systemets loader. (t.ex kan systemet säkert låtsas vara
32bitars för gamla programs skull, medans gdb kan vara ett rent 64-bits
program och därför ärver alla gdb-startade program den egenskapen)
Oh give me a clone, my very own clone,
with the Y chromosome changed to X!
And since she's my own, of my own flesh and bone,
she'll be thinking of nothing but sex!
with the Y chromosome changed to X!
And since she's my own, of my own flesh and bone,
she'll be thinking of nothing but sex!