all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* (standard-syntax-table) segfault on FreeBSD
@ 2003-01-13 21:07 Mirian Crzig Lennox
  2003-01-17 11:14 ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: Mirian Crzig Lennox @ 2003-01-13 21:07 UTC (permalink / raw)


Has anyone else seen this?

I am running a stock emacs-21.2 on FreeBSD.  When I evaluate

	(standard-syntax-table)

in the *scratch* buffer, Emacs will print it but crashes with a signal
11 almost immediately afterwards.  Giving the -q option to avoid
reading my .emacs file has no effect on the problem.

This problem seems to be peculiar to FreeBSD.  When I try the same
thing on the same source version of Emacs running on Debian GNU/Linux,
I do not see this crash.

--Mirian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (standard-syntax-table) segfault on FreeBSD
  2003-01-13 21:07 (standard-syntax-table) segfault on FreeBSD Mirian Crzig Lennox
@ 2003-01-17 11:14 ` Kenichi Handa
  2003-01-17 15:45   ` Mirian Crzig Lennox
  0 siblings, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2003-01-17 11:14 UTC (permalink / raw)
  Cc: emacs-devel

In article <20030113160702.A5087@cosmic.com>, Mirian Crzig Lennox <mirian@cosmic.com> writes:
> Has anyone else seen this?
> I am running a stock emacs-21.2 on FreeBSD.  When I evaluate

> 	(standard-syntax-table)

> in the *scratch* buffer, Emacs will print it but crashes with a signal
> 11 almost immediately afterwards.  Giving the -q option to avoid
> reading my .emacs file has no effect on the problem.

> This problem seems to be peculiar to FreeBSD.  When I try the same
> thing on the same source version of Emacs running on Debian GNU/Linux,
> I do not see this crash.

I've just tried emacs-21.2 and CVS HEAD on FreeBSD
4.6.1-RC2, but can't reproduce that bug.

Please run Emacs under gdb and show us the backtrace of the
crashing point?

---
Ken'ichi HANDA
handa@m17n.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (standard-syntax-table) segfault on FreeBSD
  2003-01-17 11:14 ` Kenichi Handa
@ 2003-01-17 15:45   ` Mirian Crzig Lennox
  2003-01-17 16:57     ` Kim F. Storm
  0 siblings, 1 reply; 5+ messages in thread
From: Mirian Crzig Lennox @ 2003-01-17 15:45 UTC (permalink / raw)
  Cc: emacs-devel

On Fri, Jan 17, 2003 at 08:14:44PM +0900, Kenichi Handa wrote:
> In article <20030113160702.A5087@cosmic.com>, Mirian Crzig Lennox <mirian@cosmic.com> writes:
> 
> I've just tried emacs-21.2 and CVS HEAD on FreeBSD
> 4.6.1-RC2, but can't reproduce that bug.

I've gotten the problem on both 4.6-RELEASE and 4.7-RELEASE, with
emacs-21.2.

With some playing around, I've determined that if I start emacs with
the -nw switch (to disable X11 support), the problem does NOT occur.

> Please run Emacs under gdb and show us the backtrace of the
> crashing point?

Here it is.  I was incorrect about the problem being a segfault; it is
actually a bus error:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Program received signal SIGBUS, Bus error.
0x284b1dd8 in _init () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
(gdb) where
#0  0x284b1dd8 in _init () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
#1  0x284bd298 in _XimFilterPropertyNotify ()
   from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
#2  0x28381560 in XFilterEvent () from /usr/X11R6/lib/libX11.so.6
#3  0x80b0b20 in XTread_socket (sd=0, bufp=0xbfbd31fc, numchars=4096, 
    expected=1) at xterm.c:9965
#4  0x80d5bc1 in read_avail_input (expected=1) at keyboard.c:6133
#5  0x80d5d86 in input_available_signal (signo=23) at keyboard.c:6296
#6  0xbfbfffac in ?? ()
#7  0x8056291 in sit_for (sec=30, usec=0, reading=1, display=1, 
    initial_display=0) at dispnew.c:6247
#8  0x80d1c49 in read_char (commandflag=1, nmaps=2, maps=0xbfbff630, 
    prev_event=405216260, used_mouse_menu=0xbfbff678) at keyboard.c:2491
#9  0x80d81d7 in read_key_sequence (keybuf=0xbfbff780, bufsize=30, 
    prompt=405216260, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8180
#10 0x80d0364 in command_loop_1 () at keyboard.c:1440
#11 0x8120ec1 in internal_condition_case (bfun=0x80d0070 <command_loop_1>, 
    handlers=405338308, hfun=0x80cfcbc <cmd_error>) at eval.c:1267
#12 0x80cff4c in command_loop_2 () at keyboard.c:1245
#13 0x8120ae8 in internal_catch (tag=405290660, 
    func=0x80cff2c <command_loop_2>, arg=405216260) at eval.c:1030
#14 0x80cfefe in command_loop () at keyboard.c:1224
#15 0x80cfa85 in recursive_edit_1 () at keyboard.c:950
#16 0x80cfbac in Frecursive_edit () at keyboard.c:1006
#17 0x80ceb40 in main (argc=4, argv=0xbfbffa8c, envp=0xbfbffaa0)
    at emacs.c:1547
(gdb) 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

--Mirian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (standard-syntax-table) segfault on FreeBSD
  2003-01-17 15:45   ` Mirian Crzig Lennox
