Debian Bug report logs - #448851
w3m-img: segfault

version graph

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

Reported by: "Trent W\. Buck" <trentbuck@gmail.com>

Date: Thu, 1 Nov 2007 12:33:04 UTC

Severity: important

Tags: unreproducible

Found in version w3m/0.5.1-5.1

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#448851; Package w3m-img. (full text, mbox, link).


Acknowledgement sent to "Trent W\. Buck" <trentbuck@gmail.com>:
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: "Trent W\. Buck" <trentbuck@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: w3m-img: segfault
Date: Thu, 01 Nov 2007 23:31:38 +1100
[Message part 1 (text/plain, inline)]
Package: w3m-img
Version: 0.5.1-5.1+b1
Severity: normal

I do most of my work from within a persistent Screen session, and I
regularly kill off urxvt and Xorg.  This means that after the first
couple of days, WINDOWID will be set (within the screen session) to a
window that no longer exists.

Normally this does not bother me; w3m-img simply stops working (images
aren't displayed inline).  Today, it appeared to cause a segfault.

I invoked w3m thusly:

    w3m http://lists.gnu.org/mailman/listinfo/screen-users

It segfaulted -- not immediately, but a second or so after displaying
the text.  This is consistent with the time it would take w3m to fetch
the inline image(s).  WINDOWID was set to 8388612.  Re-running the
above command caused w3m to segfault every time, after the
aforementioned short delay.  w3m managed to print

    4/4 images loaded

Making the terminal smaller (fewer COLUMNS and ROWS), I got

    3/3 images loaded

instead.  Making the terminal larger, w3m printed "HTTP/1.1 200 OK",
and the entire screen was cleared, printing "Aborted" in the top left
and the shell prompt on the next line.

Suspecting w3m-img was at fault, I tried

    env -u WINDOWID w3m http://lists.gnu.org/mailman/listinfo/screen-users

This did not result in a segfault.  Furthermore, it displayed the
images inline onscreen!

Attached are the output of `env' and `xprop' (after clicking on the
urxvt window).  I'm not sure WHY it's segfaulting; hopefully I've
provided enough information.  I am running a custom compilation of
urxvt from CVS:

$ urxvt -h
rxvt-unicode (urxvt) v8.3 - released: 2007-08-01
options: xft,styles,combining,blink,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,frills,selectionscrolling,wheel,cursorBlink,pointerBlank,scrollbars=NONE
Usage: urxvt [-help] [--help]
 [-display string] [-tn string] [-geometry geometry] [-C] [-iconic] [-/+rv]
 [-/+ls] [-/+j] [-/+ss] [-/+ptab] [-/+si] [-/+sk] [-/+sw] [-/+ut] [-/+vb]
 [-/+tcw] [-/+insecure] [-/+uc] [-/+bc] [-/+pb] [-bg color] [-fg color]
 [-hc color] [-cr color] [-pr color] [-pr2 color] [-bd color] [-fn fontname]
 [-fb fontname] [-fi fontname] [-fbi fontname] [-/+is] [-name string]
 [-title string] [-n string] [-sl number] [-embed windowid] [-depth number]
 [-/+override-redirect] [-pty-fd fileno] [-/+hold] [-w number] [-b number]
 [-/+bl] [-/+sbg] [-lsp number] [-mod modifier] [-/+ssc] [-/+ssr]
 [-xrm string] [-e command arg ...]
$ ls -hl `type -p urxvt`
-rwxr-xr-x 1 twb users 2.5M 2007-10-06 01:42 /home/twb/.bin-x86_64-unknown-linux-gnu/urxvt

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages w3m-img depends on:
ii  libc6                       2.6.1-6      GNU C Library: Shared libraries
ii  libgc1c2                    1:6.8-1.1    conservative garbage collector for
ii  libgdk-pixbuf2              0.22.0-11    The GdkPixBuf image library, gtk+ 
ii  libglib1.2ldbl              1.2.10-19    The GLib library of C routines
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  w3m                         0.5.1-5.1+b1 WWW browsable pager with excellent

w3m-img recommends no packages.

-- no debconf information
[env.txt (application/octet-stream, attachment)]
[xprop.txt (text/x-pascal, attachment)]
[xwininfo.txt (text/plain, attachment)]

Severity set to 'important' from 'normal' Request was from d+deb@vdr.jp to control@bugs.debian.org. (Wed, 28 Jul 2010 07:15:05 GMT) (full text, mbox, link).


Added tag(s) unreproducible. Request was from d+deb@vdr.jp to control@bugs.debian.org. (Thu, 12 Aug 2010 03:42:03 GMT) (full text, mbox, link).


Reply sent to d+deb@vdr.jp:
You have taken responsibility. (Thu, 12 Aug 2010 03:42:05 GMT) (full text, mbox, link).


Notification sent to "Trent W\. Buck" <trentbuck@gmail.com>:
Bug acknowledged by developer. (Thu, 12 Aug 2010 03:42:05 GMT) (full text, mbox, link).


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

From: d+deb@vdr.jp
To: 448851-done@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: w3m-img: segfault
Date: Thu, 12 Aug 2010 12:39:34 +0900
[Message part 1 (text/plain, inline)]
tags 448851 + unreproducible
thanks

Upstream maintainer and I could not reproduce this problem.
So, I am afraid to close this 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)]

Information forwarded to debian-bugs-dist@lists.debian.org, Tatsuya Kinoshita <tats@debian.org>:
Bug#448851; Package w3m-img. (Thu, 12 Aug 2010 03:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to trentbuck@gmail.com:
Extra info received and forwarded to list. Copy sent to Tatsuya Kinoshita <tats@debian.org>. (Thu, 12 Aug 2010 03:57:03 GMT) (full text, mbox, link).


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

From: trentbuck@gmail.com
To: d+deb@vdr.jp
Cc: 448851@bugs.debian.org
Subject: Re: w3m-img: segfault
Date: Thu, 12 Aug 2010 13:54:56 +1000
d+deb@vdr.jp wrote:
> tags 448851 + unreproducible
> thanks
> 
> Upstream maintainer and I could not reproduce this problem.
> So, I am afraid to close this bug.
> If this problem still exists, please reopen it.

Thank you for investigating.  I don't run X anymore, so if the issue
is still there, I can't reproduce it.

(Now I run w3m in screen in fbcon, telling w3m that TERM=jfbterm so it
will display images inline.)




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 09 Sep 2010 07:34:58 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:10:06 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.