Bugs item #1579, was opened at 2010-09-04 20:55
Status: Open
Priority: 3
Submitted By: Björn Nilsson (ewook)
Assigned to: Nobody (None)
Summary: OpenVAS scanner 3.1.0 bug with gpgme "1.2" on Ubuntu 10.04 
Architecture: 32 Bit
Resolution: None
Severity: blocker
Version: v3.0.1
Component: openvas-scanner
Operating System: Linux
Product: OpenVAS
Hardware: Other
URL: 


Initial Comment:
Description:    Ubuntu 10.04.1 LTS
Used:
http://wald.intevation.org/frs/download.php/767/openvas-libraries-3.1.2.tar.gz
http://wald.intevation.org/frs/download.php/754/openvas-scanner-3.1.0.tar.gz
http://wald.intevation.org/frs/download.php/757/openvas-client-3.0.1.tar.gz
--
Configures and builds ok (deps ok), all running ok until I did a 
openvas-nvt-sync,
now openvasd bails out with:

Loading the OpenVAS plugins...[23837]() gpgme_new failed: User defined source 
1/Unknown error code
Segmentation fault
--
strace openvasd (part of):
stat64("/usr/local/lib/openvas/plugins/gb_ubuntu_USN_485_1.nasl", 
{st_mode=S_IFREG|0644, st_size=10581, ...}) = 0
stat64("/usr/local/lib/openvas/plugins/freebsd_ImageMagick2.nasl", 
{st_mode=S_IFREG|0644, st_size=2976, ...}) = 0
getdents64(4, /* 0 entries */, 32768)   = 0
close(4)                                = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb76f9000
write(1, "Loading the OpenVAS plugins...", 30Loading the OpenVAS plugins...) = 
30
stat64("/usr/local/lib/openvas/plugins/freebsd_ImageMagick2.nasl", 
{st_mode=S_IFREG|0644, st_size=2976, ...}) = 0
stat64("/usr/local/var/cache/openvas/freebsd_ImageMagick2.nasl.desc", 
0xbff67254) = -1 ENOENT (No such file or directory)
pipe([4, 5])                            = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7225728) = 23983
waitpid(23983, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 23983
--- SIGCHLD (Child exited) @ 0 (0) ---
close(5)                                = 0
read(4, "gpg (GnuPG) 1.4.10\nCopyright (C)"..., 79) = 79
close(4)                                = 0
pipe([4, 5])                            = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7225728) = 23985
waitpid(23985, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 23985
--- SIGCHLD (Child exited) @ 0 (0) ---
close(5)                                = 0
read(4, "", 79)                         = 0
close(4)                                = 0
pipe([4, 5])                            = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7225728) = 23987
waitpid(23987, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 23987
--- SIGCHLD (Child exited) @ 0 (0) ---
close(5)                                = 0
read(4, "", 79)                         = 0
close(4)                                = 0
pipe([4, 5])                            = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7225728) = 23989
waitpid(23989, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 23989
--- SIGCHLD (Child exited) @ 0 (0) ---
close(5)                                = 0
read(4, "", 1023)                       = 0
close(4)                                = 0
getpid()                                = 23982
write(2, "[23982]() gpgme_new failed: User"..., 69[23982]() gpgme_new failed: 
User defined source 1/Unknown error code
) = 69
stat64("/usr/local/lib/openvas/plugins/freebsd_ImageMagick2.nasl", 
{st_mode=S_IFREG|0644, st_size=2976, ...}) = 0
open("/usr/local/lib/openvas/plugins/freebsd_ImageMagick2.nasl", 
O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=2976, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb76f8000
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "#\n#VID b6cad7f3-fb59-11d8-9837-0"..., 4096) = 2976
close(4)                                = 0
munmap(0xb76f8000, 4096)                = 0
stat64("/usr/local/lib/openvas/plugins/freebsd_ImageMagick2.nasl.asc", 
{st_mode=S_IFREG|0644, st_size=197, ...}) = 0
open("/usr/local/lib/openvas/plugins/freebsd_ImageMagick2.nasl.asc", 
O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=197, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb76f8000
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "-----BEGIN PGP SIGNATURE-----\nVe"..., 4096) = 197
close(4)                                = 0
munmap(0xb76f8000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
--
in /var/log/messages:

Sep  4 20:39:23 lnx kernel: [87299.260669] openvasd[23837]: segfault at 3c ip 
b77d1997 sp bf954b20 error 4 in libgpgme.so.11.7.0[b77b3000+2d000]
--
apt-cache show libgpgme11
Package: libgpgme11
Priority: optional
Section: libs
Installed-Size: 692
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Original-Maintainer: Jose Carlos Garcia Sogo <js...@debian.org>
Architecture: i386
Source: gpgme1.0
Version: 1.2.0-1.2ubuntu1
Depends: libc6 (>= 2.8), libgpg-error0 (>= 1.6), libpth20, gnupg (>= 1.4.6-2) | 
gnupg2 (>= 2.0.4)
Suggests: gpgsm (>= 1.9.6)
Filename: pool/main/g/gpgme1.0/libgpgme11_1.2.0-1.2ubuntu1_i386.deb
Size: 317520
MD5sum: d5e9941004872808abfe0b88bac8b7b9
SHA1: 73f0cc385df664ae85063dc9999c46621ea3e57e
SHA256: c50aaab18c3bca1ebf2a951bb03336ce2719ecb7d7feb284bb80f4da748121a0
Description: GPGME - GnuPG Made Easy
 GPGME is a wrapper library which provides a C API to access some of the
 GnuPG functions, such as encrypt, decrypt, sign, verify, ...
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-desktop, mail-server, kubuntu-desktop, kubuntu-netbook, 
edubuntu-desktop, edubuntu-desktop-kde, ubuntu-netbook

Also - versions in menu here does not reflect current versions.


----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=220&aid=1579&group_id=29
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/mailman/listinfo/openvas-devel

Reply via email to