ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
381
|
Mon Jun 30 02:41:33 2003 |
| Recai Oktas | roktas@omu.edu.tr | Bug fix | Mac OSX | 2.3.8 | Re: runtime error under Mac OS X 10.2 |
Seems a stack problem. I don't have an OS X box to validate my guess. I've
made a Google search with the keywords: EXC_BAD_ACCESS stack "os x"
Perhaps the following reply [1] might help...
How big are they? You're probably running into the default stack size
limit, which is 512 KB. Try `unlimit stacksize` in your shell before
running, which will give you 65536 KB per stack.
[1] http://zerowing.idsoftware.com/archives/gtkrad-macos/2003-January/000453.html |
382
|
Mon Jun 30 05:15:14 2003 |
| Joseph Giaime | giaime@phys.lsu.edu | Bug fix | Mac OSX | 2.3.8 | Re: runtime error under Mac OS X 10.2 |
Sridhar & Recai,
Thanks to both of you for the rapid and effective advice. Fixing the limit corrected my problem.
I think I last got tripped up this way 10 years ago...
I suppose that the advice to increase Mac OS X's default stacksize limit might make a fine entry
in the FAQ or README file.
Thanks again,
Joe |
385
|
Mon Jun 30 17:16:56 2003 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug fix | Mac OSX | 2.3.8 | Re: runtime error under Mac OS X 10.2 |
> I suppose that the advice to increase Mac OS X's default stacksize limit
> might make a fine entry in the FAQ or README file.
I added a note in the installation instructions.
(http://midas.psi.ch/elog/adminguide.html)
- Stefan |
68161
|
Tue Oct 27 11:14:16 2015 |
| kenzo Abrahams | kenzoabrahams@gmail.com | Question | Linux | 3.1.1 | Re: running more then one shell command when new entries is submitted |
The reason why im asking if it can be done using the Execute option is because I need to have the message id of the entry that was submitted and in an external script i dont have access to the variable
kenzo Abrahams wrote: |
Hi
Im just curious is it possible to run more then one command using Execute new = <command> or will i have to run a script to run muliple commands.
I tried using '&&' to seperate more then one command but it seems that the first one only gets executed and the rest are just ignored.
Regards
Kenzo
|
|
68162
|
Tue Oct 27 11:19:41 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 3.1.1 | Re: running more then one shell command when new entries is submitted |
The command is passed to your shell, and some shells except more than one command. Most Linux shells accept commands separated by ';', which you can try yourself by entering for example: ls *.c; ls*.h
kenzo Abrahams wrote: |
Hi
Im just curious is it possible to run more then one command using Execute new = <command> or will i have to run a script to run muliple commands.
I tried using '&&' to seperate more then one command but it seems that the first one only gets executed and the rest are just ignored.
Regards
Kenzo
|
|
68163
|
Tue Oct 27 11:23:36 2015 |
| kenzo Abrahams | kenzoabrahams@gmail.com | Question | Linux | 3.1.1 | Re: running more then one shell command when new entries is submitted |
If i put the ';' into Execute the rest of the command becomes a comment thats why i was trying to use '&&' instead. If I encapulate the whole command in "" or '' then both commands are executed but the files im trying to write to gets created but no data is piped into it. When I use Execute with one command and pipe its output to a file everything works fine though.
Stefan Ritt wrote: |
The command is passed to your shell, and some shells except more than one command. Most Linux shells accept commands separated by ';', which you can try yourself by entering for example: ls *.c; ls*.h
kenzo Abrahams wrote: |
Hi
Im just curious is it possible to run more then one command using Execute new = <command> or will i have to run a script to run muliple commands.
I tried using '&&' to seperate more then one command but it seems that the first one only gets executed and the rest are just ignored.
Regards
Kenzo
|
|
|
68165
|
Tue Oct 27 12:20:16 2015 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Linux | 3.1.1 | Re: running more then one shell command when new entries is submitted |
As far as I know ELOG is recognising a configuration line as a comment only when it starts with a ';'.
I can assure you that ELOG does not treat the rest of the line as a comment when you use a ';' within a $shell() command: I do it a lot and it works fine. Here's a simple, generic example using the bash:
Preset Author = $shell(if [ $short_name = "Anonym" ] ;then echo $Author;else echo \"$long_name, $Author\";fi)
It adds $long_name to the Author field for non-anonymous entries.
Cheers Andreas
kenzo Abrahams wrote: |
If i put the ';' into Execute the rest of the command becomes a comment thats why i was trying to use '&&' instead. If I encapulate the whole command in "" or '' then both commands are executed but the files im trying to write to gets created but no data is piped into it. When I use Execute with one command and pipe its output to a file everything works fine though.
Stefan Ritt wrote: |
The command is passed to your shell, and some shells except more than one command. Most Linux shells accept commands separated by ';', which you can try yourself by entering for example: ls *.c; ls*.h
kenzo Abrahams wrote: |
Hi
Im just curious is it possible to run more then one command using Execute new = <command> or will i have to run a script to run muliple commands.
I tried using '&&' to seperate more then one command but it seems that the first one only gets executed and the rest are just ignored.
Regards
Kenzo
|
|
|
|
68170
|
Wed Oct 28 11:11:27 2015 |
| kenzo Abrahams | kenzoabrahams@gmail.com | Question | Linux | 3.1.1 | Re: running more then one shell command when new entries is submitted |
Hi Andreas
This worked perfectly thank you.
Andreas Luedeke wrote: |
As far as I know ELOG is recognising a configuration line as a comment only when it starts with a ';'.
I can assure you that ELOG does not treat the rest of the line as a comment when you use a ';' within a $shell() command: I do it a lot and it works fine. Here's a simple, generic example using the bash:
Preset Author = $shell(if [ $short_name = "Anonym" ] ;then echo $Author;else echo \"$long_name, $Author\";fi)
It adds $long_name to the Author field for non-anonymous entries.
Cheers Andreas
kenzo Abrahams wrote: |
If i put the ';' into Execute the rest of the command becomes a comment thats why i was trying to use '&&' instead. If I encapulate the whole command in "" or '' then both commands are executed but the files im trying to write to gets created but no data is piped into it. When I use Execute with one command and pipe its output to a file everything works fine though.
Stefan Ritt wrote: |
The command is passed to your shell, and some shells except more than one command. Most Linux shells accept commands separated by ';', which you can try yourself by entering for example: ls *.c; ls*.h
kenzo Abrahams wrote: |
Hi
Im just curious is it possible to run more then one command using Execute new = <command> or will i have to run a script to run muliple commands.
I tried using '&&' to seperate more then one command but it seems that the first one only gets executed and the rest are just ignored.
Regards
Kenzo
|
|
|
|
|