@ 2003-01-17 16:57     ` Kim F. Storm
  2003-01-17 18:59       ` Mirian Crzig Lennox
  0 siblings, 1 reply; 5+ messages in thread
From: Kim F. Storm @ 2003-01-17 16:57 UTC (permalink / raw)
  Cc: Kenichi Handa

Mirian Crzig Lennox <mirian@cosmic.com> writes:

> On Fri, Jan 17, 2003 at 08:14:44PM +0900, Kenichi Handa wrote:
> > In article <20030113160702.A5087@cosmic.com>, Mirian Crzig Lennox <mirian@cosmic.com> writes:
> > 
> > I've just tried emacs-21.2 and CVS HEAD on FreeBSD
> > 4.6.1-RC2, but can't reproduce that bug.
> 
> I've gotten the problem on both 4.6-RELEASE and 4.7-RELEASE, with
> emacs-21.2.
> 
> With some playing around, I've determined that if I start emacs with
> the -nw switch (to disable X11 support), the problem does NOT occur.
> 
> > Please run Emacs under gdb and show us the backtrace of the
> > crashing point?
> 
> Here it is.  I was incorrect about the problem being a segfault; it is
> actually a bus error:
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Program received signal SIGBUS, Bus error.
> 0x284b1dd8 in _init () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
> (gdb) where
> #0  0x284b1dd8 in _init () from /usr/X11R6/lib/X11/locale/common/ximcp.so.2
> #1  0x284bd298 in _XimFilterPropertyNotify ()
>    from /usr/X11R6/lib/X11/locale/common/ximcp.so.2


What happens if you rebuild emacs using:

        ./configure --without-xim

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (standard-syntax-table) segfault on FreeBSD
  2003-01-17 16:57     ` Kim F. Storm
@ 2003-01-17 18:59       ` Mirian Crzig Lennox
  0 siblings, 0 replies; 5+ messages in thread
From: Mirian Crzig Lennox @ 2003-01-17 18:59 UTC (permalink / raw)
  Cc: Kenichi Handa

On Fri, Jan 17, 2003 at 05:57:27PM +0100, Kim F. Storm wrote:
> 
> What happens if you rebuild emacs using:
>         ./configure --without-xim
> 

In that case, I don't get the crash.

--Mirian

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-01-17 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-13 21:07 (standard-syntax-table) segfault on FreeBSD Mirian Crzig Lennox
2003-01-17 11:14 ` Kenichi Handa
2003-01-17 15:45   ` Mirian Crzig Lennox
2003-01-17 16:57     ` Kim F. Storm
2003-01-17 18:59       ` Mirian Crzig Lennox

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.