unexpected exit


 
Thread Tools Search this Thread
Operating Systems HP-UX unexpected exit
# 1  
Old 07-22-2004
unexpected exit

On top of that, there is another question met on HP-UX 11i v2. The running program exit unnormally and no coredump. I used the 'gdb' tool to debug , it exit and return the message:
(gdb)
ttrace wait: No child processes.

When using 'where' to find the breakpoint, it retruned the following messages:
(gdb) where
warning: reading register 324: Permission denied
warning: reading register 584: Permission denied
warning: reading register 585: Permission denied
warning: reading register 473: Permission denied
#0 0x0 in <unknown_procedure> ()
warning: reading register 584: Permission denied
warning: Attempting to unwind past bad PC 0x0
warning: reading register 332: Permission denied
warning: reading register 448: Permission denied
warning: reading register 520: Permission denied
#1 0x0 in <unknown_procedure> ()


In the program, I used the 'SYS V semphore' and POSIX 'shared memory' mechanism. The code is too long and the program is a part of our system, we are porting them to HP-UX, this error report never meet on the other OS(AIX, Solaris,True64).

Anyone met and solve it? Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need the difference between exit 1 & exit 7

Hi In one of the script I am seeing some thing like exit 7,exit 1,exit 2,exit 3,exit 9,exit6.What is the difference between all of this exit.Can anyone help here please (3 Replies)
Discussion started by: ginrkf
3 Replies

2. Shell Programming and Scripting

eof unexpected while looking[...]

Hello I use opensuse build service to build packages (oh surprise !) I have integrate a command in a spec whose worked and now this exit with: unexpected EOF while looking for matching `"' Command: if \.").mk ]; then ln -s $(pwd)/mozilla/security/coreconf/Linux2.6.mk \ ... (5 Replies)
Discussion started by: posophe
5 Replies

3. Shell Programming and Scripting

Getting unexpected error

Hi All, I am writing one script to automate one of the process and for that I am using below command at one line : uncompress `cat tmp` content in tmp file are : /home/vas/aqbatch/newbatch/archive/output/RIM_GUIDEPRICE_AQ_02108.DAT.Z... (5 Replies)
Discussion started by: NirajThakar
5 Replies

4. Shell Programming and Scripting

fi unexpected

Hi gurus, I wrote the below script which finds the process ids and if there is a change b/w previous process id and the current value, it sends out a email notification to the users. When I try to execute the below code, i am getting the following error server_mon.ksh: line 51: syntax error... (4 Replies)
Discussion started by: svajhala
4 Replies

5. Shell Programming and Scripting

Capture unexpected exit in shell script

Hi, I have shell script that checks processes forever. But somehow it is killed and I want to know what causes it. while do check the processes if they are running, if not restart them done I want to capture the output when the script is terminated, how can I do that? /Andreas (2 Replies)
Discussion started by: mr_andrew
2 Replies

6. UNIX for Advanced & Expert Users

unexpected EOF

I ran the following scripts and everytime i get the errot as follows Line 54: unexpected EOF while looking for matching ',' line 57 syntex error unexpected end of file#!/bin/ksh set -x BKUP_DIR=/u03/backups/abu/nightly_backup LOG_FILE=/u03/backups/abu/backup.log ORACLE_HOME=... (9 Replies)
Discussion started by: manna
9 Replies

7. UNIX for Dummies Questions & Answers

Unexpected Results

Hello, When I run this script, here's what I get: Searching ... found 1111 2222 3333 ..... 7777 ..... 8888 9999 in 95_test Search completed. I expected only to see what number was found in the file, not including the ones not found. Thanks for your help! #!/bin/sh (1 Reply)
Discussion started by: SSims
1 Replies

8. UNIX for Dummies Questions & Answers

what is meaning of exit(0) and exit(1)

can u tell me what is the meaning of exit(0),exit(1),exit(2) what is diff amonng these. Amit (1 Reply)
Discussion started by: amitpansuria
1 Replies

9. Programming

exit(0) versus exit(1)

What is the difference between using exit(0) and exit(1) to exit a program? Which should I use? (9 Replies)
Discussion started by: enuenu
9 Replies

10. UNIX for Dummies Questions & Answers

Where can I find a list of exit codes? (Exit code 64)

I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Discussion started by: jkuchar747
3 Replies
Login or Register to Ask a Question