#56542 Segfault on startup

Package:
xemacs21-mule
Source:
xemacs21
Description:
highly customizable text editor -- Mule binary
Submitter:
christoph
Date:
2013-10-13 10:10:17 UTC
Severity:
important
#56542#5
Date:
2000-01-29 03:47:11 UTC
From:
To:
I have emacs installed and was installing xemacs with

apt-get install xemacs21

bash-2.03$ xemacs
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset

Fatal error (11).
Your files have been auto-saved.
Use 
-x recover-session' to recover them.

Please report this bug by running the send-pr script included
with XEmacs, or selecting end Bug Report' from the help menu.
As a last resort send ordinary email to rashes@xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.

If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called ore' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type

  gdb /usr/bin/xemacs core

then type here' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB.  A similar procedure should work for all of
these.  Ask your system administrator if you need more help.)

Lisp backtrace follows:

  # bind (frame-being-created)
  make-frame(nil #<x-device on ":0.0" 0x21d6>)
  frame-initialize()
  # bind (debugger debug-on-error command-line-args-left)
  command-line()
  # (unwind-protect ...)
  normal-top-level()
  # (condition-case ... . error)
  # (catch top-level ...)
Segmentation fault

#56542#10
Date:
2000-01-29 05:37:27 UTC
From:
To:
 christoph> Package: xemacs21 Version: 21.1.8-2 Severity: important

 christoph> I have emacs installed and was installing xemacs with

 christoph> apt-get install xemacs21

 christoph> bash-2.03$ xemacs Warning: Missing charsets in String to
 christoph> FontSet conversion Warning: Unable to load any usable
 christoph> fontset

Need 1) the list of xfonts you have installed ("dpkg -l 'xfont*'"
should give list), 2) start xemacs as "gdb xemacs" and when it dies
type "bt" and send the output from that, 3) run "strace xemacs" and
send the output from that, 4) run "ltrace xemacs" and send the output
from that, 5) send the output from "env", 6) the contents of your
.Xresource/.Xdefaults file.

And I'll likely lower the severity on this.  IMO a crash for one
person when there are many other happy people using it does not make
an important bug.  Let me know if you disagree.

Thanks
Jim

#56542#15
Date:
2000-01-29 05:41:27 UTC
From:
To:
bash-2.03$ dpkg -l xfont*
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  xfonts-100dpi  3.3.6-1        100 dpi fonts for X
ii  xfonts-75dpi   3.3.6-1        75 dpi fonts for X
ii  xfonts-base    3.3.6-1        standard fonts for X
pn  xfonts-cjk     <none>         (no description available)
pn  xfonts-cyrilli <none>         (no description available)
pn  xfonts-pex     <none>         (no description available)
ii  xfonts-scalabl 3.3.6-1        scalable fonts for X
bash-2.03$

bash-2.03$ env
PWD=/a/christoph
XAUTHORITY=/home/chris/.Xauthority
WINDOWID=46137364
HOSTNAME=k2-400
CONSOLE=/dev/console
PREVLEVEL=N
AUTOBOOT=YES
runlevel=2
GDMSESSION=Gnome
USER=christoph
AUTOCLEAR_BUGS=x
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;0
1:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;
31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;3
1:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=
01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.
gl=01;35:*.dl=01;35:
MACHTYPE=i386-pc-linux-gnu
MAIL=/var/spool/mail/christoph
LANG=C
IRCID=o-o
DISPLAY=:0.0
SHLVL=4
previous=N
LOGNAME=christoph
SSH_AGENT_PID=320
BOOT_IMAGE=Linux
SESSION_MANAGER=local/k2-400:/tmp/.ICE-unix/283,tcp/k2-400:1025
EMAIL=clameter@debian.org
SHELL=/bin/bash
USERNAME=christoph
HOSTTYPE=i386
OSTYPE=linux-gnu
HOME=/home/chris
TERM=xterm
SSH_AUTH_SOCK=/tmp/ssh-christoph/ssh-283-agent
PATH=/home/chris/batch:/home/chris/Office40/bin:/usr/local/bin:/usr/bin:/bin:/us
r/bin/X11:/usr/games
RUNLEVEL=2
INIT_VERSION=sysvinit-2.78
_=/usr/bin/env
bash-2.03$ env

No .Xdefault / Xresource file.

#56542#24
Date:
2001-12-30 22:45:27 UTC
From:
To:
after upgrading, i get the same error message as Bug#56542.

while attempting to build the package, i noticed some warnings about gcc not
understanding -znocombreloc in both the config.log and compilation output.
i made the following mod to configure.in and the startup segv went away.
--- orig/xemacs21-21.4.6/configure.in   Sun Dec 30 14:37:52 2001
+++ xemacs21-21.4.6/configure.in        Sun Dec 30 14:41:36 2001
@@ -2529,7 +2529,7 @@
   AC_MSG_CHECKING(for \"-znocombreloc\" linker flag)
   case "`ld --help 2>&1`" in
     *-z\ nocombreloc* ) AC_MSG_RESULT(yes)
