logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Powers" <mpow...@appsecinc.com>
Subject RE: AIX segfault
Date Fri, 29 Jun 2007 21:59:57 GMT
Sorry, looks like I jumped the gun and didn't rtfemail completely. I ran
"make check" on aprutil 1.2.8 and did get a segfault, here is the output of
that group of tests:

APR Queue Test

Initializing the context                                    OK
test stats 3 consumers (rate 400/sec) 4 producers (rate 300/sec) queue size
100 sleep 30
Initializing the queue                                      OK
Starting consumers                                          OK
1800    producer intr
1286    producer intr
Terminating queue                                           OK
Waiting for threads to exit
                                1286    producer: queue terminated APR_EOF
772     consumer:queue terminated APR_EOF
1800    producer: queue terminated APR_EOF
515     consumer:queue terminated APR_EOF
258     consumer:queue terminated APR_EOF
1029    producer: queue terminated APR_EOF
1543    producer: queue terminated APR_EOF
PASS:  UTF-8 -> UTF-8
/bin/sh[2]: 1257642 Segmentation fault
Usage: ./dbd driver-name [params]
make[1]: Leaving directory `/home/mpowers/AIX-APR/apr-util-1.2.8/test'

Is that where you expected it?

Sorry for the earlier confusion and thank you for your continuing help. I
will post a message about this on the APR mailing list.


-----Original Message-----
From: log4cxx-user-return-2061-mpowers=appsecinc.com@logging.apache.org
On Behalf Of Curt Arnold
Sent: 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 possibly
> causing trouble.

ISO-8859-1 would be a very common encoding for any western european  
language (which includes English).  See http://en.wikipedia.org/wiki/ 
Iso-8859-1.  On a western european unix, the character set is almost  
always going to be US-ASCII, ISO-8859-1 or UTF-8.  UTF-8 can encode  
all of the Unicode character spec, US-ASCII is the first 128  
characters in unicode and ISO-8859-1 is the first 256.

> "3) Download the current APR and APR-util and run "make check" on apr-
> util. "
> bash-3.00$ make check
> (cd test && make check)
> make[1]: Entering directory `/home/mpowers/AIX-APR/apr-1.2.9/test'
> for prog in testlockperf testmutexscope testall ; do \
>                 ./$prog; \
>                 if test $? = 255; then \
>                         echo "$prog failed"; \
>                         break; \
>                 fi; \
>         done

Try running "make check" on apr-util and skip "make check" on apr  
itself.  apr-xlate is in apr-util and the apr-util unit tests should  
indirectly call iconv_open.

> "4) Would appreciate you keeping the list advised of this one."
> Done!
> Thanks,
> Marshall Powers

View raw message