- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: C program error ... Abort(coredump)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 05:29 PM
тАО05-16-2007 05:29 PM
Below messages appear to our apll team, which indicate swap need to be increased,...
---------------------------------------------
Pid 21573 received a SIGSEGV for stack growth failure.Possible causes: insufficient memory or swap space,or stack size exceeded maxssiz.
----------------------------------------------
And after increasing swap file, now below message display, while running C program.
----------------------------------------------
rate_vpn@bat-bcdr:/appl/rate_vpn/bin/rating$ _vpn/bin/cdr/mp/cdr_intermediate --postpaid --tapout --verbose Abort(coredump)
----------------------------------------------
Previously, this program was running withoug any error.
Regards,
Ahmed
Solved! Go to Solution.
- Tags:
- SIGSEGV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 05:41 PM
тАО05-16-2007 05:41 PM
Re: C program error ... Abort(coredump)
Check you have enough memory available in the system with # swapinfo. After that, analyze your program, core with gdb. It could be due to bad programming.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 06:47 PM
тАО05-16-2007 06:47 PM
Re: C program error ... Abort(coredump)
Memory seems OK;
# swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 3424 0 3424 0% 0 - 1 /dev/vg00/lvol10
reserve - 4651 -4651
memory 6513 111 6402 2%
total 14033 4762 9271 34% - 0 -
Regards,
Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 07:29 PM
тАО05-16-2007 07:29 PM
Re: C program error ... Abort(coredump)
I assume you checked maxssiz and aren't using a Fortran like application that requires a gigantic stack?
If you are now getting SIGABRT and there were no error messages explaining why, you need to get a stack trace then debug the issue. Use gdb's "bt" command:
$ gdb executable core
(gdb) bt
(gdb) q
- Tags:
- maxssiz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 08:01 PM
тАО05-16-2007 08:01 PM
Re: C program error ... Abort(coredump)
maxssiz 8388608 8388608 Static maxssiz_64bit 8388608 8388608 Stic maxswapchunks 5473 5473 Static
After I add SWAP space the programmr complining "software that should be working fine is also giving problem"
Kindly help
And they send me below errors;
fill_pabx_imsi|ratebc|070517:14:33|db_functions.c| 733|bcConnectToOracle: serName: 'ADM_RA
TING@TBC15'
fill_pabx_imsi|ratebc|070517 :14:33|db_functions.c| 797|bcConnectToOracle: successful ion.
fill_pabx_imsi|ratebc|070517 10:14:33|read_plmnxref.c| 'NET_PLMN_XREF_A'
fill_pabx_imsi|ratebc|070517 10:14:33|fill_pabx_imsi.c| 264|getImsiFromXRef
fill_pabx_imsi|ratebc|070517 10:14:33|fill_pabx_imsi.c| 265|Statement is-- 'select IMSI from XNET_G
ET_ACT_IMSI_ADM where (MSISDN=:b0 and to_date(:b1,'YYYYMMDDHH24MISS') between (start_date-(1/24)) an
d end_date) order by start_date
h'
fill_pabx_imsi|ratebc|070517 10:14:33|fill_pabx_imsi.c| 266|Function code is 0
fill_pabx_imsi|ratebc|070517 10:14:33|fill_pabx_imsi.c| 269|ORA-00904: "START_DATE": invalid identif
ier
Ahmed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 09:28 PM
тАО05-16-2007 09:28 PM
Solution8 Mb should be fine. If it was a problem you would still get that SIGSEGV error and not SIGABRT. Unless there is a super special signal handler that prints a message then aborts??
>After I add SWAP space the programmer complining "software that should be working fine is also giving problem"
That programmer will have to debug his application. By using gdb and getting a stack trace may make it obvious.
>And they send me below errors;
Ah, that looked like a jumble of just junk. Until I realized this was wrapped lines that seemed to have some error messages in it.
It would have been better to attach a file with this info, so it doesn't wrap.
Anyway, it is still meaningless to me. Just some error in:
ORA-00904: "START_DATE": invalid identifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 10:35 PM
тАО05-16-2007 10:35 PM
Re: C program error ... Abort(coredump)
Thanks for replay... now the programmrs looking into it.
Ahmed