David Kastrup wrote: > the horizontal scroll bar code crashing on me > whenever I restore the desktop (which involves restoring the window > configuration). > > _That_ crash would have been > > (gdb) bt > #0 0xb7fdd424 in __kernel_vsyscall () > #1 0xb69460c6 in raise (sig=sig@entry=6) > at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37 > #2 0x08124299 in terminate_due_to_signal (sig=sig@entry=6, > backtrace_limit=backtrace_limit@entry=40) at ../../emacs/src/emacs.c:387 > #3 0x0813cef7 in emacs_abort () at ../../emacs/src/sysdep.c:2198 > #4 0x080f3e38 in XTredeem_scroll_bar (w=0x8752f30) > at ../../emacs/src/xterm.c:5948 Nicolas Avrutin wrote: > I'm also experiencing this issue and would be happy to help you with > testing. I'm also using gtk3 and --without-toolkit-scroll-bars. I can > trigger the crash by running (sauron-start)[1] or > (jabber-connect-all)[2], in xmonad sending any emacs frame to a > different workspace, and then going to the workspace to which I sent the > frame. > > I have applied your patch and the crash still occurs. Here is my > backtrace after running it through addr2line[3]: > > emacs_backtrace at emacs-git/src/sysdep.c:2182 > terminate_due_to_signal at emacs-git/src/emacs.c:381 > emacs_open at emacs-git/src/sysdep.c:2211 > XTredeem_scroll_bar at emacs-git/src/xterm.c:5971 Faried Nawaz wrote: > I'm not on the mailing list, and I'm not sure where to report bugs, but I > ran into the same crash as David Kastrup today, after I pulled and built > from trunk. Your patch in > http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00373.html doesn't > fix the problem for me. > > I'm not sure how to reliably trigger the problem, but this usually works > for me. I start Emacs under gdb, with -Q, and then evaluate these lines: > > (require 'package) > (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") > ("marmalade" . "http://marmalade-repo.org/packages/ > ") > ("melpa" . "http://melpa.milkbox.net/packages/"))) > (package-initialize) > > I run M-x list-packages RET and switch away to another virtual desktop. > Some combination of switching away/switching back, or partially covering > the frame with an xterm before switching causes the crash for me. It might > be timer related, too -- it doesn't happen immediately, but after a while. > It takes a while to fetch the packages list. > > The backtrace is at https://gist.github.com/faried/f1a01fac78a790f32ebe > > I use Ubuntu 12.04 (fully updated, 32-bit) and I compile Emacs with > > ./configure --without-pop --with-x-toolkit=lucid \ > --prefix=/usr/local/src --without-toolkit-scroll-bars \ > --enable-link-time-optimization --without-compress-install \ > --with-file-notification=yes > > I hope this helps locate the cause of the problem. Please try the attached patch and tell me whether the problem persists. Thank you, martin