From xemacs-m  Thu Feb  6 05:14:27 1997
Received: from dres.elam.org (dres@cola188.scsn.net [206.25.247.188])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id FAA15662
	for <xemacs-beta@xemacs.org>; Thu, 6 Feb 1997 05:13:17 -0600 (CST)
Received: (from dres@localhost)
	by dres.elam.org (8.8.5/8.8.5) id GAA13299;
	Thu, 6 Feb 1997 06:08:28 -0500
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
To: xemacs-beta@xemacs.org
Subject: more info on XtCreatePopupShell crash
Mime-Version: 1.0 (generated by tm-edit 7.101)
Content-Type: multipart/mixed;
 boundary="Multipart_Thu_Feb__6_06:08:25_1997-1"
Content-Transfer-Encoding: 7bit
From: James LewisMoss <dres@scsn.net>
Date: 06 Feb 1997 06:08:25 -0500
Message-ID: <hhvi86chue.fsf@dres.elam.org>
Lines: 173
X-Mailer: Gnus v5.4.11/XEmacs 20.0

--Multipart_Thu_Feb__6_06:08:25_1997-1
Content-Type: text/plain; charset=US-ASCII

This is like my third repost.  More info this time.  I know nothing
about Xt else I'd try to track this down.  At this point however
XEmacs has become completely useless to me.  :(

At some point while I'm using it it will crash.  Normally sooner than
later.  Here is traceback, lisp traceback and printouts of what looked
like all the relevant variables in the function.  Could this be a bug
with the Xt library itself?  This is with XFree 3.2 (from debian),
linux 2.0.28, libc 5.4.20, gcc 2.7.2.1.

I can repeat it by using Gnus for a while (haven't found any other set
of circumstances that will cause it and it doesn't matter the version
of Gnus) and then trying to open another window.


--Multipart_Thu_Feb__6_06:08:25_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="info.crash"
Content-Transfer-Encoding: 7bit

#0  0x400e5604 in _XtIsSubclassOf ()
#1  0x400dc4c0 in XtInitializeWidgetClass ()
#2  0x400dcc72 in _XtCreatePopupShell ()
#3  0x400dccaf in XtCreatePopupShell ()
#4  0x811ac20 in x_create_widgets (f=0x8cad1c0, lisp_window_id=405113748, 
    parent=405113748) at frame-x.c:1711
#5  0x811afa6 in x_init_frame_1 (f=0x8cad1c0, props=680144916)
    at frame-x.c:1946
#6  0x80a7c50 in Fmake_frame (props=680144916, device=406141544) at frame.c:422
#7  0x807e7b9 in primitive_funcall (fn=0x80a7a90 <Fmake_frame>, nargs=2, 
    args=0xbfffecb0) at eval.c:3458
#8  0x807e9b8 in funcall_subr (subr=0x8178068, args=0xbfffecb0) at eval.c:3482
#9  0x807e0e0 in funcall_recording_as (recorded_as=405204980, nargs=1, 
    args=0xbfffedac) at eval.c:3174
#10 0x807e1d3 in Ffuncall (nargs=1, args=0xbfffedac) at eval.c:3218
#11 0x805b646 in Fbyte_code (bytestr=941749796, vector=1210185328, maxdepth=2)
    at bytecode.c:418
#12 0x807ed08 in funcall_lambda (fun=404878996, nargs=0, arg_vector=0xbfffeedc)
    at eval.c:3592
#13 0x807e18e in funcall_recording_as (recorded_as=404878996, nargs=1, 
    args=0xbfffeed8) at eval.c:3190
#14 0x807e1d3 in Ffuncall (nargs=1, args=0xbfffeed8) at eval.c:3218
#15 0x807f25b in apply1 (fn=404878996, arg=405113748) at eval.c:3908
#16 0x805d160 in Fcall_interactively (function=405804372, 
    record_flag=405113748, keys=405113748) at callint.c:394
#17 0x807e7cd in primitive_funcall (fn=0x805cd10 <Fcall_interactively>, 
    nargs=3, args=0xbfffefc0) at eval.c:3459
