Debian Bug report logs - #369836
w3m: Bizzare intermittent freezes on startup

version graph

Package: w3m; Maintainer for w3m is Tatsuya Kinoshita <tats@debian.org>; Source for w3m is src:w3m (PTS, buildd, popcon).

Reported by: Ambrose Li <ambrose.li@cccgt.org>

Date: Thu, 1 Jun 2006 16:03:40 UTC

Severity: normal

Found in version w3m/0.5.1-4

Done: d+deb@vdr.jp

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#369836; Package w3m. (full text, mbox, link).


Acknowledgement sent to Ambrose Li <ambrose.li@cccgt.org>:
New Bug report received and forwarded. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ambrose Li <ambrose.li@cccgt.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: w3m: Bizzare intermittent freezes on startup
Date: Thu, 01 Jun 2006 12:01:40 -0400
Package: w3m
Version: 0.5.1-4
Severity: normal


w3m sometimes hangs on startup, even without supplying any arguments and not feeding it any input. Example:

$ gdb w3m
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/bin/w3m
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 24892)]
(no debugging symbols found)

Program received signal SIGINT, Interrupt.
[Switching to Thread 16384 (LWP 24892)]
0x0045ae94 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb) bt
#0  0x0045ae94 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x00459d68 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0x0045c716 in __pthread_alt_lock () from /lib/libpthread.so.0
#3  0x0045928c in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x003fb5c6 in pthread_mutex_lock () from /lib/libc.so.6
#5  0x00197437 in GC_lock () from /usr/lib/libgc.so.1
#6  0x0019307e in GC_init () from /usr/lib/libgc.so.1
#7  0x08056bb4 in ?? ()
#8  0x0045c34e in __pthread_alt_unlock () from /lib/libpthread.so.0
#9  0x003443ce in __libc_start_main () from /lib/libc.so.6
#10 0x0804b531 in ?? ()
(gdb)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.28-ow1
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 (charmap=BIG5)

Versions of packages w3m depends on:
ii  libc6                         2.3.6-11   GNU C Library: Shared libraries
ii  libgc1c2                      1:6.7-1    conservative garbage collector for
ii  libgpmg1                      1.19.6-22  General Purpose Mouse - shared lib
ii  libncurses5                   5.5-2      Shared libraries for terminal hand
ii  libssl0.9.7                   0.9.7i-1   SSL shared libraries
ii  zlib1g                        1:1.2.3-11 compression library - runtime

Versions of packages w3m recommends:
ii  ca-certificates               20050804   Common CA Certificates PEM files

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#369836; Package w3m. (full text, mbox, link).


Acknowledgement sent to Karsten Schoelzel <kuser@gmx.de>:
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #10 received at 369836@bugs.debian.org (full text, mbox, reply):

From: Karsten Schoelzel <kuser@gmx.de>
To: Ambrose Li <ambrose.li@cccgt.org>, 369836@bugs.debian.org
Subject: Re: Bug#369836: w3m: Bizzare intermittent freezes on startup
Date: Thu, 1 Jun 2006 21:59:05 +0200
On Thu, Jun 01, 2006 at 12:01:40PM -0400, Ambrose Li wrote:
> Package: w3m
> Version: 0.5.1-4
> Severity: normal
> 
> 
> w3m sometimes hangs on startup, even without supplying any arguments and not feeding it any input. Example:
> 
> $ gdb w3m
...
> (gdb) bt
> #0  0x0045ae94 in __pthread_sigsuspend () from /lib/libpthread.so.0
> #1  0x00459d68 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
> #2  0x0045c716 in __pthread_alt_lock () from /lib/libpthread.so.0
> #3  0x0045928c in pthread_mutex_lock () from /lib/libpthread.so.0
> #4  0x003fb5c6 in pthread_mutex_lock () from /lib/libc.so.6
> #5  0x00197437 in GC_lock () from /usr/lib/libgc.so.1
> #6  0x0019307e in GC_init () from /usr/lib/libgc.so.1
> #7  0x08056bb4 in ?? ()
> #8  0x0045c34e in __pthread_alt_unlock () from /lib/libpthread.so.0
> #9  0x003443ce in __libc_start_main () from /lib/libc.so.6
> #10 0x0804b531 in ?? ()
> (gdb)
> 

Hi,

could you please build w3m with debugging symbols and try to recreate
the error. I suspect the same issue as in Debian Bug #352585. So you
could try this patch (already in CVS upstream) and see if it helps:
http://bugs.debian.org/cgi-bin/bugreport.cgi/15-remove-calls-to-GC-from-wrap_GC_warn_proc.patch?bug=352585;msg=15

Thanks,
-- 
Karsten Schölzel        | Email:  kuser@gmx.de
Väderleden 9 4:98       | Jabber: topox@jabber.ccc.de
97633 Luleå             | VoIP:   sip:5857712@sipgate.de
Sweden                  |         sip:708529@fwd.pulver.com
                        | Tel:    +4918015855857712



Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#369836; Package w3m. (full text, mbox, link).


Acknowledgement sent to Ambrose Li <ambrose.li@cccgt.org>:
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #15 received at 369836@bugs.debian.org (full text, mbox, reply):

From: Ambrose Li <ambrose.li@cccgt.org>
To: Karsten Schoelzel <kuser@gmx.de>
Cc: 369836@bugs.debian.org
Subject: Re: Bug#369836: w3m: Bizzare intermittent freezes on startup
Date: Fri, 2 Jun 2006 12:51:15 -0400
Hi

