All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
Help: Windows NT exception (core dumped)
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
Help: Windows NT exception (core dumped) - Jan. 18, '06, 12:07:08 PM
|
|
|
korona_lite
Posts: 18
Joined: Nov. 7, '05,
Status: offline
|
I am successfully able to compile server application(linux based ) in SFU with some modifications. Server is a multithreaded app using pthread.
but when i run the application, it crashes with output
Windows NT exception (core dumped)
I try to run the binary in gdb and get the following error
procfs: child stopped for unknown reason.
PR_FAULTED: incurred traced hardware fault unknown hardware fault 14
any idea whts going on ??
|
|
|
RE: Help: Windows NT exception (core dumped) - Jan. 18, '06, 12:43:50 PM
|
|
|
Rodney
Posts: 3142
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
As I mentioned in the other thread, try the final link with the '-static' option
and then run the application with gdb. It may give more useful information
then. In particular look at the stack trace (gdb command "bt").
|
|
|
RE: Help: Windows NT exception (core dumped) - Jan. 19, '06, 9:22:02 AM
|
|
|
korona_lite
Posts: 18
Joined: Nov. 7, '05,
Status: offline
|
Here is the little run of the server program done in gdb.
any idea whts happening ???
(gdb)
444 if(conf_load_section(conf_file,section_name,§ion,1) < 0) {
(gdb)
procfs:4284 -- child stopped for unknown reason:
PR_FAULTED : Incurred a traced hardware fault Unknown hardware fault 14
... giving up...
(gdb)
0x00c7e396 12 /tmp/cczLMK6t.s: No such file or directory.
in /tmp/cczLMK6t.s
Current language: auto; currently asm
(gdb)
0x00c7e39b 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e386 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e38b 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e38d 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e393 12 in /tmp/cczLMK6t.s
(gdb) step
0x00c7e396 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e39b 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e386 12 in /tmp/cczLMK6t.s
(gdb) next
0x00c7e38b 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e38d 12 in /tmp/cczLMK6t.s
(gdb)
0x00c7e393 12 in /tmp/cczLMK6t.s
(gdb)
procfs:4284 -- child stopped for unknown reason:
PR_FAULTED : Incurred a traced hardware fault Unknown hardware fault 14
... giving up...
(gdb) next
Program received signal SIGSEGV, Segmentation fault.
0x00c7e393 in _alloca () at /tmp/cczLMK6t.s:12
12 in /tmp/cczLMK6t.s
(gdb)
Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) core core
warning: core file may not match specified executable file.
Core was generated by `./server/bin/sserverd_4.2.5-interix'.
Symbols already loaded for /usr/local/unixODBC/lib/libodbc.so.1
Symbols already loaded for /usr/local/lib/libspectra-enc.so
Symbols already loaded for /usr/local/ssl/lib/libcrypto.so
Symbols already loaded for /usr/lib/libc.so.3.5
Symbols already loaded for /usr/lib/libdl.so.3.5
Symbols already loaded for /usr/lib/libm.so.3.5
Symbols already loaded for /usr/lib/ld.so
#0 0x00c7e393 in _alloca () at /tmp/cczLMK6t.s:12
12 in /tmp/cczLMK6t.s
(gdb)
|
|
|
RE: Help: Windows NT exception (core dumped) - Jan. 19, '06, 12:54:48 PM
|
|
|
Rodney
Posts: 3142
Joined: Jul. 9, '02,
From: /Tools lab
Status: online
|
When you have the core loaded (the child it appears in this case) do
the gdb command "bt" to show the stack. Check the value that
is passed from your program to the malloc() (or whatever eventually
calls alloca() ).
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|