#18 0x807e9b8 in funcall_subr (subr=0x8173304, args=0xbfffefc0) at eval.c:3482
#19 0x807e0e0 in funcall_recording_as (recorded_as=405185996, nargs=2, 
    args=0xbffff11c) at eval.c:3174
#20 0x807e1d3 in Ffuncall (nargs=2, args=0xbffff11c) at eval.c:3218
#21 0x805b646 in Fbyte_code (bytestr=941609160, vector=1210044736, maxdepth=4)
    at bytecode.c:418
#22 0x807ed08 in funcall_lambda (fun=404738480, nargs=1, arg_vector=0xbffff23c)
    at eval.c:3592
#23 0x807e18e in funcall_recording_as (recorded_as=405737652, nargs=2, 
    args=0xbffff238) at eval.c:3190
#24 0x807e1d3 in Ffuncall (nargs=2, args=0xbffff238) at eval.c:3218
#25 0x805de6a in Fcall_interactively (function=405737652, 
    record_flag=405113748, keys=405113748) at callint.c:934
#26 0x807d319 in Fcommand_execute (cmd=405737652, record=405113748, 
    keys=405113748) at eval.c:2595
#27 0x80889b2 in execute_command_event (command_builder=0x8353388, 
    event=411295792) at event-stream.c:3554
#28 0x8088f5e in Fdispatch_event (event=411295792) at event-stream.c:3892
#29 0x806413b in Fcommand_loop_1 () at cmdloop.c:540
#30 0x8063fcc in command_loop_1 (dummy=405113748) at cmdloop.c:460
#31 0x807c199 in condition_case_1 (handlers=405113844, 
    bfun=0x8063fb0 <command_loop_1>, barg=405113748, 
    hfun=0x8063a50 <cmd_error>, harg=405113748) at eval.c:1648
#32 0x8063b30 in command_loop_3 () at cmdloop.c:222
#33 0x8063b58 in command_loop_2 (dummy=405113748) at cmdloop.c:233
#34 0x807be79 in internal_catch (tag=405187588, 
    func=0x8063b50 <command_loop_2>, arg=405113748, threw=0x0) at eval.c:1325
#35 0x8063cec in initial_command_loop (load_me=405113748) at cmdloop.c:271
#36 0x8077513 in main_1 (argc=1, argv=0xbffff518, envp=0xbffff520)
    at emacs.c:1452
#37 0x8077c16 in main (argc=1, argv=0xbffff518, envp=0xbffff520)
    at emacs.c:1803
#38 0x804f07b in _start ()

