[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#557526: marked as done (apr: segfault in tests on lenny)



Your message dated Sun, 22 Nov 2009 19:17:58 +0000
with message-id <[🔎] 1258917478.2426.36.camel@wintermute>
and subject line Re: Bug#557526: apr: segfault in tests on lenny
has caused the Debian Bug report #557526,
regarding apr: segfault in tests on lenny
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
557526: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557526
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apr
Version: 1.3.8-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When trying to build apr on lenny, I ran into the following:

cd build-i486-linux-gnu/test && ( ulimit -S -s 8192 ; ./testall -v testatomic)
testatomic          : \Line 280: Failed creating threads
//bin/bash: line 1:  7441 Segmentation fault      ./testall -v testatomic

backtrace from gdb:

#0  0xb7e94aa7 in pthread_join () from /lib/i686/cmov/libpthread.so.0
#1  0xb7f17f9c in apr_thread_join ()
   from /home/sam/src/apache2/apr-1.3.8/build-i486-linux-gnu/.libs/libapr-1.so.0
#2  0x08066e81 in test_atomics_threaded ()
#3  0x0804cf50 in abts_run_test ()
#4  0x080678da in testatomic ()
#5  0x0804d8ea in main ()

Not sure why there isn't any source information.

- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (430, 'testing'), (420, 'unstable'), (410, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAksJaf0ACgkQshl/216gEHiFDQCgnnD1YYY+akagV/ramumdE1WW
+SwAoIYh8HCxRE7kqvscnyuvecTUS1kH
=z0e3
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
On Sun, 2009-11-22 at 19:04 +0100, Stefan Fritsch wrote:
> On Sunday 22 November 2009, Sam Morris wrote:
> 
> What architecture are you using

Sorry about that. Ran reportbug on my desktop, not the server. :)
> 
> This says i386:
> 
> > cd build-i486-linux-gnu/test && ( ulimit -S -s 8192 ; ./testall -v
> >  testatomic) testatomic          : \Line 280: Failed creating
> >  threads
> > //bin/bash: line 1:  7441 Segmentation fault      ./testall -v
> >  testatomic
> 
> 
> But this says amd64:
> 
> > -- System Information:
> > Debian Release: squeeze/sid
> >   APT prefers testing
> >   APT policy: (430, 'testing'), (420, 'unstable'), (410,
> >  'experimental') Architecture: amd64 (x86_64)
> 
> In any case: Do you have some virtual memory limit per process set (I 
> think this is often the case on vservers)? If yes, try changing the 
> 8192 above to 512.

Good suggestion. After increasing the virtual memory resource limit
(with ulimit -v) the tests passed just fine. Thanks!
> 
> If you have a per user process limit, you may want to increase that, 
> too.


-- 
Sam Morris
https://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: