cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Dayly build OpenSuSE 11.1 test #537 SIGBUS

From: Guenter <lists_at_gknw.net>
Date: Tue, 20 Oct 2009 02:22:44 +0200

Hi Yang,
Yang Tse schrieb:
> Dayly build with description "OpenSuSE 11.1 Linux 2.6.27.29 x86_64 -
> gcc 4.3.2" and "CONFOPTS = --enable-debug --enable-ldaps --without-ssl
> --with-gnutls" fails on test #537 with a "Bus error".
>
> Would it be possible to gdb the coredump to pinpoint where is the
> misaligned memory access taking place?
Program received signal SIGBUS, Bus error.
0x00007ffff68c4b82 in ?? () from /lib64/libgcrypt.so.11
(gdb) bt
#0 0x00007ffff68c4b82 in ?? () from /lib64/libgcrypt.so.11
#1 0x00007ffff68c5886 in ?? () from /lib64/libgcrypt.so.11
#2 0x00007ffff68c5caf in ?? () from /lib64/libgcrypt.so.11
#3 0x00007ffff70b8067 in wrap_gcry_rnd_init () from
/usr/lib64/libgnutls.so.26
#4 0x00007ffff70b610c in _gnutls_rnd_init () from
/usr/lib64/libgnutls.so.26
#5 0x00007ffff70a6e36 in gnutls_global_init () from
/usr/lib64/libgnutls.so.26
#6 0x0000000000438c02 in Curl_gtls_init () at gtls.c:100
#7 0x00000000004125af in Curl_ssl_init () at sslgen.c:163
#8 0x0000000000409a58 in curl_global_init (flags=3) at easy.c:256
#9 0x0000000000406792 in test (URL=0x7fffffffe09b
"http://127.0.0.1:8990/537") at lib537.c:477
#10 0x0000000000406a56 in main (argc=2, argv=0x7fffffffdba8) at first.c:95

Gün.

# ./runtests.pl -g 537
********* System characteristics ********
* curl 7.19.7-20091019 (x86_64-suse-linux-gnu)
* libcurl/7.19.7-20091019 GnuTLS/2.8.3 zlib/1.2.3 libidn/1.10 libssh2/0.19.0-20080814
* Features: Debug TrackMemory IDN IPv6 Largefile NTLM SSL libz
* Host: linux-nt36
* System: Linux linux-nt36 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59 +0200 x86_64 x86_64 x86_64 GNU/Linux
* Server SSL: ON
* libcurl SSL: ON
* debug build: ON
* track memory: ON
* valgrind: OFF
* HTTP IPv6 ON
* FTP IPv6 ON
* HTTP port: 8990
* FTP port: 8992
* FTP port 2: 8995
* FTPS port: 8993
* HTTPS port: 8991
* HTTP IPv6 port: 8994
* FTP IPv6 port: 8996
* TFTP port: 8997
* SCP/SFTP port: 8999
* SOCKS port: 9000
* SSL library: GnuTLS
* Libtool lib: OFF
*****************************************
test 537...[HTTP GET with a HUGE number of file descriptors open]
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>...
Argument list to give program being debugged when it is started is "http://127.0.0.1:8990/537".
(gdb) run
Starting program: /home/hacki/autobuilds/curl-snapshot/curl-7.19.7-20091019/tests/libtest/lib537 http://127.0.0.1:8990/537
[Thread debugging using libthread_db enabled]
URL: http://127.0.0.1:8990/537
initial soft limit: 1024
initial hard limit: 8192
raising soft limit up to hard limit
current soft limit: 8192
current hard limit: 8192
allocating memchunk 1048576 byte array
initializing memchunk array
allocating array for 8182 file descriptors
initializing fd array
trying to open 8182 file descriptors
dup() attempt 8176 failed
fds system limit seems close to 8176
closing 10 file descriptors
shrinking array for 8166 file descriptors
8166 file descriptors open

Program received signal SIGBUS, Bus error.
0x00007ffff68c4b82 in ?? () from /lib64/libgcrypt.so.11
(gdb) bt
#0 0x00007ffff68c4b82 in ?? () from /lib64/libgcrypt.so.11
#1 0x00007ffff68c5886 in ?? () from /lib64/libgcrypt.so.11
#2 0x00007ffff68c5caf in ?? () from /lib64/libgcrypt.so.11
#3 0x00007ffff70b8067 in wrap_gcry_rnd_init () from /usr/lib64/libgnutls.so.26
#4 0x00007ffff70b610c in _gnutls_rnd_init () from /usr/lib64/libgnutls.so.26
#5 0x00007ffff70a6e36 in gnutls_global_init () from /usr/lib64/libgnutls.so.26
#6 0x0000000000438c02 in Curl_gtls_init () at gtls.c:100
#7 0x00000000004125af in Curl_ssl_init () at sslgen.c:163
#8 0x0000000000409a58 in curl_global_init (flags=3) at easy.c:256
#9 0x0000000000406792 in test (URL=0x7fffffffe09b "http://127.0.0.1:8990/537") at lib537.c:477
#10 0x0000000000406a56 in main (argc=2, argv=0x7fffffffdba8) at first.c:95

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-20