The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to check memory leak in C program under Unix useless79 High Level Programming 5 5 Days Ago 07:12 AM
UNIX memory problems eddiej HP-UX 3 12-12-2007 12:41 PM
UNIX memory problems w/Progress DB eddiej UNIX and Linux Applications 0 12-12-2007 09:06 AM
more problems with my C program Pyro-San High Level Programming 6 04-19-2002 11:54 PM
plock() memory locking problems troccola UNIX for Advanced & Expert Users 5 01-30-2002 06:28 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-28-2004
Registered User
 

Join Date: Jan 2002
Posts: 60
Stumble this Post!
Program/ Memory Problems

I need some advise.

I have an application server running several applications. When I try and start a particular application when the others are running I receive the following. This is appearing in the core file that is created.

----------------------------------------------------------------------------------

program terminated by signal SEGV (no mapping at the fault address)
0xff141f10: _malloc_unlocked+0x021c: ld [%o0 + 0x8], %o1


[1] _malloc_unlocked(0xff1c2858, 0x1d4e60, 0xff1bc008, 0x5800, 0x298b08, 0x0), at 0xff141f10
[2] realloc(0xff1c2850, 0x2c01, 0xff1bc008, 0x295f00, 0x5800, 0x295f08), at 0xff142190
[3] osGetProcessList(0xffbef168, 0xffbeddb8, 0xff2174c4, 0x3902a4, 0x43545453, 0x6e20736f), at 0x30b20
[4] processStartupCheck(0xffbef294, 0x0, 0xffffffff, 0x0, 0x0, 0xffbef315), at 0x2e9dc
[5] main(0x10, 0x47d8c, 0x6, 0x47800, 0x0, 0x0), at 0x12d00

----------------------------------------------------------------------------------

If I stop some of the other applications and try and start the failed one, it works fine.

What can I configure to stop this from happening?
Do I increase swap space, so enough memory becomes available or is there something in the kernel that needs changing?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-28-2004
Registered User
 

Join Date: Jan 2002
Posts: 60
Stumble this Post!
I really appreciate your answer and the detail you have provided. The situation now becomes very clear and I believe that the program is buggy as you pointed out.

Thanks again.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0