Bug#786590: dwb: segfaults with libwebkitgtk-3.0-0 2.4.9-1

2016-01-03 Thread Oleg Kostyuchenko
Hi everyone who encountered this bug on Debian,

I have performed some shallow debugging after I encountered these dwb crashes 
myself (Debian stretch x86-64, webkitgtk 2.4.9-3, dwb built from the most 
recent git snapshot).

At the first glance, the culprit is dwb (namely adblock.c), not webkitgtk. As a 
temporary solution, you may disable adblocker by setting the option "adblocker" 
to false (or just :set adblocker false) - that should fix the constant crashes 
at every page. (Of course it's better to run dwb on a clean session or use -R 
option from the beginning, otherwise dwb will try to restore the session and 
the crash will hit you before you ever have a chance to disable the adblocker).

The segfault originates from the function "adblock_apply_element_hider" in 
adblock.c: due to some reason, one of the elements of the list 
VIEW(gl)->status->styles (a local variable) is a corrupted pointer; when the 
function attempts to apply WEBKIT_DOM_NODE typecast on it, this leads to a 
segfault from a GObject typecasting internal. No idea yet who is responsible 
for corrupting the pointers (adblocker or maybe webkit); I'll try to examine 
the logic of adblock.c a bit later.

By the way, dwb source distribution has a primitive backtrace script, 
tools/backtrace.sh; you will probably want to attach its output to the bug 
report.


Thanks,
Oleg



Bug#786590: dwb: segfaults with libwebkitgtk-3.0-0 2.4.9-1

2015-06-16 Thread Antoine Amarilli
Package: dwb
Version: 20150419git-1
Followup-For: Bug #786590

I can reproduce this bug with a later version of dwb and the same version of
libwebkitgtk. To make dwb segfault, it suffices to run it and press the keys
O, a, enter, d.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'experimental'), (600, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dwb depends on:
ii  libc6   2.19-18
ii  libcairo2   1.14.2-2
ii  libgdk-pixbuf2.0-0  2.31.4-2
ii  libglib2.0-02.44.1-1
ii  libgnutls-deb0-28   3.3.15-6
ii  libgtk-3-0  3.14.13-1
ii  libjavascriptcoregtk-3.0-0  2.4.9-1
ii  libpango-1.0-0  1.36.8-3
ii  libsecret-1-0   0.18.2-1
ii  libsoup2.4-12.50.0-2
ii  libwebkitgtk-3.0-0  2.4.9-1
ii  libx11-62:1.6.3-1

Versions of packages dwb recommends:
ii  wget   1.16.3-2+b2
ii  xterm  318-2

dwb suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#786590: dwb: segfaults with libwebkitgtk-3.0-0 2.4.9-1

2015-05-23 Thread Gian Piero Carrubba
Package: dwb
Version: 20150419git-1
Severity: normal

Hi,

not sure this report belongs here or to the webkitgtk package, please
reassign as appropriate.

After having upgraded libwebkitgtk from version 2.4.8-2 to 2.4.9-1, dwb
segfaults almost at everything.

Program received signal SIGSEGV, Segmentation fault.
0x7320f540 in g_type_check_instance_cast () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0

Downgrading libwebkitgtk-3.0-0:amd64 libwebkitgtk-3.0-common:amd64 and
libjavascriptcoregtk-3.0-0:amd64 to version 2.4.8-2 fixes the issue.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages dwb depends on:
ii  libc6   2.19-18
ii  libcairo2   1.14.2-2
ii  libgdk-pixbuf2.0-0  2.31.4-1
ii  libglib2.0-02.44.1-1
ii  libgnutls-deb0-28   3.3.15-2
ii  libgtk-3-0  3.14.5-1
ii  libjavascriptcoregtk-3.0-0  2.4.9-1
ii  libpango-1.0-0  1.36.8-3
ii  libsecret-1-0   0.18.2-1
ii  libsoup2.4-12.48.0-1
ii  libwebkitgtk-3.0-0  2.4.9-1
ii  libx11-62:1.6.3-1

Versions of packages dwb recommends:
ii  wget   1.16.3-2
ii  xterm  318-2

dwb suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#786590: dwb: segfaults with libwebkitgtk-3.0-0 2.4.9-1

2015-05-23 Thread Sebastian Ramacher
Hi

On 2015-05-23 10:55:19, Gian Piero Carrubba wrote:
 Package: dwb
 Version: 20150419git-1
 Severity: normal
 
 Hi,
 
 not sure this report belongs here or to the webkitgtk package, please
 reassign as appropriate.
 
 After having upgraded libwebkitgtk from version 2.4.8-2 to 2.4.9-1, dwb
 segfaults almost at everything.
 
 Program received signal SIGSEGV, Segmentation fault.
 0x7320f540 in g_type_check_instance_cast () from
 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
 
 Downgrading libwebkitgtk-3.0-0:amd64 libwebkitgtk-3.0-common:amd64 and
 libjavascriptcoregtk-3.0-0:amd64 to version 2.4.8-2 fixes the issue.

Does this also happen with other webkitgtk based browesers?

Cheers
-- 
Sebastian Ramacher


signature.asc
Description: Digital signature


Bug#786590: dwb: segfaults with libwebkitgtk-3.0-0 2.4.9-1

2015-05-23 Thread Gian Piero Carrubba

* [Sat, May 23, 2015 at 05:34:14PM +0200] Sebastian Ramacher:

Does this also happen with other webkitgtk based browesers?


Hi Sebastian,

as far as I can see the only other browser depending on 
libwebkitgtk-3.0-0 is xombrero, and I can not reproduce the issue with 
it.


Ciao,
Gian Piero.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org