unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56409: 29.0.50; Mouse clicks crash Emacs
@ 2022-07-05 19:52 Michael Heerdegen
  2022-07-05 20:04 ` Michael Heerdegen
  2022-07-10 14:29 ` Michael Heerdegen
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Heerdegen @ 2022-07-05 19:52 UTC (permalink / raw)
  To: 56409


Hello,

since a couple of days, maybe around two weeks, whenever I use a mouse
click in Emacs, there is a high chance (around one third) that Emacs
crashes immediately.  Often just clicking with mouse-1 to set the window
cursor to a different position causes a crash, but also dragging with
mouse-1 or trying to use a popup menu with mouse-3 or C-mouse-3.

Doesn't depend on a particular context or situation.  I was not using
emacs -Q when that happened.

Anyone else seeing such crashes?  I'm not that sophisticated in using
gdb myself...

I'm using master and rebuild regularly (often daily).


TIA,

Michael.







^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#56409: 29.0.50; Mouse clicks crash Emacs
  2022-07-05 19:52 bug#56409: 29.0.50; Mouse clicks crash Emacs Michael Heerdegen
@ 2022-07-05 20:04 ` Michael Heerdegen
  2022-07-06  0:44   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-07-10 14:29 ` Michael Heerdegen
  1 sibling, 1 reply; 8+ messages in thread
From: Michael Heerdegen @ 2022-07-05 20:04 UTC (permalink / raw)
  To: 56409

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Often just clicking with mouse-1 to set the window
> cursor to a different position causes a crash, but also dragging with
> mouse-1 or trying to use a popup menu with mouse-3 or C-mouse-3.

Just clicked with mouse-3 into *scratch* of a freshly started emacs -Q
and it immediately crashed.  Got this output in the console:

| micha> emacs -Q
|
| (emacs:658557): dbind-WARNING **: 21:58:46.207: AT-SPI: Error retrieving
| accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown:
| The name org.a11y.Bus was not provided by any .service files
|
| (emacs:658557): Gdk-ERROR **: 21:58:47.865: The program 'emacs' received an X Window System error.
| This probably reflects a bug in the program.
| The error was 'BadMatch (invalid parameter attributes)'.
|   (Details: serial 2330 error_code 8 request_code 2 (core protocol) minor_code 0)
|   (Note to programmers: normally, X errors are reported asynchronously;
|    that is, you will receive the error a while after causing it.
|    To debug your program, run it with the GDK_SYNCHRONIZE environment
|    variable to change this behavior. You can then get a meaningful
|    backtrace from your debugger if you break on the gdk_x_error() function.)
| Fatal error 5: Trace/breakpoint trap
| Backtrace:
| /home/micha/bin/emacs(+0x194461)[0x55938bae3461]
| /home/micha/bin/emacs(+0x49dbb)[0x55938b998dbb]
| /home/micha/bin/emacs(+0x4a2ea)[0x55938b9992ea]
| /home/micha/bin/emacs(+0x192abd)[0x55938bae1abd]
| /home/micha/bin/emacs(+0x192ba9)[0x55938bae1ba9]
| /lib/x86_64-linux-gnu/libpthread.so.0(+0x14140)[0x7f462d7d0140]
| /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_writer_default+0x17b)[0x7f462ef92abb]
| /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_structured_array+0xd7)[0x7f462ef90c67]
| /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_structured_standard+0x1a2)[0x7f462ef91762]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x66bca)[0x7f462f58cbca]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x73f53)[0x7f462f599f53]
| /usr/lib/x86_64-linux-gnu/libX11.so.6(_XError+0x124)[0x7f462ee10864]
| /usr/lib/x86_64-linux-gnu/libX11.so.6(+0x43327)[0x7f462ee0d327]
| /usr/lib/x86_64-linux-gnu/libX11.so.6(+0x433c5)[0x7f462ee0d3c5]
| /usr/lib/x86_64-linux-gnu/libX11.so.6(_XReply+0x22d)[0x7f462ee0e62d]
| /usr/lib/x86_64-linux-gnu/libXi.so.6(XIQueryPointer+0xea)[0x7f462d6b46fa]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x5f798)[0x7f462f585798]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_device_get_window_at_position_double+0x98)[0x7f462f5590b8]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_device_get_window_at_position+0x2d)[0x7f462f5591dd]
| /home/micha/bin/emacs(+0x16787b)[0x55938bab687b]
| /home/micha/bin/emacs(+0x14604d)[0x55938ba9504d]
| /home/micha/bin/emacs(+0x147f18)[0x55938ba96f18]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6e23f)[0x7f462f59423f]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6e572)[0x7f462f594572]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(gdk_display_get_event+0x40)[0x7f462f55bc90]
| /usr/lib/x86_64-linux-gnu/libgdk-3.so.0(+0x6e2d2)[0x7f462f5942d2]
| /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x25b)[0x7f462ef89e6b]
| /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x52118)[0x7f462ef8a118]
| /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2f)[0x7f462ef8a1cf]
| /usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main_iteration+0x15)[0x7f462f876b15]
| /home/micha/bin/emacs(+0x133d53)[0x55938ba82d53]
| /home/micha/bin/emacs(+0x17b69a)[0x55938baca69a]
| /home/micha/bin/emacs(+0x17ba55)[0x55938bacaa55]
| /home/micha/bin/emacs(+0x17c928)[0x55938bacb928]
| /home/micha/bin/emacs(+0x17ce8d)[0x55938bacbe8d]
| /home/micha/bin/emacs(+0x17d028)[0x55938bacc028]
| /home/micha/bin/emacs(+0x181e28)[0x55938bad0e28]
| /home/micha/bin/emacs(+0x2518e2)[0x55938bba08e2]
| /home/micha/bin/emacs(+0x17d591)[0x55938bacc591]
| /home/micha/bin/emacs(+0x182f93)[0x55938bad1f93]
| /home/micha/bin/emacs(+0x1853fe)[0x55938bad43fe]
| ...
| Exception: emacs killed by signal trace/breakpoint trap
| [tty 1], line 1: emacs -Q


Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#56409: 29.0.50; Mouse clicks crash Emacs
  2022-07-05 20:04 ` Michael Heerdegen
@ 2022-07-06  0:44   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-07-06 16:50     ` Michael Heerdegen
  0 siblings, 1 reply; 8+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-06  0:44 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 56409

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Just clicked with mouse-3 into *scratch* of a freshly started emacs -Q
> and it immediately crashed.  Got this output in the console:

