Package: w3mmee
Version: 0.3.p24.20-3
Severity: normal

Hello,

If I try to run w3mmee with:

w3mmee https://vpac.org/

It hangs for ever at the following prompt:

https://vpac.org/[6843]: Opening socket...

If I run it via strace, one of the subprocess segfaults. The strace
listing gave no real reason why.

It doesn't seem to matter if the CA certificate has been setup or not (I
configured w3mmee to use /home/brian/.certificates to see if it would
help - it didn't), it still hangs either way (after asking if you want
to accept the certificate or not).

Other browsers:

* w3m - no problems

* firefox - no problems

* lynx - complains with a warning, but seems to be complaining for all
  https websites I tested (SSL error:Can't find common name in
  certificate-Continue? (y)).  Then it works fine. So I suspect a lynx
  issue as opposed to an issue with the server.

Even if the certificate is not valid (I think it is), w3mmee should
never segfault as a result.

Thanks.

strace:

close(3)                                = 0
close(3)                                = -1 EBADF (Bad file descriptor)
munmap(0xb7fc0000, 4096)                = 0
rt_sigaction(SIGPIPE, {0x80752c0, [PIPE], SA_RESTART}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGHUP, {0x80752c0, [HUP], SA_RESTART}, {0x80a6440, [HUP],
SA_RESTART}, 8) = 0
rt_sigaction(SIGINT, {SIG_IGN}, {0x80a6440, [INT], SA_RESTART}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {0x80a6440, [QUIT], SA_RESTART}, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN}, {0x80a6440, [TERM], SA_RESTART}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {0x80752c0, [PIPE], SA_RESTART}, 8) = 0
close(9)                                = 0
close(6)                                = 0
close(4)                                = 0
dup2(8, 0)                              = 0
dup2(7, 1)                              = 1
close(8)                                = 0
close(7)                                = 0
fcntl64(5, F_GETFL)                     = 0x1 (flags O_WRONLY)
fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fc0000
_llseek(5, 0, 0xbf8265ac, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
rt_sigaction(SIGPIPE, {0x80752c0, [PIPE], SA_RESTART}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGHUP, {0x80752c0, [HUP], SA_RESTART}, {0x80752c0, [HUP],
SA_RESTART}, 8) = 0
write(5, "0 Opening socket...\n", 20)   = 20
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
...
open("/home/brian/.certificates", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0600, st_size=5163, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fb2000
read(4, "-----BEGIN CERTIFICATE-----\nMIIH"..., 4096) = 4096
read(4, "BAMCAAcwOwYJYIZIAYb4QgENBC4WLEFQ"..., 4096) = 1067
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0xb7fb2000, 4096)                = 0
open("/usr/lib/ssl/cert.pem", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/dev/urandom", O_RDONLY|O_NONBLOCK|O_NOCTTY) = 4
fstat64(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 10) = 1
read(4, "\370\333\256\241\254\203&\227\254\203\277\263\276\337\345"...,
32) = 32
close(4)                                = 0
getuid32()                              = 1000
time(NULL)                              = 1181865283
time(NULL)                              = 1181865283
brk(0x825e000)                          = 0x825e000
brk(0x8261000)                          = 0x8261000
time(NULL)                              = 1181865283
write(3, "\200d\1\3\1\0K\0\0\0\20\0\0009\0\0008\0\0005\0\0\26\0\0"...,
102) = 102
read(3, "\26\3\1\0J\2\0", 7) = 7
time(NULL)                              = 1181865283
time(NULL)                              = 1181865283
read(3, "\0F\3\1Fq\325C\234N\326\235\271\255\20\314=\324\317u\332"...,
72) = 72
read(3, "\26\3\1\7U", 5)                = 5
read(3, "\v\0\7Q\0\7N\0\7K0\202\7G0\202\5/\240\3\2\1\2\2\2\2\031"...,
1877) = 1877
time([1181865283])                      = 1181865283
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=785, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=785, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fb2000
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"...,
4096) = 785
close(4)                                = 0
munmap(0xb7fb2000, 4096)                = 0
time([1181865283])                      = 1181865283
time([1181865283])                      = 1181865283
time([1181865283])                      = 1181865283
read(3, "\26\3\1\2\r", 5)               = 5
read(3, "\f\0\2\t\0\200\346\226\235=I[\343,|\361\200\303\275\324"...,
525) = 525
read(3, "\26\3\1\0\4", 5)               = 5
read(3, "\16\0\0\0", 4)                 = 4
time([1181865283])                      = 1181865283
write(3, "\26\3\1\0\206\20\0\0\202\0\200.5\275\366\6\366o\354\26"...,
198) = 198
read(3, "\24\3\1\0\1", 5) = 5
read(3, "\1", 1)                        = 1
read(3, "\26\3\1\0000", 5)              = 5
read(3, "\24\5+\254e^\314Yb\346\273\233h3\17\304\r\214\272\265t"..., 48)
= 48
--- SIGSEGV (Segmentation fault) @ 0 (0) ---



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages w3mmee depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgc1c2                    1:6.8-1      conservative garbage collector for
ii  libgpmg1                    1.19.6-25    General Purpose Mouse - shared lib
ii  libmoe1.5                   1.5.7-1      library to handle multiple octets 
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  libssl0.9.7                 0.9.7k-3.1   SSL shared libraries

Versions of packages w3mmee recommends:
ii  ca-certificates               20070303   Common CA Certificates PEM files

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to