Re: Seg Fault before execute main()
- From: Bjørn Augestad <boa@xxxxxxxxxxxxxx>
- Date: Wed, 09 May 2007 16:24:43 +0200
jr wrote:
Hi All,
anyone can help me with this error? I really do not know what's
happening.
I got seg fault before enter main() function.
Just guessing, but are you using C++? If so, do you have any global or static objects? If so, does the constructor for those objects do anything fishy?
HTH
Bjørn
.
----
[arjunior@paratsol02 ~/fsfix]$ gdb eMonkey core
GNU gdb 6.6
Copyright (C) 2006 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 "sparc-sun-solaris2.10"...
Reading symbols from /lib/libsocket.so.1...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libc.so.1...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /platform/SUNW,Sun-Fire-480R/lib/libc_psr.so.
1...done.
Loaded symbols for /platform/SUNW,Sun-Fire-V490/lib/libc_psr.so.1
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Core was generated by `./eMonkey'.
Program terminated with signal 11, Segmentation fault.
#0 0xff25e280 in readdir64 () from /lib/libc.so.1
(gdb)
- Follow-Ups:
- Re: Seg Fault before execute main()
- From: jr
- Re: Seg Fault before execute main()
- References:
- Seg Fault before execute main()
- From: jr
- Seg Fault before execute main()
- Prev by Date: Re: Get Available System Memory
- Next by Date: Re: Get Available System Memory
- Previous by thread: Re: Seg Fault before execute main()
- Next by thread: Re: Seg Fault before execute main()
- Index(es):
Relevant Pages
|