* bug#7356: 23.2.90; crash in Gtk on Solaris
@ 2010-11-09 5:24 Simon Leinen
2010-11-09 7:01 ` Jan D.
2012-02-27 9:15 ` Chong Yidong
0 siblings, 2 replies; 4+ messages in thread
From: Simon Leinen @ 2010-11-09 5:24 UTC (permalink / raw)
To: 7356
When starting Emacs with Gtk support under X, it crashes pretty quickly,
apparently when trying to draw the menu bar.
Maybe my Gtk version (2.14.5) is too ancient?
Current directory is /var/tmp/emacs-23.2.90/src/
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.11"...
DISPLAY = localhost:10.0
TERM = dumb
Breakpoint 1 at 0x1001684bc: file emacs.c, line 431.
Breakpoint 2 at 0x1001905ac: file sysdep.c, line 1132.
(gdb) r
Starting program: /var/tmp/emacs-23.2.90/src/emacs
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_rodata
warning: Lowest section in /lib/sparcv9/libpthread.so.1 is .dynamic at 00000000000000b0
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
warning: ignoring uninitialized sec_index_data
GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to execute dbus-launch to autolaunch D-Bus session)
warning: ignoring uninitialized sec_index_rodata
Program received signal SIGSEGV, Segmentation fault.
0xffffffff76531e8c in g_type_check_instance_is_a () from /usr/lib/64/libgobject-2.0.so.0
(gdb) bt full
#0 0xffffffff76531e8c in g_type_check_instance_is_a () from /usr/lib/64/libgobject-2.0.so.0
No symbol table info available.
#1 0x000000010014c240 in xg_update_submenu (submenu=0x101519020, f=0x101597cd0, val=0x101597010, select_cb=0x1000aee1c <menubar_selection_callback>, deactivate_cb=0x1000aed28 <popup_deactivate_callback>, highlight_cb=0x1000aed44 <menu_highlight_callback>, cl_data=0x101404a10) at gtkutil.c:2754
__t = 32791
newsub = (GtkWidget *) 0x101519020
list = (GList *) 0x101755d00
iter = (GList *) 0x101755d00
cur = (widget_value *) 0x101597010
has_tearoff_p = 0
first_radio = (GList *) 0x0
#2 0x000000010014c5e0 in xg_modify_menubar_widgets (menubar=0x1015da130, f=0x101597cd0, val=0x1015f98c0, deep_p=21797120, select_cb=0x1000aee1c <menubar_selection_callback>, deactivate_cb=0x1000aed28 <popup_deactivate_callback>, highlight_cb=0x1000aed44 <menu_highlight_callback>) at gtkutil.c:2917
iter = (GList *) 0x1014c9900
sub = (GtkWidget *) 0x101519020
newsub = (GtkWidget *) 0x1015d1590
witem = (GtkMenuItem *) 0x1015e0960
cur = (widget_value *) 0x1015f98c0
cl_data = (xg_menu_cb_data *) 0x101404a10
list = (GList *) 0x1014c9900
#3 0x00000001000af6c0 in set_frame_menubar (f=0x101597cd0, first_time=32, deep_p=0) at xmenu.c:1214
buffer = 0
specpdl_count = 8
previous_menu_items_used = 4535
previous_items = (Lisp_Object *) 0xffffffff7fff3e70
prev = (struct buffer *) 0x1009c6b30
menubar_widget = (xt_or_gtk_widget) 0x1015da130
items = 0
wv = (widget_value *) 0x0
first_wv = (widget_value *) 0x101528a10
prev_wv = (widget_value *) 0x1018fc2c0
i = 0
last_i = 32
submenu_start = (int *) 0xffffffff7fff3cf0
submenu_end = (int *) 0xffffffff7fff3b70
submenu_top_level_items = (int *) 0xffffffff7fff3930
submenu_n_panes = (int *) 0xffffffff7fff3ab0
#4 0x000000010008561c in update_menu_bar (f=0x101597cd0, save_match_data=8048640, hooks_run=1) at xdisp.c:9673
prev = (struct buffer *) 0x1009c6b30
count = 5
window = -2309808604
w = (struct window *) 0x101597f20
#5 0x000000010009a160 in prepare_menu_bars () at xdisp.c:9542
tail = -4611686014121648800
frame = -6917529023323472688
count = 4
menu_bar_hooks_run = 0
gcpro1 = {
next = 0x0,
var = 0x0,
nvars = 0
}
gcpro2 = {
next = 0xffffffff7fffce31,
var = 0x10009b380,
nvars = 0
}
f = (struct frame *) 0x101597cd0
tooltip_frame = 4611686022732551360
#6 0x000000010009b6f4 in redisplay_internal (preserve_echo_area=8050688) at xdisp.c:11405
f = (struct frame *) 0x1007ad000
w = (struct window *) 0x101597f20
f = (struct frame *) 0xffffffff76531e24
pause = 0
must_finish = 0
tlbufpos = {
charpos = 0,
bytepos = 0
}
tlendpos = {
charpos = 0,
bytepos = 0
}
number_of_visible_frames = 1
count = 2
count1 = 8048640
polling_stopped_here = 0
old_frame = -6917529023323472688
consider_all_windows_p = 8050688
#7 0x000000010017a20c in read_char (commandflag=1, nmaps=2, maps=0xffffffff7fffeb10, prev_event=4611686022732551360, used_mouse_menu=0xffffffff7fffecb4, end_time=0x0) at keyboard.c:2729
echo_current = 0
c = 4611686022732551360
count = 2
jmpcount = 2147477892
local_getcjmp = {1, 0, 2, 2305843009213693951, 192, 4305218352, 4611686022732612000, 9910272, 0, 0, 4301920256, 4301920256}
save_jump = {0, 0, 0, 0, 40, 768, 0, 0, 4303015936, 1, 192, 192}
key_already_recorded = 0
tem = 4304867328
save = 4304594944
previous_echo_area_message = 4611686022732551360
also_record = 4611686022732551360
reread = 0
gcpro1 = {
next = 0x0,
var = 0x0,
nvars = 0
}
gcpro2 = {
next = 0x0,
var = 0x0,
nvars = 0
}
polling_stopped_here = 0
orig_kboard = (struct kboard *) 0x101452070
#8 0x000000010017df38 in read_key_sequence (keybuf=0xffffffff7fffef90, bufsize=30, prompt=4611686022732551360, dont_downcase_last=0, can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9557
interrupted_kboard = (KBOARD *) 0x101452070
key = 0
used_mouse_menu = 0
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
local_first_binding = 0
from_string = 4611686022732551360
count = 2
t = 0
echo_start = 0
keys_start = 0
nmaps = 2
nmaps_allocated = 2
defs = (Lisp_Object *) 0xffffffff7fffeb00
submaps = (Lisp_Object *) 0xffffffff7fffeb10
orig_local_map = -4611686014106157248
orig_keymap = 4611686022732551360
localized_local_map = 0
first_binding = 0
first_unbound = 31
mock_input = 0
fkey = {
parent = -4611686014114900368,
map = -4611686014114900368,
start = 0,
end = 0
}
keytran = {
parent = -4611686014122194464,
map = -4611686014122194464,
start = 0,
end = 0
}
indec = {
parent = -4611686014114900384,
map = -4611686014114900384,
start = 0,
end = 0
}
shift_translated = 0
delayed_switch_frame = 4611686022732551360
original_uppercase = 34370364880
original_uppercase_position = -1
starting_buffer = (struct buffer *) 0x1009c6b30
fake_prefixed_keys = 4611686022732551360
gcpro1 = {
next = 0x40000001009b94c0,
var = 0x40000001009b94c0,
nvars = 1073741824
}
#9 0x0000000100180e00 in command_loop_1 () at keyboard.c:1645
cmd = 4304865280
lose = 9897984
keybuf = {4315960432, 1, -1, 1, 4611686022732551360, 4611686022734227072, -2147489775, -2297248612, -2168454472, -2297288424, 0, 4295237399, -2297331690, -2168454472, -2168454472, 186, 239118549, 887, -2297367752, 281474976718848, 0, 0, 1, 0, 4315960432, 1, 0, -2147487816, -2147488144, 0}
i = 9897984
prev_modiff = 0
prev_buffer = (struct buffer *) 0x0
already_adjusted = 0
#10 0x00000001001ffce0 in internal_condition_case (bfun=0x100180914 <command_loop_1>, handlers=4611686022732641520, hfun=0x1001766bc <cmd_error>) at eval.c:1492
c = {
tag = 4611686022732551360,
val = 4611686022732551360,
next = 0xffffffff7ffff3a0,
gcpro = 0x0,
jmp = {20993150, -2147489647, 4297063520, -2147489231, 4296459952, 1, 0, 0, 231, 0, -2297331690, -2297367752},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 0,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
h = {
handler = 4611686022732641520,
var = 4611686022732551360,
chosen_clause = 127709504,
tag = 0xffffffff7ffff170,
next = 0x0
}
#11 0x000000010016c6b8 in command_loop_2 () at keyboard.c:1362
val = 4296542484
#12 0x00000001001ff6b0 in internal_catch (tag=4611686022732634720, func=0x10016c654 <command_loop_2>, arg=4611686022732551360) at eval.c:1228
c = {
tag = 4611686022732634720,
val = 4611686022732551360,
next = 0x0,
gcpro = 0x0,
jmp = {1999699968, -2147489039, 4297062044, -2147488671, 4296458760, 0, 60, 0, 4315971056, 1951608, 0, 0},
backlist = 0x0,
handlerlist = 0x0,
lisp_eval_depth = 0,
pdlcount = 2,
poll_suppress_count = 0,
interrupt_input_blocked = 0,
byte_stack = 0x0
}
#13 0x000000010016c210 in command_loop () at keyboard.c:1341
No locals.
#14 0x000000010016c3d0 in recursive_edit_1 () at keyboard.c:956
count = 1
val = 4304867328
#15 0x000000010016c618 in Frecursive_edit () at keyboard.c:1018
count = 0
buffer = 4611686022732551360
#16 0x000000010016ba50 in main (argc=0, argv=0xffffffff7ffff8b8) at emacs.c:1833
dummy = 7168
stack_bottom_variable = 0 '\0'
do_initial_setlocale = 1
skip_args = 0
rlim = {
rlim_cur = 8720000,
rlim_max = 18446744073709551613
}
no_loadup = 0
junk = 0x0
dname_arg = 0x0
(gdb) xbacktrace
(gdb)
In GNU Emacs 23.2.90.1 (sparc-sun-solaris2.11, GTK+ Version 2.14.5)
of 2010-11-09 on diotima
configured using `configure '--verbose' '--with-gif=no' 'CC=gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9''
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:
auto-insert-mode: t
partial-completion-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
auto-encryption-mode: t
auto-compression-mode: t
temp-buffer-resize-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ > 1 ; 2 6 0 0 ; 0 c ESC x r e p o - e - b RE
T
Features:
(shadow sort mail-extr message idna ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util
hashcash mail-utils warnings emacsbug imenu eudc eudc-vars uniquify
advice help-fns advice-preload avoid autoinsert bbdb-autoloads bbdb
timezone cus-edit easymenu wid-edit cus-start cus-load smtpmail sendmail
regexp-opt timeclock complete g g-cus-load tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting 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 dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)
--
Simon.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7356: 23.2.90; crash in Gtk on Solaris
2010-11-09 5:24 bug#7356: 23.2.90; crash in Gtk on Solaris Simon Leinen
@ 2010-11-09 7:01 ` Jan D.
2010-11-09 7:17 ` Simon Leinen
2012-02-27 9:15 ` Chong Yidong
1 sibling, 1 reply; 4+ messages in thread
From: Jan D. @ 2010-11-09 7:01 UTC (permalink / raw)
To: Simon Leinen; +Cc: 7356
Simon Leinen skrev 2010-11-09 06:24:
> GConf Error: Failed to contact configuration server; some possible
> causes are that you need to enable TCP/IP networking for ORBit, or
> you have stale NFS locks due to a system crash.
> See http://www.gnome.org/projects/gconf/ for information. (Details -
> 1: Failed to get connection to session: Failed to execute dbus-launch
> to autolaunch D-Bus session)
It looks like you don't have GConf running. Try compiling Emacs with
--without-gconf.
Jan D.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7356: 23.2.90; crash in Gtk on Solaris
2010-11-09 7:01 ` Jan D.
@ 2010-11-09 7:17 ` Simon Leinen
0 siblings, 0 replies; 4+ messages in thread
From: Simon Leinen @ 2010-11-09 7:17 UTC (permalink / raw)
To: Jan D.; +Cc: 7356
> Simon Leinen skrev 2010-11-09 06:24:
>> GConf Error: Failed to contact configuration server; some possible
>> causes are that you need to enable TCP/IP networking for ORBit, or
>> you have stale NFS locks due to a system crash.
>> See http://www.gnome.org/projects/gconf/ for information. (Details -
>> 1: Failed to get connection to session: Failed to execute dbus-launch
>> to autolaunch D-Bus session)
> It looks like you don't have GConf running. Try compiling Emacs with
> --without-gconf.
That suppresses the warning during startup, but Emacs crashes in just
the same place.
--
Simon.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#7356: 23.2.90; crash in Gtk on Solaris
2010-11-09 5:24 bug#7356: 23.2.90; crash in Gtk on Solaris Simon Leinen
2010-11-09 7:01 ` Jan D.
@ 2012-02-27 9:15 ` Chong Yidong
1 sibling, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2012-02-27 9:15 UTC (permalink / raw)
To: Simon Leinen; +Cc: 7356
Simon Leinen <simon.leinen@switch.ch> writes:
> When starting Emacs with Gtk support under X, it crashes pretty quickly,
> apparently when trying to draw the menu bar.
>
> Maybe my Gtk version (2.14.5) is too ancient?
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xffffffff76531e8c in g_type_check_instance_is_a () from /usr/lib/64/libgobject-2.0.so.0
> (gdb) bt full
> #0 0xffffffff76531e8c in g_type_check_instance_is_a () from /usr/lib/64/libgobject-2.0.so.0
> No symbol table info available.
Hi Simon,
I'm sorry that no one followed up on this bug. From your pretest
reports, I see that you subsequently successfully run and compiled 23.3
and the 24.0.x pretests on your sparc-sun-solaris2.11 box, with the same
GTK+ Version 2.14.5, so I assume the problem got fixed independently.
Thanks for filing the bug report, anyway.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-27 9:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-09 5:24 bug#7356: 23.2.90; crash in Gtk on Solaris Simon Leinen
2010-11-09 7:01 ` Jan D.
2010-11-09 7:17 ` Simon Leinen
2012-02-27 9:15 ` Chong Yidong
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.