Program/ Memory Problems


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Program/ Memory Problems
# 1  
Old 07-28-2004
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?
# 2  
Old 07-28-2004
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Memory problems.

Hi All, Just loaded AIX 6.1 and then got Firefox running on the workstation. To test out I wanted to download some small files from 'Perlz', and during this I'm told there's not enough room in the Downloads folder. What do I do to resize folders from the default and generally move memory around? In... (3 Replies)
Discussion started by: Box_the_Jack_in
3 Replies

2. Solaris

Memory problems in Blade 6340

We have a 6000 chassis with three blades in it. Two of the blades have "Oracle/Sun" memory in them with no complaints. The third blade is populated with Dataram dimms. That 3rd blade continues to flag a slot bad. Oracle has said they would not support the blade with Dataram memory it it. I didn't... (1 Reply)
Discussion started by: brownwrap
1 Replies

3. AIX

Memory limit for C program

Greetings - I'm porting a C application to an AIX (6.1) system, and have bumped into the limits AIX imposes on memory allocation, namely the default limit of 256MB for a process. I'm aware of the compilation flag that allows an application to gain access to up to 8 memory segments (each 256MB,... (4 Replies)
Discussion started by: traviswheeler
4 Replies

4. Solaris

Memory problems on a -sunfire T2000

I work with a network management tool, which, for various reasons, is installed on a solaris server.This is a Sunfire T2000 server with 16 CPUs and 8GB of RAM. I have installed a Solaris 10 ZFS and 8GB swap. From the beginning I had problems with memory occupation that it rises progressively to 95%... (4 Replies)
Discussion started by: drusa79
4 Replies

5. Programming

Problems with shared memory and lists

Hi, I need to put in shared memory a list made with object of this structure: typedef struct Obj{ char objname; struct Obj *nextObj; }Object I've filled my list with (for example) 10 elements, but when i try to put it in shared memory to be read by another process i get segmentation fault... (6 Replies)
Discussion started by: BeNdErR
6 Replies

6. Programming

[C] Problems with shared memory

Hi everbody, i have a problem with shared memory and child-processes in C (unix). I have a server that do forks to create (N) child processes. This processes work with a shared "stuct" thanks to shared memory and a semaphore. The problem is when a child modify the shared memory and the others... (2 Replies)
Discussion started by: hurricane86
2 Replies

7. HP-UX

UNIX memory problems

I don't know if this is better suited for the application section, but here goes. We are currently running HP-UX 11 as our database server. The database is Progress version 9.1C. As of late, some of our batch processes that run on the UNIX db server are erroring out because of what appear to... (3 Replies)
Discussion started by: eddiej
3 Replies

8. UNIX and Linux Applications

UNIX memory problems w/Progress DB

We are currently running HP-UX 11 as our database server. The database is Progress version 9.1C. As of late, some of our batch processes that run on the UNIX db server are erroring out because of what appear to be memory issues(at least according to Progress). The db error messages indicate... (0 Replies)
Discussion started by: eddiej
0 Replies

9. Programming

more problems with my C program

I've run into 2 problems now, the first problem is probably a simple one it is in reguards to the argv pointer I have an if statement as follows: if(argv == "-l") { printf("output:"); printf("TASK-NO\tDATE\tTIME\tTASK DESCRIPTION"); return(0); } but when I compile the... (6 Replies)
Discussion started by: Pyro-San
6 Replies

10. UNIX for Advanced & Expert Users

plock() memory locking problems

I'm experiencing some strangeness when using plock(). I'm on a Solaris 5.7/SPARC machine with 64MB of memory. I can show that plock() works by successfully locking down 10 MB of memory. Then, I ask for 40 MB, and I get a failure notice because there is "Not enough memory" available. I... (5 Replies)
Discussion started by: troccola
5 Replies
Login or Register to Ask a Question