-      XE_PREPEND(-znocombreloc, ld_switch_site) ;;
+      XE_PREPEND(-Xlinker -znocombreloc, ld_switch_site) ;;
     *) AC_MSG_RESULT(no) ;;
   esac
 fi

#56542#29
Date:
2001-12-30 22:50:14 UTC
From:
To:
lantz moore <lmoore@debian.org> writes:
messages that the original bug submitter saw.

thanks.

#56542#34
Date:
2001-12-31 00:21:32 UTC
From:
To:
 lantz> Package: xemacs21 Version: 21.4.6-3

 lantz> after upgrading, i get the same error message as Bug#56542.

 lantz> while attempting to build the package, i noticed some warnings
 lantz> about gcc not understanding -znocombreloc in both the
 lantz> config.log and compilation output.  i made the following mod
 lantz> to configure.in and the startup segv went away.

 lantz> --- orig/xemacs21-21.4.6/configure.in Sun Dec 30 14:37:52 2001
 lantz> +++ xemacs21-21.4.6/configure.in Sun Dec 30 14:41:36 2001
 lantz> @@ -2529,7 +2529,7 @@
 lantz>    AC_MSG_CHECKING(for \"-znocombreloc\" linker flag) case
 lantz>    "`ld --help 2>&1`" in
 lantz>      *-z\ nocombreloc* ) AC_MSG_RESULT(yes)
 lantz> - XE_PREPEND(-znocombreloc, ld_switch_site) ;;
 lantz> + XE_PREPEND(-Xlinker -znocombreloc, ld_switch_site) ;;
 lantz>      *) AC_MSG_RESULT(no) ;;
 lantz>    esac
 lantz>  fi

