GNU bug report logs - #26186
25.1; Emacs compiled with --with-xwidgets segfaults when I call "xwidget-webkit-browse-url"

Previous Next

Package: emacs;

Reported by: Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>

Date: Mon, 20 Mar 2017 06:07:02 UTC

Severity: normal

Merged with 26787, 27514

Found in versions 25.1, 25.2

To reply to this bug, email your comments to 26186 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#26186; Package emacs. (Mon, 20 Mar 2017 06:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 20 Mar 2017 06:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; Emacs compiled with --with-xwidgets segfaults when I call
 "xwidget-webkit-browse-url"
Date: Mon, 20 Mar 2017 01:59:24 +0100
The steps I do to reproduce the bug are:
>$ emacs -Q
Then in emacs:
  M-x xwidgets-browse-url RET http://www.google.com RET
Emacs crashes and I get this error:

Fatal error 11: Segmentation fault
Backtrace:
emacs[0x501ef8]
emacs[0x501f9f]
/usr/lib/libpthread.so.0(+0x11fe0)[0x7fa4bcf98fe0]
/usr/lib/libc.so.6(malloc_usable_size+0x54)[0x7fa4bca321e4]
/usr/lib/libsqlite3.so.0(+0x8ade9)[0x7fa4b644ade9]
/usr/lib/libsqlite3.so.0(sqlite3Malloc+0xa6)[0x7fa4b644a3e6]
/usr/lib/libsqlite3.so.0(sqlite3OsInit+0xe)[0x7fa4b644c15e]
/usr/lib/libsqlite3.so.0(sqlite3_initialize+0xee)[0x7fa4b64461de]
/usr/lib/libsqlite3.so.0(+0x88c99)[0x7fa4b6448c99]
/usr/lib/libwebkitgtk-3.0.so.0(+0x139ff48)[0x7fa4c1b0df48]
/usr/lib/libwebkitgtk-3.0.so.0(+0x139e4b9)[0x7fa4c1b0c4b9]
/usr/lib/libwebkitgtk-3.0.so.0(+0xb34430)[0x7fa4c12a2430]
/usr/lib/libjavascriptcoregtk-3.0.so.0(+0x5d670a)[0x7fa4c016a70a]
/usr/lib/libpthread.so.0(+0x72e7)[0x7fa4bcf8e2e7]
/usr/lib/libc.so.6(clone+0x3f)[0x7fa4bcaa154f]
Segmentation fault (core dumped)



In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.10)
 of 2017-03-20 built on aliquid
Windowing system distributor 'The X.Org Foundation', version
11.0.11903000
System Description:	Arch Linux

Configured using:
 'configure --with-xwidgets'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26186; Package emacs. (Mon, 20 Mar 2017 18:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 26186 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>
Cc: 26186 <at> debbugs.gnu.org
Subject: Re: bug#26186: 25.1;
 Emacs compiled with --with-xwidgets segfaults when I call
 "xwidget-webkit-browse-url"
Date: Mon, 20 Mar 2017 20:11:55 +0200
> From: Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>
> Date: Mon, 20 Mar 2017 01:59:24 +0100
> 
> The steps I do to reproduce the bug are:
> >$ emacs -Q
> Then in emacs:
>   M-x xwidgets-browse-url RET http://www.google.com RET
> Emacs crashes and I get this error:

Thanks.

Can you try the latest release candidate of Emacs 25.2?  This problem
might be fixed there.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26186; Package emacs. (Tue, 21 Mar 2017 19:04:02 GMT) Full text and rfc822 format available.

Message #11 received at 26186 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>
Cc: 26186 <at> debbugs.gnu.org
Subject: Re: bug#26186: 25.1; Emacs compiled with --with-xwidgets segfaults
 when I call "xwidget-webkit-browse-url"
Date: Tue, 21 Mar 2017 21:02:57 +0200
> From: Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>
> Date: Tue, 21 Mar 2017 19:07:00 +0100
> 
> 
> I tried on emacs 25.2 rc2 but I got the same result.
> Here's the error:
> Fatal error 11: Segmentation fault
> Backtrace:
> emacs[0x502218]
> emacs[0x5022
> bf]
> /usr/lib/libpthread.so.0(+0x11fe0)[0x7fd796479fe0]
> /usr/lib/libc.so.6
> (malloc_usable_size+0x54)[0x7fd795f131e4]
> /usr/lib/libsqlite3.so.0(+0x8a
> de9)[0x7fd78f92bde9]
> /usr/lib/libsqlite3.so.0(sqlite3Malloc+0xa6)[0x7fd7
> 8f92b3e6]
> /usr/lib/libsqlite3.so.0(sqlite3OsInit+0xe)[0x7fd78f92d15e]
> /us
> r/lib/libsqlite3.so.0(sqlite3_initialize+0xee)[0x7fd78f9271de]
> /usr/lib/
> libsqlite3.so.0(+0x88c99)[0x7fd78f929c99]
> /usr/lib/libwebkitgtk-
> 3.0.so.0(+0x139ff48)[0x7fd79afeef48]
> /usr/lib/libwebkitgtk-
> 3.0.so.0(+0x139e4b9)[0x7fd79afed4b9]
> /usr/lib/libwebkitgtk-
> 3.0.so.0(+0xb34430)[0x7fd79a783430]
> /usr/lib/libjavascriptcoregtk-
> 3.0.so.0(+0x5d670a)[0x7fd79964b70a]
> /usr/lib/libpthread.so.0(+0x72e7)[0x
> 7fd79646f2e7]
> /usr/lib/libc.so.6(clone+0x3f)[0x7fd795f8254f]
> Segmentation
> fault (core dumped)

OK, thanks for trying.  I guess this is some new problem, then.




Merged 26186 26787. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sat, 06 May 2017 00:07:02 GMT) Full text and rfc822 format available.

Merged 26186 26787 27514. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Wed, 28 Jun 2017 09:55:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#26186; Package emacs. (Tue, 21 Aug 2018 00:38:02 GMT) Full text and rfc822 format available.

Message #18 received at 26186 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it>
Cc: 26186 <at> debbugs.gnu.org, Guillaume Malzac <gmalzac <at> orange.fr>
Subject: Re: bug#26186: 25.1;
 Emacs compiled with --with-xwidgets segfaults when I call
 "xwidget-webkit-browse-url"
Date: Mon, 20 Aug 2018 20:37:13 -0400
Oscar Belletti <belletti.oscar <at> paciunzio.istruzioneer.it> writes:

> The steps I do to reproduce the bug are:
>>$ emacs -Q
> Then in emacs:
>   M-x xwidgets-browse-url RET http://www.google.com RET
> Emacs crashes and I get this error:
>
> Fatal error 11: Segmentation fault
> [...]

A reddit user suggested[1] this is fixed now (possibly due change of
webkit version used); do you see this in 26.1?

[1]: https://www.reddit.com/r/emacs/comments/98ayn3/emacs_notes_why_a_minimal_browser_when_there_is_a/e4g3zte/




This bug report was last modified 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.