02-26-2008
core dump in lz01 library
hi,
i am getting core dumb,while ruinning my broadcast program.its running
for a while ie getting packet for sometime after that it gives core dump.
while debugging with with dbx it gives following messeges.....
Segmentation fault in lzo1z_decompress at 0x10003850 ($t1)
0x10003850 (lzo1z_decompress+0x1d0) 98640000 stb r3,0x0(r4)
(dbx) where
lzo1z_decompress(0x2ff21884, 0x2020, 0x2ff21a8c, 0x2ff21eea, 0x0) at 0x10003850
unnamed block in ReceiveReplyPacketsBcast(sockfd1 = 1311765015, bcastaddress = warning: Unable to access address 0x60402144 from c
ore
(invalid char ptr (0x60402144)), portno = 567292127, mcastaddress = warning: Unable to access address 0xc4000000 from core
(invalid char ptr (0xc4000000)), mportno = 0), line 22472 in "DrvNseBcast.c"
ReceiveReplyPacketsBcast(sockfd1 = 1311765015, bcastaddress = warning: Unable to access address 0x60402144 from core
(invalid char ptr (0x60402144)), portno = 567292127, mcastaddress = warning: Unable to access address 0xc4000000 from core
(invalid char ptr (0xc4000000)), mportno = 0), line 22472 in "DrvNseBcast.c"
OS-AIX
Please help?/?
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
does any one have read a core dump?
is there any reader for that? or may i know what is the use of that core which takes sometimes memory in GBs?
:) (6 Replies)
Discussion started by: sskb
6 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
Working on AIX 4.3. An internal error from my apps engine suddenly causes the engine to die. During this time i do notice a core file being dumped in the directory from where I try to re-start my engine.
Q is how does one read this core file, or I should say 'what is this core file'?
thnx (2 Replies)
Discussion started by: buRst
2 Replies
4. 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
5. 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
6. 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
7. UNIX for Advanced & Expert Users
Hello all,
Iam new to unix while executing java program which finely working in windows know iam testing with unix ,but in unix while executing iam getting core dump, my application is in client server environment and it is menu drivrn application on clicking options no problem but after some time... (1 Reply)
Discussion started by: vinp
1 Replies
8. AIX
hi,
i am getting core dump while running my broadcast program.while debbuging with dbx it gives....
Segmentation fault in lzo1z_decompress at 0x10003850 ($t1)
0x10003850 (lzo1z_decompress+0x1d0) 98640000 stb r3,0x0(r4)
(dbx) where
lzo1z_decompress(0x2ff21884, 0x2020,... (1 Reply)
Discussion started by: ajaysahoo
1 Replies
9. 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
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 MOJAVE
tcl_free
Tcl_Alloc(3) Tcl Library Procedures Tcl_Alloc(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_Alloc, Tcl_Free, Tcl_Realloc, Tcl_AttemptAlloc, Tcl_AttemptRealloc, ckalloc, ckfree, ckrealloc, attemptckalloc, attemptckrealloc -
allocate or free heap memory
SYNOPSIS
#include <tcl.h>
char *
Tcl_Alloc(size)
void
Tcl_Free(ptr)
char *
Tcl_Realloc(ptr, size)
char *
Tcl_AttemptAlloc(size)
char *
Tcl_AttemptRealloc(ptr, size)
char *
ckalloc(size)
void
ckfree(ptr)
char *
ckrealloc(ptr, size)
char *
attemptckalloc(size)
char *
attemptckrealloc(ptr, size)
ARGUMENTS
unsigned int size (in) Size in bytes of the memory block to allocate.
char *ptr (in) Pointer to memory block to free or realloc.
_________________________________________________________________
DESCRIPTION
These procedures provide a platform and compiler independent interface for memory allocation. Programs that need to transfer ownership of
memory blocks between Tcl and other modules should use these routines rather than the native malloc() and free() routines provided by the C
run-time library.
Tcl_Alloc returns a pointer to a block of at least size bytes suitably aligned for any use.
Tcl_Free makes the space referred to by ptr available for further allocation.
Tcl_Realloc changes the size of the block pointed to by ptr to size bytes and returns a pointer to the new block. The contents will be
unchanged up to the lesser of the new and old sizes. The returned location may be different from ptr. If ptr is NULL, this is equivalent
to calling Tcl_Alloc with just the size argument.
Tcl_AttemptAlloc and Tcl_AttemptRealloc are identical in function to Tcl_Alloc and Tcl_Realloc, except that Tcl_AttemptAlloc and
Tcl_AttemptRealloc will not cause the Tcl interpreter to panic if the memory allocation fails. If the allocation fails, these functions
will return NULL. Note that on some platforms, but not all, attempting to allocate a zero-sized block of memory will also cause these
functions to return NULL.
The procedures ckalloc, ckfree, ckrealloc, attemptckalloc, and attemptckrealloc are implemented as macros. Normally, they are synonyms for
the corresponding procedures documented on this page. When Tcl and all modules calling Tcl are compiled with TCL_MEM_DEBUG defined, how-
ever, these macros are redefined to be special debugging versions of these procedures. To support Tcl's memory debugging within a module,
use the macros rather than direct calls to Tcl_Alloc, etc.
KEYWORDS
alloc, allocation, free, malloc, memory, realloc, TCL_MEM_DEBUG
Tcl 7.5 Tcl_Alloc(3)