Hi
I am getting a strange segmentation fault during the unwind
process. I am trying to throw an object of an Exception class.
During the DoThrow (in libC.a) the stack starts growing until a
Signal is received.
The object thrown is of a class that inherits from a common class,
and the signal only appears rarely - but consistently when it does appear.
I am useing xlC V8 on Aix 5.3 . Dod anyone experience/heard of something like this ? Could it be a copiler problem ?
Hi,
I am new to the linux kernel development area. I want to know what is the difference between kernel mode stack and user mode stack? Does each process has a user mode stack and a kernel mode stack?? Or Each process has a user mode stack and there is only one kernel mode stack that is shared by... (4 Replies)
The problem: I need to work with large arrays and after one of my structures grew in size my program started getting segmentation fault.
My code where I allocate the arrays:
static R1 *tarr;
static R2 *rarr;
proc_init_mem()
{
const int t_sz = sizeof(R1) *... (9 Replies)
I receive a sigsegv failure. I was under the impression that a core file is created everytime a sigsegv occurrs and the process is terminated. I have had two recent occurrances of a core file not being created. Does anyone know why a core file would not be created. (2 Replies)
Hello,
One of our customer is getting segmentation fault when he runs his shell script which invokes our executable on AIX 6.1.
On AIX 5.3, there were no issues.
Here is the truss output.
811242: __loadx(0x0A040000, 0xF0D3A26C, 0x00000000, 0x00000009, 0x00000000) = 0xF026E884... (0 Replies)
Here is my initiating code:
#define NUM 20
static struct tab {
int count;
int use;
} tab;
int curtab = 0;
int tab_create(int tab_count)
{
curtab++;
tab.use = 1;
tab.count = tab_count;
kprintf("here!");
return curtab;
} (2 Replies)
Hi.
Can someone to help me in a segfault problem?
I have a big C++ program that crash from time to time because it receive the SIGSEGV signal.
So my question is: Can I find, without using gdb or other debugging tools, which line from source code cause that problem? Or if exist some gdb API... (1 Reply)
uwx_self_init_state_cache(3X)uwx_self_init_state_cache(3X)NAME
uwx_self_init_state_cache() - create a cache to improve self-unwind performance
SYNOPSIS DESCRIPTION
is part of the Unwind Express Library for Integrity systems; see uwx(3X). creates a cache for quick retrieval of unwind state information
when self-unwinding. This routine can be used to improve the performance of programs that perform frequent self-unwind operations.
The ideal cache size and associativity will vary for different applications. Experiment with different values and use performance measure-
ment tools to determine the best values to use.
The memory used by the cache is freed when is called.
Parameters
info A pointer to the callback info structure created by
rows The number of rows in the cache. If this is not a power of two, it will be adjusted to the largest power of two less than
the value specified. If the value specified is less than 1, returns without allocating a cache.
assoc The associativity of the cache. This determines how many entries with conflicting hash values can be stored in each row of
the cache. If the value specified is less than 1, returns without allocating a cache.
entsz The size of a cache entry in bytes. The size of the unwind state information stored in a cache entry varies between 64 and
368 bytes.
If a stack frame's unwind state is larger than the value specified for entsz, the state will not be saved in the cache. An
entry size of 104 is sufficient for most stack frames. If the entsz value is not a multiple of 8 bytes it will be rounded
up. If value specified is less than 64 bytes, returns without allocating a cache.
RETURN VALUE
returns on success. See uwx(3X) for error codes.
AUTHOR
The Unwind Express Library was developed by Hewlett-Packard.
SEE ALSO uwx(3X), uwx_add_to_bsp(3X), uwx_find_source_info(3X), uwx_find_symbol(3X), uwx_free(3X), uwx_get_abi_context_code(3X), uwx_get_func-
start(3X), uwx_get_module_info(3X), uwx_get_nat(3X), uwx_get_reg(3X), uwx_get_source_info(3X), uwx_get_sym_info(3X), uwx_init(3X),
uwx_init_context(3X), uwx_register_alloc_cb(3X), uwx_register_callbacks(3X), uwx_release_symbol_cache(3X), uwx_self_do_context_frame(3X),
uwx_self_free_info(3X), uwx_self_init_context(3X), uwx_self_init_info(3X), uwx_set_nofr(3X), uwx_set_remote(3X), uwx_step(3X),
uwx_step_inline(3X).
Integrity Systems Only uwx_self_init_state_cache(3X)