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.
Here is the stack trace
It is showing unresolved symbol.
what is this symbol "_Grow__Q2_3std12basic_stringXTcTQ2_3std11char_traitsXTc_TQ2_3std9allocatorXTc ()" about?
From which version of libC.a , above symbol can be available?
we have sugessted to use LDR_CNTRL variable as
getting segfault and got signal 11 in this case.
""In case of AIX operating system, for 32-bit executables, SIGSEGV can be generated due to insufficient segment-size.
The way the memory model of AIX is designed, segments, by default, have a fixed size (256Mb).
Incase if a process requests more memory than this, a segment violation occurs and the operating system delivers a SIGSEGV signal to the process.
For resolving this, you can link with -bmaxdata=<num> or set the runtime environmen variable LDR_CNTRL=MAXDATA."""
With LDR_CNTRL set, one of the shell script of customer was sucessful.
I am maily concern with the symbol shown in stack trace.
what could be the cause for that either invalid version of libC.a OR anything else?
Thanks
regards,
Srikrishna Erra.
Moderator's Comments:
Please use the CODE-tags i edited into your post yourself from now on when quoting code, code-fragments or terminal output. Thank you.
Hi,
I am running a remote shell from site A to site B, where both are AIX. The remote shell starts other application, and when it finishes, it returns to the site A.
The problem is that I am receiving an error signal 11 and system core error 50 - segmentation fault.
Does anyone know if there are... (6 Replies)
Im using gdb and when a user disconnects from my server I receive a message
Program received signal SIGABRT, Aborted.
0x7ffe0304 in ?? ()
I was hoping someone here might have a explination for this message in gdb (26 Replies)
I am making a command line program in C using XCode. When running the program, it initially does what it is supposed to do (asks me for a file path). However, when I type in a valid and existing file path, it gives me the following error:
Program received signal: “EXC_BAD_ACCESS”.... (6 Replies)
Hi to all,
i am trying to make mksysb backup of a NIM client machine from NIM master and while i am reading that the backup is done successfully i get an error message below and it doesnt exit the smit screen. also the status of the command appears to be running.
is there anybody who knows why... (3 Replies)
i wrote handler for sigsegv such that i can allocate memory for a variable to which
sigsegv generated for illlegal acces of memory.
my code is
#include <signal.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
char *j;
void segv_handler(int dummy)
{
j=(char *)malloc(10);
... (4 Replies)
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... (0 Replies)
Hi,
Kindly help me with your valid suggestions to solve the below problem:
"How to override the default paper size received by a print job. Ex. The output file is generated with a default paper size of 11x17 and we need to print on 11x14 paper. When printing this file from HP Unix, is there... (4 Replies)
Dear all,
I used debugger from C++ and these are the message I got:
Program received signal SIGSEGV, Segmentation fault.
0x00323fc0 in free () from /lib/tls/libc.so.6
(gdb) info s
#0 0x00323fc0 in free () from /lib/tls/libc.so.6
#1 0x00794fa1 in operator delete () from... (5 Replies)
I ran degugger in C++ and the followings are the message I got:
Program received signal SIGABRT, Aborted.
0x002a57a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) info s
#0 0x002a57a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x002e97f5 in raise () from /lib/tls/libc.so.6... (1 Reply)