Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

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
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> Help: Windows NT exception (core dumped) Page: [1]
Login
Message << Older Topic   Newer Topic >>
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 ??
Post #: 1
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").

(in reply to korona_lite)
Post #: 2
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)

(in reply to Rodney)
Post #: 3
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() ).

(in reply to korona_lite)
Post #: 4
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> Help: Windows NT exception (core dumped) Page: [1]
Jump to:





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


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031