Package: emacs;
Reported by: Stefano Sabatini <stefasab <at> gmail.com>
Date: Thu, 22 Apr 2010 12:31:01 UTC
Severity: normal
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: help-debbugs <at> gnu.org (GNU bug Tracking System) To: Jan Djärv <jan.h.d <at> swipnet.se> Cc: tracker <at> debbugs.gnu.org Subject: bug#6001: closed (24.0.50; Crash in xsettings.c:581) Date: Thu, 22 Apr 2010 17:26:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 22 Apr 2010 19:25:01 +0200 with message-id <4BD0866D.7030700 <at> swipnet.se> and subject line Re: bug#6001: 24.0.50; Crash in xsettings.c:581 has caused the GNU bug report #6001, regarding 24.0.50; Crash in xsettings.c:581 to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs <at> gnu.org.) -- 6001: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6001 GNU Bug Tracking System Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefano Sabatini <stefasab <at> gmail.com> To: bug-gnu-emacs <at> gnu.org Subject: 24.0.50; Crash in xsettings.c:581 Date: Thu, 22 Apr 2010 09:59:13 +0200[...] In GNU Emacs 24.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-04-22 on ssabatini Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--prefix=/home/stefano' '--with-x-toolkit=gtk' 'CFLAGS=-O0 -ggdb' 'LDFLAGS=-L/home/stefano/lib' 'CPPFLAGS=-I/home/stefano/include'' 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: C/l Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t desktop-save-mode: t show-paren-mode: t recentf-mode: t display-time-mode: t iswitchb-mode: t tooltip-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 auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Recent input: <up> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <down> <return> <down> <return> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> M-< M-> M-< C-x 2 <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> C-x d <backspace> <backspace> C-g <help-echo> C-g <help-echo> <down-mouse-1> <mouse-1> <up> <up> M-x r e p l <backspace> o <tab> r t <down-mouse-1> <mouse-2> Recent messages: Wrote /home/stefano/.emacs.desktop.lock Desktop: 22 buffers restored. For information about GNU Emacs and the GNU system, type C-h C-a. Mark set [3 times] Loading tramp...done Quit ...bzr!src!semantic.cache locked by stefano <at> geppe... (pid 15615): (s, q, p, ?)? (file-locked "/home/stefano/.semanticdb/!home!stefano!src!emacs.bzr!src!semantic.cache" "stefano <at> geppetto.caos.org (pid 15615)"): /home/stefano/.semanticdb/!home!stefano!src!emacs.bzr!src!semantic.cache Quit Making completion list... Load-path shadows: ~/share/emacs/site-lisp/lisp/psvn hides /usr/share/emacs/site-lisp/psvn /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/ezimage hides /home/stefano/share/emacs/24.0.50/lisp/ezimage /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/speedbar/speedbar hides /home/stefano/share/emacs/24.0.50/lisp/speedbar /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/speedbar/sb-image hides /home/stefano/share/emacs/24.0.50/lisp/sb-image /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/speedbar/dframe hides /home/stefano/share/emacs/24.0.50/lisp/dframe /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/eieio-opt hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/eieio-opt /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/eieio-speedbar hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/eieio-speedbar /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/chart hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/chart /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/eieio hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/eieio /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/eieio-comp hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/eieio-comp /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/eieio-datadebug hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/eieio-datadebug /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/eieio-custom hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/eieio-custom /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/eieio/eieio-base hides /home/stefano/share/emacs/24.0.50/lisp/emacs-lisp/eieio-base /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/cedet-cscope hides /home/stefano/share/emacs/24.0.50/lisp/cedet/cedet-cscope /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/pulse hides /home/stefano/share/emacs/24.0.50/lisp/cedet/pulse /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/cedet-global hides /home/stefano/share/emacs/24.0.50/lisp/cedet/cedet-global /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/cedet-files hides /home/stefano/share/emacs/24.0.50/lisp/cedet/cedet-files /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/ede/ede hides /home/stefano/share/emacs/24.0.50/lisp/cedet/ede /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/semantic/semantic hides /home/stefano/share/emacs/24.0.50/lisp/cedet/semantic /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/cedet-idutils hides /home/stefano/share/emacs/24.0.50/lisp/cedet/cedet-idutils /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/inversion hides /home/stefano/share/emacs/24.0.50/lisp/cedet/inversion /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/mode-local hides /home/stefano/share/emacs/24.0.50/lisp/cedet/mode-local /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/srecode/srecode hides /home/stefano/share/emacs/24.0.50/lisp/cedet/srecode /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/cedet hides /home/stefano/share/emacs/24.0.50/lisp/cedet/cedet /home/stefano/share/emacs/site-lisp/lisp/cedet-cvs/common/data-debug hides /home/stefano/share/emacs/24.0.50/lisp/cedet/data-debug Features: (shadow sort mail-extr message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader warnings emacsbug eieio-opt help-mode view semantic-tag-write tramp-imap tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util shell comint password-cache format-spec tramp-compat trampver semantic-el eldoc jka-compr vc-git vc-dispatcher vc-svn ede-simple ede-linux vc-bzr sha1 hex-util semantic-tag-ls semantic-bovine bovine-debug semantic-debug ede-locate locate semanticdb-file cedet-files semantic-c semantic-gcc semantic-decorate-include semanticdb-find semanticdb-ref semantic-decorate-mode semantic-decorate pulse semantic-c-by semantic-lex-spp hideshow ede-emacs ede-cpp-root ede-dired tempo url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse timezone url-vars mm-util mail-prsvr mailcap xml-parse doxymacs actionscript-mode psvn diff-mode pp elp ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired semanticdb-mode semantic-dep elite elite-federation elite-ai-commanders elite-encounter elite-windows elite-commander-log elite-special-mission-1 elite-people elite-sensors elite-missions-passenger-delivery elite-missions elite-ships elite-combat elite-commanders elite-space-screen-functions elite-screen-functions elite-functions elite-commands elite-variables utils faith desktop misc my-muttrc-mode muttrc-mode ansi-color nxml-docbook-mode cedet cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs cogre-srecode semantic-edit srecode-template-mode srecode-template srecode-template-wy semantic-wisent wisent srecode-map srecode-dictionary speedbar-load speedbar-loaddefs sb-info ede-load ede-loaddefs ede-speedbar ede-files ede eieio-speedbar eieio-custom ede-source srecode-load srecode srecode-loaddefs semantic-load semantic-ia-sb semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort semanticdb-el semanticdb eieio-base semantic-ctxt semantic-format semantic-util-modes semantic-util semantic semantic-lex semantic-tag working fame semantic-fw semantic-loaddefs mode-local find-func eieio-load eieio-loaddefs cedet-load cedet-compat cedet-loaddefs eieio byte-opt bytecomp byte-compile inversion server paren midnight uniquify advice advice-preload recentf tree-widget wid-edit edmacro kmacro time ido iswitchb info php-mode derived etags cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt speedbar sb-image ezimage dframe assoc git-blame git help-fns log-edit easymenu easy-mmode ring pcvs-util add-log ewoc cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting font-render-setting gtk x-toolkit x multi-tty emacs) See the following bt, to fix it I added a check just before if (strcmp...). if (current_font && strcmp (current_font, settings.font) != 0) The last version I was using before updating was 23.1.93. (gdb) bt #0 0xb781b424 in __kernel_vsyscall () #1 0xb6b96bf6 in kill () from /lib/i686/cmov/libc.so.6 #2 0x081455a9 in fatal_error_signal (sig=11) at emacs.c:402 #3 <signal handler called> #4 strcmp () at ../sysdeps/i386/i686/strcmp.S:39 #5 0x0813c371 in read_and_apply_settings (dpyinfo=0x8688800, send_event_p=0) at xsettings.c:581 #6 0x0813c5d3 in init_xsettings (dpyinfo=0x8688800) at xsettings.c:692 #7 0x0813c63e in xsettings_initialize (dpyinfo=0x8688800) at xsettings.c:703 #8 0x08117269 in x_term_init (display_name=141707665, xrm_option=0x0, resource_name=0x8639540 "emacs") at xterm.c:10539 #9 0x0811e922 in Fx_open_connection (display=141707665, xrm_string=139358378, must_succeed=139358402) at xfns.c:4217 #10 0x081cbc40 in Ffuncall (nargs=4, args=0xbffb6110) at eval.c:3079 #11 0x0820c066 in Fbyte_code (bytestr=137455233, vector=137455253, maxdepth=28) at bytecode.c:680 #12 0x081cc351 in funcall_lambda (fun=137455205, nargs=0, arg_vector=0xbffb63d4) at eval.c:3260 #13 0x081cbe15 in Ffuncall (nargs=1, args=0xbffb63d0) at eval.c:3119 #14 0x0820c066 in Fbyte_code (bytestr=136969153, vector=136969181, maxdepth=16) at bytecode.c:680 #15 0x081cadd4 in Feval (form=136969142) at eval.c:2374 #16 0x081c97ac in internal_lisp_condition_case (var=139389218, ---Type <return> to continue, or q <return> to quit--- bodyform=136969142, handlers=136969270) at eval.c:1457 #17 0x0820cdbc in Fbyte_code (bytestr=136967441, vector=136967461, maxdepth=28) at bytecode.c:870 #18 0x081cc351 in funcall_lambda (fun=136967421, nargs=0, arg_vector=0xbffb6a54) at eval.c:3260 #19 0x081cbe15 in Ffuncall (nargs=1, args=0xbffb6a50) at eval.c:3119 #20 0x0820c066 in Fbyte_code (bytestr=136964929, vector=136964949, maxdepth=24) at bytecode.c:680 #21 0x081cc351 in funcall_lambda (fun=136964909, nargs=0, arg_vector=0xbffb6c70) at eval.c:3260 #22 0x081cc00e in apply_lambda (fun=136964909, args=139358378, eval_flag=1) at eval.c:3184 #23 0x081cafd0 in Feval (form=139714470) at eval.c:2410 #24 0x08148f1e in top_level_2 () at keyboard.c:1365 #25 0x081c98c0 in internal_condition_case (bfun=0x8148f0b <top_level_2>, handlers=139389218, hfun=0x8148b79 <cmd_error>) at eval.c:1512 #26 0x08148f55 in top_level_1 () at keyboard.c:1373 #27 0x081c93a2 in internal_catch (tag=139387338, func=0x8148f20 <top_level_1>, arg=139358378) at eval.c:1248 #28 0x08148e8e in command_loop () at keyboard.c:1328 #29 0x08148798 in recursive_edit_1 () at keyboard.c:950 #30 0x08148903 in Frecursive_edit () at keyboard.c:1012 #31 0x0814706c in main (argc=2, argv=0xbffb7454) at emacs.c:1784 (gdb) f 5 #5 0x0813c371 in read_and_apply_settings (dpyinfo=0x8688800, send_event_p=0) at xsettings.c:581 581 if (strcmp (current_font, settings.font) != 0) (gdb) p current_font $1 = 0x0 Regards.
[Message part 3 (message/rfc822, inline)]
From: Jan Djärv <jan.h.d <at> swipnet.se> To: Stefano Sabatini <stefasab <at> gmail.com> Cc: 6001-done <at> debbugs.gnu.org Subject: Re: bug#6001: 24.0.50; Crash in xsettings.c:581 Date: Thu, 22 Apr 2010 19:25:01 +0200Fixed. Thanks, Jan D.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.