GNU bug report logs -
#44034
28.0.50; X-widget: assertion '!widget->priv->alloc_needed' failed
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44034 in the body.
You can then email your comments to 44034 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44034
; Package
emacs
.
(Fri, 16 Oct 2020 15:26:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maximiliano Sandoval <msandova <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 16 Oct 2020 15:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When opening a file using xwidget I get an error
```
(emacs:150587): Gtk-CRITICAL **: 12:12:04.741: gtk_widget_draw: assertion '!widget->priv->alloc_needed' failed
(emacs:150587): Gtk-CRITICAL **: 12:12:21.983: gtk_widget_draw: assertion '!widget->priv->alloc_needed' failed
(emacs:151415): GLib-GObject-WARNING **: 12:18:44.591: instance with invalid (NULL) class pointer
(emacs:151415): GLib-GObject-CRITICAL **: 12:18:44.591: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
```
## How to reproduce:
As in a previous bug,
- Create a file with contents:
```
<head><meta charset="UTF-8"></head>
<p><strong>From</strong>: updates <at> fedoraproject.org</br><strong>To</strong>: user <at> email.com</br><strong>Date</strong>: Mon 12 Oct 2020 10:39:34 PM CEST</br><strong>Subject</strong>: [Fedora Update] [comment] toolbox-0.0.96-1.fc33</p><pre>
The following comment has been added to the toolbox-0.0.96-1.fc33 update:
bodhi - 2020-10-12 20:39:34.343089 (karma: 0)
rishi edited this update.
To reply to this comment, please visit the URL at the bottom of this mail
================================================================================
FEDORA-2020-12c4232ccb
================================================================================
Release: Fedora 33
Status: testing
Type: bugfix
Severity: high
Karma: 4
Request: stable
Notes: * Don't break GNU Readline's ctrl-p shortcut * Enable system tests
: on Fedora 33 * Fix containers with missing `/media`
: possibly due to a failed RPM transaction * Give access
: to the udev database * Unbreak X11 applications with
: GNOME 3.38 * Update default release to 31 for non-
: Fedora hosts
Submitter: rishi
Submitted: 2020-10-02 13:56:36.076520
Comments: bodhi - 2020-10-12 20:39:34.343089 (karma 0)
rishi edited this update.
Fixes issues with x11, no notable regressions.
bodhi - 2020-10-07 14:20:29.828510 (karma 0)
This update has been submitted for stable by bodhi.
pnemade - 2020-10-07 14:20:29.375296 (karma 1)
I can run x11 applications now. Rest usage of toolbox
looks fine.
cairo - 2020-10-02 22:57:21.043782 (karma 1)
bodhi - 2020-10-02 22:20:59.046677 (karma 0)
This update can be pushed to stable now if the
maintainer wishes
bodhi - 2020-10-02 22:18:06.993838 (karma 0)
This update has been pushed to testing.
feborges - 2020-10-02 14:34:52.612994 (karma 1)
After commenting out `default_sysctls = ...` from
/usr/share/containers/containers.conf I was able to
test and verify that this update works. I was pointed
out to
https://github.com/containers/podman/issues/7766 I am
able to run x11 applications again! Ctrl + P also
works as expected. /media is present, same for udev
database.
bodhi - 2020-10-02 14:24:41.395885 (karma 0)
This update's test gating status has been changed to
'ignored'.
bodhi - 2020-10-02 13:56:36.568529 (karma 0)
This update's test gating status has been changed to
'waiting'.
bodhi - 2020-10-02 13:56:36.499889 (karma 0)
This update's test gating status has been changed to
'ignored'.
bodhi - 2020-10-02 13:56:36.193084 (karma 0)
This update has been submitted for testing by rishi.
https://bodhi.fedoraproject.org/updates/FEDORA-2020-12c4232ccb
</pre>
```
In `~/some.html`.
- Run in `emacs -Q` the function `(xwidget-webkit-browse-url "file://home/USERNAME/some.html") or whatever is the complete path of the file.` At this point two (or maybe four?) of the errors should appear on the terminal.
- Open the buffer selection buffer via `C-x C-b` and click the xwidget buffer in order to get the other two errors.
For additional info and screencasts see https://github.com/masm11/emacs/issues/71 and https://github.com/masm11/emacs/issues/72.
This was reproduced using the latest commit of Emacs master.
--
Maximiliano Sandoval R.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44034
; Package
emacs
.
(Fri, 16 Oct 2020 16:15:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 44034 <at> debbugs.gnu.org (full text, mbox):
Maximiliano Sandoval <msandova <at> protonmail.com> writes:
> In `~/some.html`.
>
> - Run in `emacs -Q` the function `(xwidget-webkit-browse-url
> "file://home/USERNAME/some.html") or whatever is the complete path of
> the file.` At this point two (or maybe four?) of the errors should
> appear on the terminal.
I'm unable to reproduce this bug on Debian bullseye.
Could you use `M-x report-emacs-bug' and post the version/OS information
on your system?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44034
; Package
emacs
.
(Fri, 16 Oct 2020 16:33:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 44034 <at> debbugs.gnu.org (full text, mbox):
Yes that was my bad,
> In GNU Emacs 28.0.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
of 2020-10-14 built on 9314bc75fe914fcba37266d0faf58377
Windowing system distributor 'System Description: Fedora 33 (Container Image Prerelease)
Please disregard the commit of emacs used as it does not correspond of the one used to reproduce this issue, it was on HEAD of master (at the time of posting).
In short:
- Fedora 33 Silverblue
- tested inside a toolbox 0.0.96 (podman) container
- GNOME 3.38
- Wayland
- Gtk 3.24.23
The configure options were
./configure --with-cairo --with-modules --with-xwidgets
I suspect that the issue might be in the Gtk or glib version.
Maximiliano Sandoval R.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, October 16th, 2020 at 4:13 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> Maximiliano Sandoval msandova <at> protonmail.com writes:
>
> > In `~/some.html`.
> >
> > - Run in `emacs -Q` the function `(xwidget-webkit-browse-url "file://home/USERNAME/some.html") or whatever is the complete path of the file.` At this point two (or maybe four?) of the errors should
> >
> > appear on the terminal.
>
> I'm unable to reproduce this bug on Debian bullseye.
>
> Could you use `M-x report-emacs-bug' and post the version/OS information
>
> on your system?
>
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
> (domestic pets only, the antidote for overdose, milk.)
>
> bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44034
; Package
emacs
.
(Sun, 06 Jun 2021 11:34:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 44034 <at> debbugs.gnu.org (full text, mbox):
Maximiliano Sandoval <msandova <at> protonmail.com> writes:
> In short:
> - Fedora 33 Silverblue
> - tested inside a toolbox 0.0.96 (podman) container
> - GNOME 3.38
> - Wayland
> - Gtk 3.24.23
>
> The configure options were
> ./configure --with-cairo --with-modules --with-xwidgets
>
> I suspect that the issue might be in the Gtk or glib version.
I tried this with the current trunk on Fedora 32, and I couldn't
reproduce it there. I guess I should install a newer Fedora VM...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44034
; Package
emacs
.
(Sat, 07 May 2022 12:51:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 44034 <at> debbugs.gnu.org (full text, mbox):
Maximiliano Sandoval <msandova <at> protonmail.com> writes:
> When opening a file using xwidget I get an error
>
> ```
> (emacs:150587): Gtk-CRITICAL **: 12:12:04.741: gtk_widget_draw: assertion '!widget->priv->alloc_needed' failed
>
> (emacs:150587): Gtk-CRITICAL **: 12:12:21.983: gtk_widget_draw: assertion '!widget->priv->alloc_needed' failed
>
> (emacs:151415): GLib-GObject-WARNING **: 12:18:44.591: instance with invalid (NULL) class pointer
>
> (emacs:151415): GLib-GObject-CRITICAL **: 12:18:44.591: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
> ```
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
If I remember correctly, there were a number of problems fixed in
xwidget (and Emacs' xwidget support) over the last year. Do you still
see these warnings in Emacs 29/recent OS versions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) moreinfo.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sat, 07 May 2022 12:51:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44034
; Package
emacs
.
(Sun, 05 Jun 2022 15:52:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 44034 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> If I remember correctly, there were a number of problems fixed in
> xwidget (and Emacs' xwidget support) over the last year. Do you still
> see these warnings in Emacs 29/recent OS versions?
More information was requested, but no response was given within a
month, so I'm closing this bug report. If the problem still exists,
please respond to this email and we'll reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
44034 <at> debbugs.gnu.org and Maximiliano Sandoval <msandova <at> protonmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 05 Jun 2022 15:53:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 04 Jul 2022 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.