Would you please run Emacs under a debugger with "GDK_SYNCHRONIZE=yes"
and "-xrm Emacs.synchronize: true", and show a backtrace from this
crash?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#56409: 29.0.50; Mouse clicks crash Emacs
  2022-07-06  0:44   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-07-06 16:50     ` Michael Heerdegen
  2022-07-07  1:07       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Heerdegen @ 2022-07-06 16:50 UTC (permalink / raw)
  To: Po Lu; +Cc: 56409

Po Lu <luangruo@yahoo.com> writes:

> Would you please run Emacs under a debugger with "GDK_SYNCHRONIZE=yes"
> and "-xrm Emacs.synchronize: true", and show a backtrace from this
> crash?

Could be that the problem is gone with the last build.  Currently I'm
failing to reproduce it.

Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#56409: 29.0.50; Mouse clicks crash Emacs
  2022-07-06 16:50     ` Michael Heerdegen
@ 2022-07-07  1:07       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-07-07 10:30         ` Michael Heerdegen
  0 siblings, 1 reply; 8+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-07-07  1:07 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 56409

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Could be that the problem is gone with the last build.  Currently I'm
> failing to reproduce it.

Nice.  What commit were you running when you could reproduce that?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#56409: 29.0.50; Mouse clicks crash Emacs
  2022-07-07  1:07       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-07-07 10:30         ` Michael Heerdegen
  2022-07-07 14:19           ` Michael Heerdegen
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Heerdegen @ 2022-07-07 10:30 UTC (permalink / raw)
  To: Po Lu; +Cc: 56409

Po Lu <luangruo@yahoo.com> writes:

> > Could be that the problem is gone with the last build.  Currently I'm
> > failing to reproduce it.
>
> Nice.  What commit were you running when you could reproduce that?

I think this one:

| f65e4c46a3 * lisp/erc/erc-track.el (erc-track-minor-mode-map): Doc fix.
| F. Jason Park <jp@neverwas.me> 2022-07-05

Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#56409: 29.0.50; Mouse clicks crash Emacs
  2022-07-07 10:30         ` Michael Heerdegen
@ 2022-07-07 14:19           ` Michael Heerdegen
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Heerdegen @ 2022-07-07 14:19 UTC (permalink / raw)
  To: Po Lu; +Cc: 56409

Michael Heerdegen <michael_heerdegen@web.de> writes:

> I think this one:
>
> | f65e4c46a3 * lisp/erc/erc-track.el (erc-track-minor-mode-map): Doc fix.
> | F. Jason Park <jp@neverwas.me> 2022-07-05

No, that's probably wrong.  I can't reconstruct it, I had fetched too
often without rebuilding.

Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#56409: 29.0.50; Mouse clicks crash Emacs
  2022-07-05 19:52 bug#56409: 29.0.50; Mouse clicks crash Emacs Michael Heerdegen
  2022-07-05 20:04 ` Michael Heerdegen
@ 2022-07-10 14:29 ` Michael Heerdegen
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Heerdegen @ 2022-07-10 14:29 UTC (permalink / raw)
  To: 56409-done

Michael Heerdegen <michael_heerdegen@web.de> writes:

> since a couple of days, maybe around two weeks, whenever I use a mouse
> click in Emacs, there is a high chance (around one third) that Emacs
> crashes immediately.  Often just clicking with mouse-1 to set the window
> cursor to a different position causes a crash, but also dragging with
> mouse-1 or trying to use a popup menu with mouse-3 or C-mouse-3.

This didn't reoccur for several builds now so I assume the problem is
gone or has been fixed somehow, and thus close this report.

Will reopen if I see it again.

Thanks,

Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-10 14:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05 19:52 bug#56409: 29.0.50; Mouse clicks crash Emacs Michael Heerdegen
2022-07-05 20:04 ` Michael Heerdegen
2022-07-06  0:44   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-06 16:50     ` Michael Heerdegen
2022-07-07  1:07       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-07 10:30         ` Michael Heerdegen
2022-07-07 14:19           ` Michael Heerdegen
2022-07-10 14:29 ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).