t: 2007-Jun-29 Fri 4:35 PM
To: Log4CXX User
Subject: Re: AIX segfault
On Jun 29, 2007, at 10:31 AM, Marshall Powers wrote:
>
> I did some research and it looks like ISO8859-1 is another name for
> some
> standard US English encoding. I don't know if this "en_US" is
On Jun 29, 2007, at 10:31 AM, Marshall Powers wrote:
I did some research and it looks like ISO8859-1 is another name for
some
standard US English encoding. I don't know if this "en_US" is possibly
causing trouble.
ISO-8859-1 would be a very common encoding for any western european
langu
I noticed that the program was crashing in iconv_open("UTF-8", "ISO8859-1").
Out of curiosity, I tried calling that function from my own program, before
"new RollingFileAppender()", to see if it was purely a problem with my IBM
iconv. The segfault vanished. Here is a revised program:
_main.cpp_
#
<--snip-->
"The stack trace does look iconv releated, but unlike Anand's, it
doesn't appear that apr_xlate_open is returning null, but that
iconv_open is segfaulting on a request for a ISO8859-1 to UTF-8
transcoder which would seem to be an AIX bug. The "ISO8859-1" would
make it appear lik
On Jun 28, 2007, at 1:52 PM, Marshall Powers wrote:
(gdb) set args 1
(gdb) run
Starting program: /home/mpowers/log4cxx_smart/testptr 1
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0x090523ec in malloc_y () from /usr/lib/libc.a(shr_64.o)
(gdb) bt
#
On 6/29/07, Marshall Powers <[EMAIL PROTECTED]> wrote:
I'm getting a segfault on 64-bit AIX 5.3. I'm using static libraries of
log4cxx, apr, and aprutil. Here is a test program and Makefile I am using
that causes the crash:
_*main.cpp*_
#include
#include
#include
using namespace l
I'm getting a segfault on 64-bit AIX 5.3. I'm using static libraries of
log4cxx, apr, and aprutil. Here is a test program and Makefile I am using
that causes the crash:
_main.cpp_
#include
#include
#include
using namespace log4cxx;
using namespace log4cxx::rolling;
int main(in