------------------------------------------------------------------------
Lisp backtrace follows:

  # bind (frame-being-created)
  make-frame()
  #<compiled-function (from "x-toolbar.elc") nil "...(60)" [toolbar-info-frame frame-live-p make-frame select-frame raise-frame frame-iconified-p deiconify-frame info] 2 1250578 nil>()
  call-interactively(toolbar-info)
  # bind (callback button event)
  release-and-activate-toolbar-button(#<buttonup-event button1up>)
  # bind (command-debug-status)
  call-interactively(release-and-activate-toolbar-button)
  # (condition-case ... . error)
  # (catch top-level ...)


(gdb) info locals
f = (struct frame *) 0x8cec000
d = (struct device *) 0x82e0200
name = 0xbfffeaf8 "emacs"
av = {{name = 0x822bc48 "allowShellResize", value = 1}, {
    name = 0x822bcd1 "input", value = 1}, {name = 0x816cfa3 "minWidthCells",
    value = 10}, {name = 0x816cfb1 "minHeightCells", value = 1}, {
    name = 0x5 <Address 0x5 out of bounds>, value = 136828864}, {
    name = 0xbfffeb50 "Hd\001", value = -1073747088}, {
    name = 0x1 <Address 0x1 out of bounds>, value = -1073746872}, {
    name = 0xbfffeb64 "'\030x\"\030", value = 1}, {name = 0xbfffeba0 "",
    value = 135238891}, {name = 0x1827d7c0 <Address 0x1827d7c0 out of bounds>,
    value = 404912356}, {name = 0x18db8600 <Address 0x18db8600 out of bounds>,
    value = 673731300}, {name = 0x2 <Address 0x2 out of bounds>,
    value = -1073746972}, {name = 0xbfffebe4 "\020\026\021\b",
    value = 405252220}, {name = 0x2 <Address 0x2 out of bounds>,
    value = 144892532}, {name = 0xbfffebe4 "\020\026\021\b",
    value = -1073747004}, {name = 0x80a344d "\203\024\205u\f\213Em\215&",
    value = 100}, {name = 0x182e0200 <Address 0x182e0200 out of bounds>,
    value = 147767296}, {name = 0x0, value = 142786176}, {
    name = 0x28a2e28c <Address 0x28a2e28c out of bounds>, value = 405668352}, {
    name = 0x8cec000 "\230\027\b*\btD", value = 142786176}, {
    name = 0x8cec000 "\230\027\b*\btD", value = -1073746976}, {
    name = 0x8050209 "\211\215e[^\211]\215", value = 142786176}, {
    name = 0x0, value = 100}, {name = 0x64 <Address 0x64 out of bounds>,
    value = 147767296}, {name = 0x182e0200 <Address 0x182e0200 out of bounds>,
    value = -1073746960}}
ac = 0
text = (WidgetRec *) 0x0
container = (WidgetRec *) 0xbfffeaf8
shell = (WidgetRec *) 0xbfffeaf8
parentwid = (WidgetRec *) 0x0
menubar_visible = 405139460
menubar = (WidgetRec *) 0x1
(gdb) print parentwid
$1 = (WidgetRec *) 0x0
(gdb) print topLevelEmacsShellWidgetClass
$2 = (WidgetClassRec *) 0x822a550

(gdb) info args
f = (struct frame *) 0x8cec000
lisp_window_id = 405139460
parent = 405139460

(gdb) print *d
$5 = {header = {lheader = {implementation = 0x81761b0}, next = 0x829c600, 
    uid = 2112, free = 0}, devmeths = 0x827ca00, name = 942337564, 
  connection = 942337696, canon_connection = 942337576, 
  frame_list = 679149740, console = 406224640, _selected_frame = 410519296, 
  frame_with_focus_real = 410519296, frame_with_focus_for_hooks = 410519296, 
  frame_that_ought_to_have_focus = 405139460, device_class = 405236028, 
  user_defined_tags = 674842172, color_instance_cache = 405390784, 
  font_instance_cache = 405390720, charset_font_cache = 405390656, 
  image_instance_cache = 405390592, device_data = 0x835cc00, 
  buffers_changed = 0, clip_changed = 0, extents_changed = 0, 
  faces_changed = 0, frame_changed = 0, icon_changed = 0, menubar_changed = 1, 
  modeline_changed = 0, point_changed = 0, size_changed = 0, 
  toolbar_changed = 1, windows_changed = 1, windows_structure_changed = 0, 
  locked = 0, pixel_to_glyph_cache = {valid = 1, frame = 0x8780700, 
    low_x_coord = 365, high_x_coord = 366, col = 0, obj_x = 0, 
    low_y_coord = 0, high_y_coord = 37, row = 0, obj_y = 0, w = 0x0, 
    bufpos = 0, closest = 0, modeline_closest = -1, obj1 = 410891776, 
    obj2 = 405139460, retval = 5}, baud_rate = 38400, on_console_p = 1, 
  connected_to_nas_p = 0, infd = 7, outfd = 7, old_sigio_flag = 2050, 
  old_fcntl_owner = 0, sigio_enabled = 1}

(gdb) print d->device_data
$6 = (void *) 0x835cc00

gdb) print ((struct x_device *)(d)->device_data)->Xt_app_shell
$9 = (WidgetRec *) 0x82ad000


--Multipart_Thu_Feb__6_06:08:25_1997-1--

