04-23-2008
core dump
My application gives core dump. When i am debugging with dbx getting instructions below:
pthdb_session.c, 818: 695445 PTHDB_INTERNAL (internal error)
pthreaded.c, 1941: PTHDB_INTERNAL (internal error)
Illegal instruction (illegal opcode) in . at 0x0
warning: Unable to access address 0x0 from core
What these instruction are actually. plz help me.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
help, what is the difference between core dump and panic dump? (1 Reply)
Discussion started by: aileen
1 Replies
2. UNIX for Dummies Questions & Answers
I've got a core dump in my weblogic home directory, which i have tried to debug by initiating savecore from /etc/init.d/savecore start
but savecore failed to create the two files, that is vmcore.n and vmunix.n.
savecore is enable on my server to save vmcore and vmunix in /var/crash/hostname
1)... (4 Replies)
Discussion started by: hassan2
4 Replies
3. Programming
MY friends:
my program under sco unix have a problem?
it create a core dump file on the path when execute program ,
but i can't find the error of the C program ,i don't know how to
see the error about my program use core, please help me
or give me some suggest and what tools can use... (1 Reply)
Discussion started by: zhaohaizhou
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
i am new to this forum.i want detail of reading the core file and trace the problem because of what the program get crashed.please help me.if any body knows any website or tutoril plese let me know.
sudhir (6 Replies)
Discussion started by: sudhir patnaik
6 Replies
5. UNIX for Dummies Questions & Answers
Hi All
I am new for this forum. I have a core file by using gdb and bt cmd I got the function name but I want to the exact cause of the core dump because of I can not reproduse the binary so if any one know the cmd plz plz plz let me know. (0 Replies)
Discussion started by: gyanusoni
0 Replies
6. Programming
how to view core dumped file using gdb and how to extract information from the coredumped file.can we get similar information from the other utilites like strace or ptrace. (2 Replies)
Discussion started by: Manabhanjan
2 Replies
7. AIX
Hi ,
I want to read core dump file on AIX5.3. While i am trying to use following commands, i am getting only few lines of information.
ux201p3:e46123> dbx capsWrkstnMgr core
Type 'help' for help.
reading symbolic information ...
Segmentation fault in malloc_common.extend_brk at... (1 Reply)
Discussion started by: rps
1 Replies
8. UNIX for Dummies Questions & Answers
my progrme complaints 'Segmentation fault'.
How to let it print 'Segmentation fault(core dumped)' and generate core dump file?
$ulimit
unlimited (22 Replies)
Discussion started by: vistastar
22 Replies
9. HP-UX
Hi Guys,
I was wondering if somebody could give me a link to a very good source of information or document about core dump process and How to's about it. I have also googled it and found some articles myself.
Thanks
Messi (1 Reply)
Discussion started by: messi777
1 Replies
10. Solaris
Hi guys,
just want to know which core file pattern is best to set for core dumps:
1) per-process file name pattern
or
2) global file name pattern.
I will really appreciate an explanation why the chosen one is better.
Thanks a lot guys. (2 Replies)
Discussion started by: cjashu
2 Replies
LEARN ABOUT DEBIAN
imager::regmach
Imager::regmach(3pm) User Contributed Perl Documentation Imager::regmach(3pm)
NAME
Imager::regmach - documents the register virtual machine used by Imager::transform2().
SYNOPSIS
The register machine is a complete rewrite of the stack machine originally used by Imager::transform(), written for use by
Imager::transform2().
DESCRIPTION
(This document might be a little incoherent.)
The register machine is a fast implementation of a small instruction set designed for evaluating an arithmetic expression to produce a
color for an image.
The machine takes as input:
instructions
An array of instructions
numeric registers
An array of numeric registers. Some registers are initialized as literals.
color registers
An array of color registers. Currently these registers aren't initialized.
input images
An array of Imager i_img pointers. The "getpn" operators read pixels from these images.
The instructions supplied each take up to 4 input numeric or color registers with a single output numeric or color register. The machine
attempts to execute instructions as safely as possible, assuming that correct instructions have been provided, eg. the machine protects
against divide by zero, but doesn't check register numbers for validity.
The final instruction must be a "ret" instruction, which returns the result ;)
Adding new instructions
To add a new instruction:
1. Add a new opcode to the enumeration in regmach.h - make sure to add comment after the enum name giving the input registers ("rX" for
numeric, "pX" for color) that the instruction takes. These must be in the order that the instruction expects to take the. Put a
letter (r or p) after -> to indicate the result type.
2. Add a case to regmach.c that executes the instruction.
3. make
The Makefile should rebuild the Regops.pm file, and your new instruction will be added as a function.
If you want to add a single alternative instruction that might take different argument types (it must take the same number of parameters),
create another instruction with that name followed by a p. The current expression parsers explicitly look for such instruction names.
Future directions
Conditional and non-conditional jumps to implement iteration. This will break the current optimizer in Imager::Expr (and the compilers for
both expression compilers, for that matter.)
Complex arithmetic (Addi suggested this one). This would most likely be a separate machine. Otherwise we'll have a very significant
performance loss.
WARNINGS
If you feed bad 'machine code' to the register machine, you have a good chance of a "SIGSEGV".
perl v5.14.2 2011-06-06 Imager::regmach(3pm)