Sponsored Content
Full Discussion: Illegal Instruction error
Operating Systems Solaris Illegal Instruction error Post 302902710 by achenle on Wednesday 21st of May 2014 10:23:45 PM
Old 05-21-2014
He's not getting SIGILL, he's getting SIGSEGV, at the address 0x201138F4. Given the brk() values posted right before that SIGSEGV, that looks like someone's overrunning his heap - by exactly 512 MB.

A couple of other issues, too:

1. Use of MAP_NORESERVE in mmap() calls.
Why? So if your process does get swapped out, you crash when swapped back in? If you're lucky, because else you run with corrupt data. Or your process crashes when swap space runs out....

2. open("", O_RDWR|O_CREAT) Err #2 ENOENT
Is this error properly handled? It looks like open() is being passed an empty string.

3. mmap() of the calling binary (./tcpserver).
What in the world is this thing doing, mmap()'ing itself read/write for the first 1080 bytes of the binary executable? I wouldn't doubt getting a SIGILL after *that*.

Last edited by achenle; 05-21-2014 at 11:35 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

What is an "Illegal Instruction -Core Dumped"

Hai! i am working on Digital UNIX V3.2c Work station, my program uses Pro*C, C and X-Motif calls. i am facing problem while running application saying "Illegal Instruction Core Dumped". debugger dbx shows error at a line which shows "noname". when commenting large portion of the code it runs... (1 Reply)
Discussion started by: samn
1 Replies

2. UNIX for Dummies Questions & Answers

2489 Illegal instruction

Hello I am trying to execute a back up from one queue manager from one script saveqmgr.sh but I am getting 2489 Illegal instruction on line 16 $ sh +x ./saveqmgr.sh S1SEAGULL QueueManager=S1SEAGULL Retention= S1SEAGULL.MQS.14Jan2005 not found ./saveqmgr.sh: 2836 Illegal... (1 Reply)
Discussion started by: ana
1 Replies

3. Shell Programming and Scripting

Illegal instruction(coredump)

Hi I am trying to execute a simple grep command looking for records in a filename that start with 01 (grep ^01 filename) and am getting the error Illegal instruction(coredump). Has anyone any idea why this happens? Is it due to the file being corrupted? Thanks (1 Reply)
Discussion started by: colinmas
1 Replies

4. UNIX for Advanced & Expert Users

Case Instruction

Hi, this is my script to make a choice between 4 : clear echo " choose a profile and enter a number" echo echo " 1- oraSTT " echo echo " 2- appSTT " echo... (3 Replies)
Discussion started by: big123456
3 Replies

5. Solaris

what is that 1 in the instruction!~ (please help fast)

Hi all, make_lofs /.cdrom/<something>/<something> 1 what does this instruction mean? Note:both the "something" are obviously different . I would like to know what that 1 means, the rest of the instruction is clear!! Thanks (6 Replies)
Discussion started by: wrapster
6 Replies

6. UNIX for Dummies Questions & Answers

What's the difference between Segmentation fault and Bus error and Illegal...?

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

7. UNIX for Dummies Questions & Answers

Error: "logger: illegal option -- p"

Hi All, I am working on a Solaris 10 server. From this month start, it gives the error "logger: illegal option -- p" with each command. If I execute a script whose output shown on terminal, it comes many times.. Could you please help? It comes only for my login. And I dont remember any changes... (4 Replies)
Discussion started by: jaiseaugustine
4 Replies

8. Shell Programming and Scripting

Open_ssh installation instruction ?

Hi , Currently the machine (solaris 10 ) is running with Sun_ssh. I would like to move to Open_ssh. I went through google. Each link shows different directions/ways to install openssh. I am not sure which one to follow . Installing OpenSSH Packages - SPARC and Intel x86/Solaris 9 and... (1 Reply)
Discussion started by: frintocf
1 Replies

9. UNIX for Advanced & Expert Users

Illegal character in prototype Perl error in AIX server

HI All , I am using AIX version 6 . having issue with below perl code, sub Article ($procudure, @params) { my ($procudure, @params) = @_; #Get handle TO Dataware House DATABASE try { my $dbHandle = &Cobol::DBAccess::getDBDwConnection(); ,,,,,,,,,,,,, ,,,,,,,,,,,,... (3 Replies)
Discussion started by: Perlbaby
3 Replies

10. Shell Programming and Scripting

Cp –r instruction

Pleas I want answer to this question? Pleas help me A system administrator suspects that there is an attack on his machine; he needs to make a backup of the files to check when they have been modified. For this purpose he uses the "cp -r" instruction to copy the root directory. What is the... (1 Reply)
Discussion started by: tamer11007
1 Replies
CHALLENGED(1)							    DOSE Tools							     CHALLENGED(1)

NAME
dose-challenged - detect broken packages due to obsolete dependencies SYNOPSIS
dose-challenged [options] Packages file(s) DESCRIPTION
dose-challenged performs a speculative analysis of the repository to identify those packages that, if upgraded to a specific version, would break a large number of other packages in the repository. This tool would be particularly useful during the upgrade of a specific component to evaluate its impact on the software archive. Input Specification The input of dose-challenged is a list of Debian Packages files Output Specification The output of dose-challenged is in the yaml format. Options -b --broken Print the list of broken packages -d --downgrade Check package downgrades -c Print the list of packages in a cluster --checkonly Select a subset of packages to check. By default all packages are checked. -v Enable info / warnings / debug messages. This option may be repeated up to three times in order to increase verbosity. --progress Enable progress bars. -h, --help Display this list of options. EXAMPLE
dose-challenged -v --progress Packages.bz2 > result.yaml NOTE
AUTHOR
Pietro Abate and Roberto Di Cosmo SEE ALSO
dose-distcheck(1) dose-outdated(1) <http://www.mancoosi.org> is the home page of the Mancoosi project. dose3 3.0.2 2012-10-03 CHALLENGED(1)
All times are GMT -4. The time now is 05:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy