expr error

Lenik lenik@bodz.net
Mon May 18 01:52:00 GMT 2009


ok,

(gdb) run
Starting program: /usr/bin/expr
[New thread 2412.0x92c]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New thread 2412.0xcb8]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x05240000 in ?? ()
(gdb) bt
#0  0x05240000 in ?? ()
#1  0x69181041 in ?? () from /usr/bin/cyggmp-3.dll
#2  0x691c9000 in ?? () from /usr/bin/cyggmp-3.dll
#3  0x691ca000 in ?? () from /usr/bin/cyggmp-3.dll
#4  0x0022cdb8 in ?? ()
#5  0x61020273 in per_module::run_ctors () from /usr/bin/cygwin1.dll
#6  0x006fa418 in ?? ()
#7  0x61020340 in dll::init () from /usr/bin/cygwin1.dll
#8  0x00000000 in ?? ()
(gdb) info files
Symbols from "/usr/bin/expr".
Win32 child process:
	Using the running image of child thread 2412.0x92c.
	While running this, GDB does not access memory from...
Local exec file:
	`/usr/bin/expr', file type pei-i386.
	Entry point: 0x401000	0x00401000 - 0x00419038 is .text
	0x0041a000 - 0x0041a034 is .data
	0x0041b000 - 0x0041d380 is .rdata
	0x0041e000 - 0x0041e280 is .bss
	0x0041f000 - 0x0041f8c4 is .idata
	0x7c921000 - 0x7c99d23a is .text in /mnt/c/WINDOWS/system32/ntdll.dll
	0x7c99e000 - 0x7c9a1200 is .data in /mnt/c/WINDOWS/system32/ntdll.dll
	0x7c9a3000 - 0x7c9b27e4 is .rsrc in /mnt/c/WINDOWS/system32/ntdll.dll
	0x7c9b3000 - 0x7c9b5eac is .reloc in /mnt/c/WINDOWS/system32/ntdll.dll
	0x7c801000 - 0x7c8841e9 is .text in /mnt/c/WINDOWS/system32/kernel32.dll
	0x7c885000 - 0x7c887600 is .data in /mnt/c/WINDOWS/system32/kernel32.dll
	0x7c88a000 - 0x7c9173fc is .rsrc in /mnt/c/WINDOWS/system32/kernel32.dll
	0x7c918000 - 0x7c91dc84 is .reloc in /mnt/c/WINDOWS/system32/kernel32.dll
	0x61001000 - 0x6113f610 is .text in /usr/bin/cygwin1.dll
	0x61140000 - 0x611414b8 is .autoload_text in /usr/bin/cygwin1.dll
	0x61142000 - 0x61167028 is .data in /usr/bin/cygwin1.dll
	0x61168000 - 0x611bfd44 is .rdata in /usr/bin/cygwin1.dll
	0x611c0000 - 0x611f25d8 is .bss in /usr/bin/cygwin1.dll
	0x611f3000 - 0x611fbb0c is .edata in /usr/bin/cygwin1.dll
	0x611fc000 - 0x611fc400 is .rsrc in /usr/bin/cygwin1.dll
	0x611fd000 - 0x61212a40 is .reloc in /usr/bin/cygwin1.dll
	0x61213000 - 0x6121b1e0 is .cygwin_dll_common in /usr/bin/cygwin1.dll
	0x6121d000 - 0x61220000 is .idata in /usr/bin/cygwin1.dll
	0x61220000 - 0x61300000 is .cygheap in /usr/bin/cygwin1.dll
	0x77da1000 - 0x77e155c9 is .text in /mnt/c/WINDOWS/system32/advapi32.dll
	0x77e16000 - 0x77e18c00 is .data in /mnt/c/WINDOWS/system32/advapi32.dll
	0x77e1b000 - 0x77e43878 is .rsrc in /mnt/c/WINDOWS/system32/advapi32.dll
	0x77e44000 - 0x77e48af8 is .reloc in /mnt/c/WINDOWS/system32/advapi32.dll
	0x77e51000 - 0x77ed3743 is .text in /mnt/c/WINDOWS/system32/rpcrt4.dll
	0x77ed4000 - 0x77eda90d is .orpc in /mnt/c/WINDOWS/system32/rpcrt4.dll
	0x77edb000 - 0x77edbc00 is .data in /mnt/c/WINDOWS/system32/rpcrt4.dll
	0x77edc000 - 0x77edc3f8 is .rsrc in /mnt/c/WINDOWS/system32/rpcrt4.dll
	0x77edd000 - 0x77ee1494 is .reloc in /mnt/c/WINDOWS/system32/rpcrt4.dll
	0x77fc1000 - 0x77fcd224 is .text in /mnt/c/WINDOWS/system32/secur32.dll
	0x77fce000 - 0x77fce480 is .data in /mnt/c/WINDOWS/system32/secur32.dll
	0x77fcf000 - 0x77fcf418 is .rsrc in /mnt/c/WINDOWS/system32/secur32.dll
	0x77fd0000 - 0x77fd0884 is .reloc in /mnt/c/WINDOWS/system32/secur32.dll
	0x69181000 - 0x691c4db8 is .text in /usr/bin/cyggmp-3.dll
	0x691c5000 - 0x691c8e54 is .data in /usr/bin/cyggmp-3.dll
	0x691c9000 - 0x691c9004 is .rdata in /usr/bin/cyggmp-3.dll
	0x691ca000 - 0x691ca170 is .bss in /usr/bin/cyggmp-3.dll
	0x691cb000 - 0x691cf8c6 is .edata in /usr/bin/cyggmp-3.dll
	0x691d0000 - 0x691d0410 is .idata in /usr/bin/cyggmp-3.dll
	0x691d1000 - 0x691d2680 is .reloc in /usr/bin/cyggmp-3.dll
	0x65b81000 - 0x65b86558 is .text in /usr/bin/cygintl-8.dll
	0x65b87000 - 0x65b8703c is .data in /usr/bin/cygintl-8.dll
	0x65b88000 - 0x65b88854 is .rdata in /usr/bin/cygintl-8.dll
	0x65b89000 - 0x65b895d8 is .bss in /usr/bin/cygintl-8.dll
	0x65b8a000 - 0x65b8a5ae is .edata in /usr/bin/cygintl-8.dll
	0x65b8b000 - 0x65b8b7e0 is .idata in /usr/bin/cygintl-8.dll
	0x65b8c000 - 0x65b8c460 is .reloc in /usr/bin/cygintl-8.dll
	0x67c71000 - 0x67c86fe8 is .text in /usr/bin/cygiconv-2.dll
	0x67c87000 - 0x67c87008 is .data in /usr/bin/cygiconv-2.dll
	0x67c88000 - 0x67d6481c is .rdata in /usr/bin/cygiconv-2.dll
	0x67d65000 - 0x67d654b8 is .bss in /usr/bin/cygiconv-2.dll
	0x67d66000 - 0x67d66172 is .edata in /usr/bin/cygiconv-2.dll
	0x67d67000 - 0x67d6734c is .idata in /usr/bin/cygiconv-2.dll
	0x67d68000 - 0x67d68d00 is .reloc in /usr/bin/cygiconv-2.dll
	0x77d11000 - 0x77d70203 is .text in /mnt/c/WINDOWS/system32/user32.dll
	0x77d71000 - 0x77d71c00 is .data in /mnt/c/WINDOWS/system32/user32.dll
	0x77d73000 - 0x77d9c23c is .rsrc in /mnt/c/WINDOWS/system32/user32.dll
	0x77d9d000 - 0x77d9fdf0 is .reloc in /mnt/c/WINDOWS/system32/user32.dll
	0x77ef1000 - 0x77f33a6e is .text in /mnt/c/WINDOWS/system32/gdi32.dll
	0x77f34000 - 0x77f35160 is .data in /mnt/c/WINDOWS/system32/gdi32.dll
	0x77f36000 - 0x77f363d0 is .rsrc in /mnt/c/WINDOWS/system32/gdi32.dll
	0x77f37000 - 0x77f38870 is .reloc in /mnt/c/WINDOWS/system32/gdi32.dll
	0x76301000 - 0x76315a96 is .text in /mnt/c/WINDOWS/system32/imm32.dll
	0x76316000 - 0x76316200 is .data in /mnt/c/WINDOWS/system32/imm32.dll
	0x76317000 - 0x7631bc18 is .rsrc in /mnt/c/WINDOWS/system32/imm32.dll
	0x7631c000 - 0x7631cc6c is .reloc in /mnt/c/WINDOWS/system32/imm32.dll
	0x62c21000 - 0x62c25709 is .text in /mnt/c/WINDOWS/system32/lpk.dll
	0x62c26000 - 0x62c261d4 is .data in /mnt/c/WINDOWS/system32/lpk.dll
	0x62c27000 - 0x62c273e0 is .rsrc in /mnt/c/WINDOWS/system32/lpk.dll
	0x62c28000 - 0x62c2828e is .reloc in /mnt/c/WINDOWS/system32/lpk.dll
	0x73fa1000 - 0x73fe48d5 is .text in /mnt/c/WINDOWS/system32/usp10.dll
	0x73fe5000 - 0x73fef200 is .data in /mnt/c/WINDOWS/system32/usp10.dll
	0x73ff5000 - 0x73ff6c18 is Shared in /mnt/c/WINDOWS/system32/usp10.dll
	0x73ff7000 - 0x74008a08 is .rsrc in /mnt/c/WINDOWS/system32/usp10.dll
	0x74009000 - 0x7400a696 is .reloc in /mnt/c/WINDOWS/system32/usp10.dll
(gdb) info reg
eax            0x5240000	86245376
ecx            0x7c80e6cb	2088822475
edx            0x0	0
ebx            0x1	1
esp            0x22cd0c	0x22cd0c
ebp            0x22cd18	0x22cd18
esi            0x691c4da4	1763462564
edi            0x20	32
eip            0x5240000	0x5240000
eflags         0x10206	[ PF IF RF ]
cs             0x1b	27
ss             0x23	35
ds             0x23	35
es             0x23	35
fs             0x3b	59
gs             0x0	0
(gdb) info frame
Stack level 0, frame at 0x22cd10:
  eip = 0x5240000; saved eip 0x69181041
  called by frame at 0x22cd14
  Arglist at 0x22cd08, args:
  Locals at 0x22cd08, Previous frame's sp is 0x22cd10
  Saved registers:
   eip at 0x22cd0c
(gdb) quit


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list