12-02-2010
That has syntax errors. Please post all the code you have.
9 More Discussions You Might Find Interesting
1. Solaris
hello ,
I have a C program which runs perfectly on linux but gives a segmentation core dump when i try to run it on solaris.
The compilation of the c code happens without any errors on solaris.
Any pointers
thanks
Nayeem (2 Replies)
Discussion started by: nayeemmz
2 Replies
2. Solaris
hi everyone,
we have solaris 8 in sun v480 server.
it gives this error.
Segmentation Fault(coredump)
can anyone help me in this - urgently.
Regards
Karthik C (8 Replies)
Discussion started by: cksriramchandra
8 Replies
3. UNIX for Dummies Questions & Answers
What's the difference between Segmentation fault and Bus error and Illegal instruction?
Sometimes I got the one, and sometimes i got another, what are their differences?
Segmentation fault (core dump)?
Bus error (core dump)?
Illegal instruction (core dump)
Thanks
Daniel (2 Replies)
Discussion started by: lakeat
2 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I am trying to create few directories using script and its giving me segmentation error.
#!/bin/ksh
createDirectories()
createDirectories()
{
cat dirs | \
while read line
do
mkdir... (16 Replies)
Discussion started by: varungupta
16 Replies
5. UNIX for Advanced & Expert Users
hi all
is there any way to capture the segmentation fault error when i run sqsh on a unix shell script.
Ex:
#!/bin/ksh
sqsh -S "server" -U "user" -P "pwd" << EOF
use mydb
go
exec proc1
go
exit
EOF
retval=$?
echo "sqsh return value $retval"
if
then
exit (1 Reply)
Discussion started by: sudheer1984
1 Replies
6. Shell Programming and Scripting
Hi all,
I have a folder with some 28 files. I have a script file that will iteratively take one file at a time from the folder and provide an output for the input file. Till the 7th file, there was no problem but from the 8th file onwards, i got this Segmentation Fault(Core Dump) error. A file... (2 Replies)
Discussion started by: mick_000
2 Replies
7. Programming
Hello,
I'm experiencing a weird seg fault at run time when initializing a bi-dimensional array and initializing a class.
Please see below code and comments describing the error and the instances when it occurs and when it does not occur.
Compiled with g++ segf.cpp -o segf
output
On... (5 Replies)
Discussion started by: nmset
5 Replies
8. Programming
I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this :
i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies
9. Programming
Hello guys, i have this code:
int main(int argc, char *argv) {
int i, j, N, result = 0, **vec;
if (argc < 2) {
fprintf(stderr, "Usage: %s N\n", argv);
}
/* ... how many numbers to read */
N = atoi(argv);
/* check if N is a power of two; exit if not */
if (!... (3 Replies)
Discussion started by: DinisR
3 Replies
LEARN ABOUT DEBIAN
rakudo
rakudo(1) User Contributed Perl Documentation rakudo(1)
NAME
perl6 - Rakudo Perl 6 Compiler
SYNOPSIS
perl6 [switches] [--] [programfile] [arguments]
DESCRIPTION
With no arguments, enters a REPL. With a "[programfile]" or the "-e" option, compiles the given program and by default also executes the
compiled code.
-c check syntax only (runs BEGIN and CHECK blocks)
-e program one line of program
-h, --help display this help text
-n run program once for each line of input
-p same as -n, but also print $_ at the end of lines
--target=[stage] specify compilation stage to emit
-t, --trace=[flags] enable trace flags, see 'parrot --help-debug'
--encoding=[mode] specify string encoding mode
-o, --output=[name] specify name of output file
-v, --version display version information
--stagestats display time spent in the compilation stages
--ll-backtrace display a low level backtrace on errors
Note that only boolean single-letter options may be bundled
Supported stages for --target are:
parse past post pir evalpmc
where
parse = a representation of the parse tree
past = an intermediate format representing the parrot abstract syntax tree
post = an intermediate format representing the parrot opcode syntax tree
pir = the parrot intermediate representation
PARROT OPTIONS
To specify options to the underlying parrot VM, you must explicitly run parrot; you cannot specify these options by using the "perl6"
executable.
parrot [parrot switches] perl6.pbc [switches] [--] [programfile] [arguments]
See "parrot --help" for a list of valid parrot options.
AUTHORS
Written by the Rakudo contributors, see the CREDITS file.
This manual page was written by Reini Urban, Moritz Lenz and the Rakudo contributors.
perl v5.14.2 2012-01-22 rakudo(1)