Linux Error 134
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this unix exit code 134 site About Us Learn more about Stack Overflow the company Business Learn
Exit Code 134 Java
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x error code 134 wow Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Strange
Unix Signal 6
return value “134” to call gawk in bash script up vote 1 down vote favorite I met a very very strange issue when using gawk in bash script. in this script, i use a function to do some text processing. Even a very simple gawk command will return error 134 #!/bin/bash testFunc() { log "Before gawk: $?" gawk '{print}' file log "After gawk: $?" process finished with exit code 134 python } if i manually run this script in console, it will work perfectly, $? will always be 0 which means success, but if i use this script as linux startup script in etc/rc.d/ for level 3, after gawk is executed, the $? is always 134, i don't know what's the meaning of 134. if i replace "gawk '{print}' file" to "gawk --version", the result is ok, $? is 0. linux bash awk share|improve this question edited Apr 16 '14 at 4:13 asked Apr 16 '14 at 3:57 mailzyok 122110 This would imply that the previous command did not execute successfully. –devnull Apr 16 '14 at 4:01 No, if i replace "gawk '{print}' file" to "gawk --version", the result is ok, $? is 0 –mailzyok Apr 16 '14 at 4:05 What is the content of file? –chepner Apr 16 '14 at 4:27 the content of file is like below: abc,1,2[new line] def,3,4 –mailzyok Apr 16 '14 at 4:39 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote Exit code 134 means your program was aborted (received SIGABRT),
work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Many-core Applications Research Community All PlacesMany-core Applications Research Community 3 Replies Latest reply on
Linux Signal 6
Apr 4, 2011 10:44 AM by aprell Error code 134? bamarker Apr 1,
Linux Sigabrt
2011 10:20 AM Can somebody tell me what an error code of 134 means? It's not in the error code PDF.Thanks! linux exit codes 18067Views Tags: none (add) This content has been marked as final. Show 3 replies 1. Re: Error code 134? tedk Apr 1, 2011 11:34 AM (in response to bamarker) It's a new one for me. http://stackoverflow.com/questions/23098695/strange-return-value-134-to-call-gawk-in-bash-script It's coming from bash though. If you can ssh to a core directly and run your program, you'll get a better error message ... from Linux itself. If your program runs on several cores, you may have to bring up sccKonsole, configure input to be broadcasted to invoke your program. You'll also need to grab the pssh paratemrs that rccerun uses, if you were using rccerun.sccKonsole is going to want https://communities.intel.com/thread/20673 a desktop. So you need to VNC in. If your remote connection is not good enough for VNC, send me mail about how to run your program and I can try it out locally. Like Show 0 Likes(0) Actions 2. Re: Error code 134? bamarker Apr 1, 2011 4:10 PM (in response to tedk) Thanks, Ted! Like Show 0 Likes(0) Actions 3. Re: Error code 134? aprell Apr 4, 2011 10:44 AM (in response to bamarker) Exit code 134 means your program was aborted (received SIGABRT), perhaps as a result of a failed assertion.If you program with assertions and want to debug, I recommend the following: redirect stderr to stdout with a simpledup2(STDOUT_FILENO, STDERR_FILENO);at the beginning of your program (dup2 is declared in unistd.h), and you don't have to ssh to the cores directly to see what's written to stderr. Like Show 0 Likes(0) Actions Go to original post Actions More Like This Retrieving data ... Company Information | Support | Contact Us | Jobs | Investor Relations | Site Map | Terms of Use | *Trademarks | Privacy | Cookies DisclaimerCloseThis is a computer translation of the original content. It is provided for general information only and should not be relied upon as complete or accurate.
Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here. Search Forums Show Threads Show Posts http://www.unix.com/shell-programming-and-scripting/17774-crontab-script-exit-status-134-a.html Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn unix and linux commands CronTab script exit status 134 Shell Programming and Scripting Thread Tools Search this Thread Display Modes #1 03-24-2005 VijayKumar Registered User Join Date: Mar 2005 Last Activity: 20 April 2005, 8:18 AM EDT Posts: 2 Thanks: exit code 0 Thanked 0 Times in 0 Posts CronTab script exit status 134 Hi All, I have one shell script through which I am executing some datastage and quality jobs(these are ETL Jobs), when I run the script through unix prompt then the script is executing fine and getting desired results. But when I schedule the same script in crontab then in the middle of the exit code 134 script it is exiting with exit status code of 134. Could any one guide me how to overcome this issue. Thanks in advance Thanks & Regards Vijay Kumar Remove advertisements Sponsored Links VijayKumar View Public Profile Find all posts by VijayKumar #2 03-24-2005 Perderabo Unix Daemon (Administrator Emeritus) Join Date: Aug 2001 Last Activity: 26 February 2016, 12:31 PM EST Location: Ashburn, Virginia Posts: 9,931 Thanks: 64 Thanked 462 Times in 267 Posts Not too much to go on here... But if you don't have an explicit exit statement to set the return code, most shells effectively do a: return $? which is to say that the return the exit code of the last command that they ran. So your script probably ran one or more programs. And the last one exited with 134. So you need to look at the docs for that program. Remove advertisements Sponsored Links Perderabo View Public Profile Find all posts by Perderabo #3 03-24-2005 tmarikle Registered User Join Date: Jan 2005 Last Activity: 27 September 2011, 12:36 PM EDT Posts: 683 Thanks: 0 Thanked 4 Times in 4 Pos