There's a fixed package in incoming (actually now installed in the
archive) and the fix you suggest here is likely to be the next package
upload (since powerpc doesn't work the other way).

Jim

#56542#39
Date:
2006-02-20 11:31:13 UTC
From:
To:
Hello,

after upgrading debian to latest testing, I just can't start xemacs.
Just starting as "xemacs" will produce error message and than segfault.
As reading other bug reports "xemacs -nw" works. I think this problems
(at least segfault) as #133607, #183040, #182971.

The error message is:

Warning: Color name "Black" is not defined
Warning: Color name "Gray80" is not defined
Warning: Color name "Gray30" is not defined
Warning: Color name "Blue" is not defined
Warning: Color name "Red" is not defined
Warning: Color name "Maroon" is not defined
Warning: Color name "ForestGreen" is not defined

Fatal error (11).

Your files have been auto-saved.
Use `M-x recover-session' to recover them.

Lisp backtrace follows:

  # bind (frame-being-created)
    make-frame(nil #<x-device on ":0.0" 0xb1a>)
      frame-initialize()
        # bind (debugger debug-on-error command-line-args-left)
	  command-line()
	    # (condition-case ... . ((t (byte-code "      ^P\x81\x8f" ... 1))))
	      # bind (error-data)  normal-top-level()
	        # (condition-case ... . error)
		  # (catch top-level ...)

Backtrace is:

#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7a33ad6 in kill () from /lib/tls/i686/cmov/libc.so.6
#2  0x080b57b5 in fatal_error_signal ()
#3  <signal handler called>
#4  0x081c95dc in Fx_window_id ()
#5  0x08116042 in update_frame_face_values ()
#6  0x081c8724 in Fx_window_id ()
#7  0x08130706 in Fmake_frame ()
#8  0x080be8e3 in Ffuncall ()
#9  0x08090e2a in execute_rare_opcode ()
#10 0x08093740 in funcall_compiled_function ()
#11 0x080be825 in Ffuncall ()
#12 0x08090e2a in execute_rare_opcode ()
#13 0x08093740 in funcall_compiled_function ()
#14 0x080bcde1 in Feval ()
#15 0x080ba2ab in condition_case_1 ()
#16 0x080bc531 in condition_case_3 ()
#17 0x08090aa7 in execute_rare_opcode ()
#18 0x080916e7 in execute_rare_opcode ()
#19 0x08093740 in funcall_compiled_function ()
#20 0x080bcde1 in Feval ()
#21 0x080ba2ab in condition_case_1 ()
#22 0x0809c43c in Freally_early_error_handler ()
#23 0x080b797f in internal_catch ()
#24 0x0809c522 in initial_command_loop ()
#25 0x080b69d6 in xemacs_21_4_18_i386_debian_linux ()
#26 0x080b7583 in main ()

My xfonts:
ii  xfonts-100dpi  6.9.0.dfsg.1-4 100 dpi fonts for X
ii  xfonts-75dpi   6.9.0.dfsg.1-4 75 dpi fonts for X
un  xfonts-abi     <none>         (no description available)
ii  xfonts-base    6.9.0.dfsg.1-4 standard fonts for X
un  xfonts-base-tr <none>         (no description available)
un  xfonts-cjk     <none>         (no description available)
un  xfonts-cyrilli <none>         (no description available)
ii  xfonts-scalabl 6.9.0.dfsg.1-4 scalable fonts for X

Please find strace output of xemacs at:
http://www.penguin.cz/~michlv/tmp/xemacs.sigsegv.txt

I can't run ltrace, it said Error: call nesting too deep!

And environment dump is here:
http://www.penguin.cz/~michlv/tmp/xemacs.sigsegv.env.txt

#56542#48
Date:
2007-01-09 12:51:37 UTC
From:
To:
Hi,

I did not realize merging of bug cause repeatmerge=no BTS screen to list
bug mainly under oldest one.

http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=xemacs21&repeatmerged=no

So for the sake of ease of tracking bug, I place pointer to the bug
summary page here.

http://bugs.debian.org/133607

Osamu

#56542#53
Date:
2007-01-09 17:21:32 UTC
From:
To:
the version of libx11-6 is : 1.0.3-4
I have the same bug in my chroot i386 etch distrib

Here the C stack backtrace

gdb /usr/bin/xemacs core
GNU gdb 6.4.90-debian
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 "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

/home/quentin/core: Aucun fichier ou répertoire de ce type.
(gdb) run
Starting program: /usr/bin/xemacs
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47285840389072 (LWP 9075)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47285840389072 (LWP 9075)]
0x00002b0195e11435 in _XInitOM () from /usr/lib/libX11.so.6
(gdb) where
#0  0x00002b0195e11435 in _XInitOM () from /usr/lib/libX11.so.6
#1  0x00002b0195e116d3 in _XInitOM () from /usr/lib/libX11.so.6
#2  0x00002b0195e11edf in _XInitOM () from /usr/lib/libX11.so.6
#3  0x00002b0195dc8e18 in XCreateOC () from /usr/lib/libX11.so.6
#4  0x00002b0195dbcdda in XCreateFontSet () from /usr/lib/libX11.so.6
#5  0x00002b0195b3b1f8 in XtCvtStringToFontSet () from /usr/lib/libXt.so.6
#6  0x00002b0195b36e0a in XtDirectConvert () from /usr/lib/libXt.so.6
#7  0x00002b0195b37197 in _XtConvert () from /usr/lib/libXt.so.6
#8  0x00002b0195b52dea in _XtCopyFromArg () from /usr/lib/libXt.so.6
#9  0x00002b0195b53e91 in _XtGetResources () from /usr/lib/libXt.so.6
#10 0x00002b0195b3d209 in _XtCreateHookObj () from /usr/lib/libXt.so.6
#11 0x00002b0195b3dbcc in _XtCreateWidget () from /usr/lib/libXt.so.6
#12 0x00002b0195b3df9e in XtCreateWidget () from /usr/lib/libXt.so.6
#13 0x00000000005b907c in xlw_pop_instance ()
#14 0x00000000005ad592 in lw_make_widget ()
#15 0x000000000049a149 in vars_of_menubar_x ()
#16 0x000000000058a653 in x_wm_set_cell_size ()
#17 0x00000000004f468a in Fmake_frame ()
#18 0x000000000047f027 in Ffuncall ()
#19 0x00000000004569bb in execute_rare_opcode ()
#20 0x0000000000458dc6 in funcall_compiled_function ()
#21 0x000000000047ef3b in Ffuncall ()
#22 0x00000000004569bb in execute_rare_opcode ()
#23 0x0000000000458dc6 in funcall_compiled_function ()
#24 0x000000000047e38d in Feval ()
#25 0x0000000000482dbe in condition_case_1 ()
#26 0x00000000004565c6 in execute_rare_opcode ()
#27 0x000000000045723f in execute_rare_opcode ()
#28 0x0000000000458dc6 in funcall_compiled_function ()
#29 0x000000000047e38d in Feval ()
#30 0x0000000000482dbe in condition_case_1 ()
#31 0x0000000000461d40 in initial_command_loop ()
#32 0x000000000047d2de in internal_catch ()
#33 0x0000000000461bdd in initial_command_loop ()
#34 0x000000000047ae66 in xemacs_21_4_19_x86_64_pc_linux ()
#35 0x000000000047baf0 in main ()

#56542#58
Date:
2013-10-13 09:54:29 UTC
From:
To:
Dear submitter,

as the package xemacs21 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/725883

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)