unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1493: 23.0.60; make-frame-on-display segfaults
@ 2008-12-06 14:01 Chong Yidong
  0 siblings, 0 replies; 8+ messages in thread
From: Chong Yidong @ 2008-12-06 14:01 UTC (permalink / raw)
  To: emacs-devel; +Cc: Oscar Fuentes, 1493

"Oscar Fuentes" <ofv@wanadoo.es> wrote:

> Just after executing `make-frame-on-display', emacs segfaults.

Can anyone reproduce this?  I currently don't have access to a computer
setup to test make-frame-on-display for remote hosts.

Oscar, could you try compiling without optimizations (CFLAGS="-g") and
gettting a backtrace again?






^ permalink raw reply	[flat|nested] 8+ messages in thread
* bug#1493: 23.0.60; make-frame-on-display segfaults
@ 2008-12-05  4:14 Chong Yidong
  2008-12-05  6:38 ` Oscar Fuentes
  0 siblings, 1 reply; 8+ messages in thread
From: Chong Yidong @ 2008-12-05  4:14 UTC (permalink / raw)
  To: Oscar Fuentes; +Cc: 1493

Do you have a way to reproduce this crash?  I can't trigger it.

Looking at your backtrace, it looks like the crash is coming from deep
in xlib, so it may or may not be an Emacs bug.






^ permalink raw reply	[flat|nested] 8+ messages in thread
* bug#1493: 23.0.60; make-frame-on-display segfaults
@ 2008-12-04 18:05 Oscar Fuentes
  0 siblings, 0 replies; 8+ messages in thread
From: Oscar Fuentes @ 2008-12-04 18:05 UTC (permalink / raw)
  To: emacs-pretest-bug


Just after executing `make-frame-on-display', emacs segfaults. This is the gdb session:

Starting program: /home/oscar/dev/other/emacs/src/emacs -Q                        
[Thread debugging using libthread_db enabled]                                     
[New Thread 0x7fea5045b770 (LWP 19420)]                                           
Xlib:  extension "RANDR" missing on display "k7:0.0".                             
Locking assertion failure.  Backtrace:                                            
#0 /usr/lib/libxcb-xlib.so.0 [0x7fea49b1e9fc]                                     
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x17) [0x7fea49b1eb77]                 
#2 /usr/lib/libX11.so.6 [0x7fea4c6158c0]                                          
#3 /usr/lib/libX11.so.6(XFlush+0x12) [0x7fea4c5ee092]                             
#4 /usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0xd0) [0x7fea4fa1eb20]                                                                               
#5 /home/oscar/dev/other/emacs/src/emacs [0x4a1063]                               
#6 /home/oscar/dev/other/emacs/src/emacs [0x4a114e]                               
#7 /home/oscar/dev/other/emacs/src/emacs [0x4a1830]                               
#8 /home/oscar/dev/other/emacs/src/emacs [0x4a189d]                               
#9 /usr/lib/libX11.so.6(_XError+0xf4) [0x7fea4c60e784]                            
#10 /usr/lib/libX11.so.6(_XReply+0x243) [0x7fea4c616673]                          
#11 /usr/lib/libX11.so.6(XGetGeometry+0x8f) [0x7fea4c5f1cff]                      
#12 /usr/lib/libgdk-x11-2.0.so.0(gdk_pixmap_foreign_new_for_display+0xa0) [0x7fea4fa3eb60]                                                                          
#13 /usr/lib/gtk-2.0/2.10.0/engines/libqt4engine.so [0x7fea48cc979e]              
#14 /usr/lib/gtk-2.0/2.10.0/engines/libqt4engine.so [0x7fea48cc3021]              
#15 /usr/lib/libgtk-x11-2.0.so.0 [0x7fea4fd7b2fd]                                 
#16 /usr/lib/libgtk-x11-2.0.so.0 [0x7fea4fdb8908]                                 
#17 /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16d) [0x7fea4dea825d]         
#18 /usr/lib/libgobject-2.0.so.0 [0x7fea4debdc3b]                                 
#19 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x63a) [0x7fea4debf48a]     

(emacs:19420): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed                                                                    

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fea5045b770 (LWP 19420)]
0x000000000044753e in redisplay_internal (
    preserve_echo_area=<value optimized out>) at xdisp.c:11799
11799                 if (FRAME_TERMINAL (f)->judge_scroll_bars_hook)
(gdb) bt
#0  0x000000000044753e in redisplay_internal (
    preserve_echo_area=<value optimized out>) at xdisp.c:11799
#1  0x00000000004dfe98 in read_char (commandflag=1, nmaps=2,
    maps=0x7fff58488d60, prev_event=10919649, used_mouse_menu=0x7fff58488e74,
    end_time=0x0) at keyboard.c:3058
#2  0x00000000004e24cd in read_key_sequence (keybuf=0x7fff58488f00, bufsize=30,
    prompt=10919649, dont_downcase_last=0, can_return_switch_frame=1,
    fix_current_buffer=1) at keyboard.c:9340
#3  0x00000000004e4338 in command_loop_1 () at keyboard.c:1621
#4  0x0000000000545c9f in internal_condition_case (
    bfun=0x4e4120 <command_loop_1>, handlers=11006817, hfun=0x4dbf30 <cmd_error>)
    at eval.c:1511
#5  0x00000000004db38e in command_loop_2 () at keyboard.c:1338
#6  0x0000000000545db7 in internal_catch (tag=<value optimized out>,
    func=0x4db370 <command_loop_2>, arg=10919649) at eval.c:1247
#7  0x00000000004dbd68 in command_loop () at keyboard.c:1317
#8  0x00000000004dc17a in recursive_edit_1 () at keyboard.c:942
#9  0x00000000004dc2f4 in Frecursive_edit () at keyboard.c:1004
#10 0x00000000004d2037 in main (argc=2, argv=0x7fff58489718) at emacs.c:1777



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/oscar/dev/other/emacs/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.14.4)
 of 2008-12-03 on qcore
Windowing system distributor `The X.Org Foundation', version 11.0.10502000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.






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

end of thread, other threads:[~2008-12-07 17:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87skp15rn7.fsf@cyd.mit.edu>
2008-12-06 19:29 ` bug#1493: 23.0.60; make-frame-on-display segfaults Óscar Fuentes
     [not found] ` <m3myf9rtji.fsf@telefonica.net>
     [not found]   ` <87zlj83i00.fsf@cyd.mit.edu>
2008-12-07  3:56     ` Óscar Fuentes
2008-12-07 17:20       ` Chong Yidong
2008-12-07 17:50         ` Óscar Fuentes
2008-12-06 14:01 Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2008-12-05  4:14 Chong Yidong
2008-12-05  6:38 ` Oscar Fuentes
2008-12-04 18:05 Oscar Fuentes

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).