emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21.1 SEGV with Motif libs


From: Luis Fernandes
Subject: 21.1 SEGV with Motif libs
Date: Wed, 26 Feb 2003 17:31:16 -0500 (EST)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

In GNU Emacs 21.0.106.1 (sparc-sun-solaris2.6, X toolkit, Xaw3d scroll bars)
 of 2001-10-02 on genesis
configured using `configure  --with-x11 --x-includes=/usr/X11/include 
--with-xpm --with-toolkit=motif --x-libraries=/usr/X11/lib 
--prefix=/usr/local/emacs21'
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have compiled, built and installed 21.2 with no problems and it
runs fine in non-windowed mode (emacs -nw) as this splash string
shows:

GNU Emacs 21.2.1 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2003-02-26 on zen

However, when I try to run it graphically, I get:

14 messages saying:
Warning: Conversion arguments for widget 'Open File...' contain an unsupported 
address mode

Then:
Warning: Cannot find resource name hpDeleteChar as argument to conversion

9 messages saying:
Warning: Conversion arguments for widget 'Open File...' contain an unsupported 
address mode 

Then:
Warning: Cannot find resource name separatorType as argument to conversion

9 messages saying:
Warning: Conversion arguments for widget 'Open File...' contain an unsupported 
address mode

Fatal error (11).zsh: segmentation fault  ./emacs

> gdb emacs

Program received signal SIGSEGV, Segmentation fault.
0xfeb33374 in strlen ()


(gdb) bt
#0  0xfeb33374 in strlen ()
#1  0xfeb83228 in _doprnt ()
#2  0xfeb84ff0 in sprintf ()
#3  0xff079828 in DefaultMsg ()
#4  0xff0798fc in _XtDefaultWarningMsg ()
#5  0xff26c75c in MotifWarningHandler ()
#6  0xff079b18 in XtAppWarningMsg ()
#7  0xff0711c0 in ComputeArgs ()
#8  0xff071b58 in _XtConvert ()
#9  0xff08c46c in GetResources ()
#10 0xff08cc3c in _XtGetResources ()
#11 0xff076624 in xtCreate ()
#12 0xff076c50 in _XtCreateWidget ()
#13 0xff076cf4 in XtCreateWidget ()
#14 0x18b08c in make_menu_in_widget (instance=0x573f00, widget=0x4ec600, 
    val=0x3, keep_first_children=-4271728) at lwlib-Xm.c:598
#15 0x18b144 in make_menu_in_widget (instance=0x573f00, widget=0x4cb200, 
    val=0x3, keep_first_children=-4269544) at lwlib-Xm.c:619
#16 0x18b5fc in xm_update_menu (instance=0x573f00, widget=0x4cb200, 
    val=0x566600, deep_p=1 '\001') at lwlib-Xm.c:812
#17 0x18b864 in xm_update_one_widget (instance=0x573f00, widget=0x4cb200, 
    val=0x566600, deep_p=1 '\001') at lwlib-Xm.c:901
#18 0x189738 in set_one_value (instance=0x573f00, val=0x566600, 
   deep_p=1 '\001') at /usr/local/src/emacs-21.2/lwlib/lwlib.c:696
#19 0x189788 in update_one_widget_instance (instance=0x573f00, deep_p=0 '\000')
    at /usr/local/src/emacs-21.2/lwlib/lwlib.c:722
#20 0x18998c in initialize_widget_instance (instance=0x573f00)
    at /usr/local/src/emacs-21.2/lwlib/lwlib.c:807
#21 0x189d08 in lw_make_widget (id=1, parent=0x4ece00, pop_up_p=0 '\000')
    at /usr/local/src/emacs-21.2/lwlib/lwlib.c:964
#22 0x189d6c in lw_create_widget (type=0x196130 "menubar", 
    name=0x196130 "menubar", id=1, val=0x4d1b40, parent=0x4ece00, 
    pop_up_p=0 '\000', pre_activate_cb=0x6dfe4 <popup_activate_callback>, 
    selection_cb=0x6e138 <menubar_selection_callback>, 
    post_activate_cb=0x6dff4 <popup_deactivate_callback>, 
    highlight_cb=0x6e000 <menu_highlight_callback>)
    at /usr/local/src/emacs-21.2/lwlib/lwlib.c:987
#23 0x6f144 in set_frame_menubar (f=0x4cb800, first_time=1079220736, deep_p=1)
    at xmenu.c:1815
#24 0x6f20c in initialize_frame_menubar (f=0x4cb800) at xmenu.c:1866
#25 0xc66bc in Fx_create_frame (parms=1347210884) at xfns.c:4485
#26 0x13e218 in Ffuncall (nargs=1075562344, args=0xffbee888) at eval.c:2659
#27 0x16c79c in Fbyte_code (bytestr=-4265848, vector=1076078580, 
    maxdepth=2795520) at bytecode.c:716
#28 0x13e930 in funcall_lambda (fun=1076078456, nargs=1, arg_vector=0xffbeea94)
    at eval.c:2851
#29 0x13e3c4 in Ffuncall (nargs=1076078456, args=0xffbeea90) at eval.c:2716
#30 0x16c79c in Fbyte_code (bytestr=-4265328, vector=1076033076, 
    maxdepth=2795520) at bytecode.c:716
#31 0x13e930 in funcall_lambda (fun=1076032992, nargs=1, arg_vector=0xffbeec9c)
    at eval.c:2851
#32 0x13e3c4 in Ffuncall (nargs=1076032992, args=0xffbeec98) at eval.c:2716
#33 0x16c79c in Fbyte_code (bytestr=-4264808, vector=1076029480, 
    maxdepth=2795520) at bytecode.c:716
#34 0x13e930 in funcall_lambda (fun=1076029348, nargs=0, arg_vector=0xffbeeeac)
    at eval.c:2851
#35 0x13e3c4 in Ffuncall (nargs=1076029348, args=0xffbeeea8) at eval.c:2716
#36 0x16c79c in Fbyte_code (bytestr=-4264280, vector=1076184924, 
    maxdepth=2795520) at bytecode.c:716
#37 0x13e930 in funcall_lambda (fun=1076183644, nargs=0, arg_vector=0xffbef0bc)
    at eval.c:2851
#38 0x13e3c4 in Ffuncall (nargs=1076183644, args=0xffbef0b8) at eval.c:2716
#39 0x16c79c in Fbyte_code (bytestr=-4263752, vector=1076179876, 
    maxdepth=2795520) at bytecode.c:716
#40 0x13e930 in funcall_lambda (fun=1076179708, nargs=0, arg_vector=0xffbef238)
    at eval.c:2851
#41 0x13e5c0 in apply_lambda (fun=1076179708, args=-4263368, eval_flag=1)
    at eval.c:2770
#42 0x13d468 in Feval (form=1346304548) at eval.c:2055
#43 0xdb290 in top_level_2 () at keyboard.c:1254
#44 0x13be50 in internal_condition_case (bfun=0xdb280 <top_level_2>, 
    handlers=271386820, hfun=0xdaf3c <cmd_error>) at eval.c:1267
#45 0xdb2d0 in top_level_1 () at keyboard.c:1262
#46 0x13b9c0 in internal_catch (tag=271339172, func=0xdb298 <top_level_1>, 
    arg=271264772) at eval.c:1030
#47 0xdb1f0 in command_loop () at keyboard.c:1223
#48 0xdac88 in recursive_edit_1 () at keyboard.c:950
#49 0xdadf8 in Frecursive_edit () at keyboard.c:1006
#50 0xd9b80 in main (argc=3, argv=0xffbef904, envp=0x19d400) at emacs.c:1547

I am using the following wrapper script to run it:

#!/bin/zsh
export LD_LIBRARY_PATH=/usr/dt/lib:/usr/local/lib:/usr/X11/lib
exec /usr/local/emacs21.2/bin/emacs $*




Recent input:
o w s : <escape> > <return> <down-mouse-1> <mouse-1> 
<down-mouse-2> <mouse-2> <help-echo> <return> g d b 
SPC e m a c s <return> <down-mouse-2> <mouse-2> <up> 
<up> <return> <down-mouse-1> <mouse-1> <return> b t 
<return> <down-mouse-2> <mouse-2> <down-mouse-1> <mouse-1> 
C-a C-k <down-mouse-1> <mouse-1> <down-mouse-2> <mouse-2> 
<down-mouse-2> <mouse-2> <down-mouse-1> <mouse-1> <down-mouse-2> 
<mouse-2> <down-mouse-2> <mouse-2> <down-mouse-2> <mouse-2> 
<down-mouse-2> <mouse-2> <prior> <prior> <prior> <down-mouse-1> 
<mouse-1> <escape> > M-x e m a c s SPC s u b <tab> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> s u 
b <tab> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <help-menu> <report-emacs-b
ug>

Recent messages:
Fill column set to 69 (was 70)
Mark set [5 times]
Auto-saving...done
Mark set [2 times]
Auto-saving...done
Mark set [5 times]
Auto-saving...
Mark set [9 times]
call-interactively: Quit
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]