On Thu, Jun 01, 2006 at 09:59:05PM +0200, Karsten Schoelzel wrote:
> 
> could you please build w3m with debugging symbols and try to recreate
> the error. I suspect the same issue as in Debian Bug #352585. So you
> could try this patch (already in CVS upstream) and see if it helps:
> http://bugs.debian.org/cgi-bin/bugreport.cgi/15-remove-calls-to-GC-from-wrap_GC_warn_proc.patch?bug=352585;msg=15

I have downloaded the source and am trying to rebuild it, but I could
not get past configure. The "conftest" for checking for size of "long
long" freezes just like w3m freezes on my system:

$ gdb /tmp/test/x/w3m-0.5.1/conftest 27924
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

Attaching to program: /tmp/test/x/w3m-0.5.1/conftest, process 27924
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libgc.so.1...done.
Loaded symbols for /usr/lib/libgc.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 27924)]
Loaded symbols for /lib/libpthread.so.0
0x002d5e94 in __pthread_sigsuspend () from /lib/libpthread.so.0
(gdb)

This is getting strange... I'll see if I can find a way to get w3m to
build...

> Thanks,
> -- 
> Karsten Sch??lzel        | Email:  kuser@gmx.de
> V??derleden 9 4:98       | Jabber: topox@jabber.ccc.de
> 97633 Lule??             | VoIP:   sip:5857712@sipgate.de
> Sweden                  |         sip:708529@fwd.pulver.com
>                         | Tel:    +4918015855857712

-- 
Ambrose Li  <ambrose.li@cccgt.org>

Chinese Cultural Centre of Greater Toronto
+1 416 292 9293      http://www.cccgt.org/



Information forwarded to debian-bugs-dist@lists.debian.org, Fumitoshi UKAI <ukai@debian.or.jp>:
Bug#369836; Package w3m. (full text, mbox, link).


Acknowledgement sent to varg@theor.jinr.ru (Sheplyakov Alexei):
Extra info received and forwarded to list. Copy sent to Fumitoshi UKAI <ukai@debian.or.jp>. (full text, mbox, link).


Message #20 received at 369836@bugs.debian.org (full text, mbox, reply):

From: varg@theor.jinr.ru (Sheplyakov Alexei)
To: 369836@bugs.debian.org
Subject: patch did *not* help
Date: Fri, 9 Jun 2006 14:17:22 +0400
[Message part 1 (text/plain, inline)]
Hello!

On Thu, 01 Jun 2006 12:01:40 -0400 Ambrose Li wrote:

> w3m sometimes hangs on startup, even without supplying any arguments 
> and not feeding it any input.

w3m hangs on *every* startup on my system. :(

On Thu, 1 Jun 2006 21:59:05 +0200 Karsten Schoelzel wrote:

> So you
> could try this patch (already in CVS upstream) and see if it helps:
> http://bugs.debian.org/cgi-bin/bugreport.cgi/15-remove-calls-to-GC-from-wrap_GC_warn_proc.patch?bug=352585;msg=15

I've applied this patch and rebuilt w3m with debugging symbols. The
patch did not help. Here is a backtrace:

(gdb) bt
#0  0x290b3e94 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x290b2d68 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0x290b5716 in __pthread_alt_lock () from /lib/libpthread.so.0
#3  0x290b228c in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x290545b6 in pthread_mutex_lock () from /lib/libc.so.6
#5  0x28db33cd in GC_generic_lock (lock=0x28dbae4c) at pthread_support.c:1410
#6  0x28db341e in GC_lock () at pthread_support.c:1493
#7  0x28daf02e in GC_init () at misc.c:496
#8  0x080571f0 in main (argc=1, argv=0x59d702c4, envp=0x59d702cc) at main.c:385

> I suspect the same issue as in Debian Bug #352585.

I think this might be libgc1c2 bug, since

1) downgrading libgc1c2 to version 1:6.6-2 makes this error disappear.
2) rebuilding libgc1c2 (apt-get source libgc1c2; sudo apt-get build-dep
   libgc1c2; debuild -uc -us) fails at the `make check' stage.
3) there are other applications which work with libgc1c2 1:6.6-2 but
   fail with 1:6.7-1 (see #369608)

Best regards,
  Alexei.

-- 
All science is either physics or stamp collecting.

[signature.asc (application/pgp-signature, inline)]

Reply sent to d+deb@vdr.jp:
You have taken responsibility. (Mon, 26 Jul 2010 04:42:07 GMT) (full text, mbox, link).


Notification sent to Ambrose Li <ambrose.li@cccgt.org>:
Bug acknowledged by developer. (Mon, 26 Jul 2010 04:42:07 GMT) (full text, mbox, link).


Message #25 received at 369836-done@bugs.debian.org (full text, mbox, reply):

From: d+deb@vdr.jp
To: 369836-done@bugs.debian.org
Subject: Re: w3m: Bizzare intermittent freezes on startup
Date: Mon, 26 Jul 2010 13:39:26 +0900
[Message part 1 (text/plain, inline)]
> I think this might be libgc1c2 bug, since
...
> 3) there are other applications which work with libgc1c2 1:6.6-2 but
>    fail with 1:6.7-1 (see #369608)

It may be libgc's bug, #369608 is closed.
So, it may be ok to close this w3m's bug.
If this problem still exists, please reopen it.
-- 
Regards,
	dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 23 Aug 2010 07:33:15 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Jun 5 03:08:18 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.