all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* re: possible bug in emacs
@ 2002-08-12 23:34 Iain Buchanan
  2002-08-13  9:52 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Iain Buchanan @ 2002-08-12 23:34 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 4276 bytes --]

various actions cause emacs to seg fault.  Usually mouse clicking somewhere within the file. I am not a gdb master but I attached gdb to a running emacs process (that always died on a particular file when I clicked anywhere) and this is what it said...
-------
$ gdb emacs 6918
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 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 "i386-redhat-linux"...
Attaching to program: /usr/bin/emacs, process 6918
Reading symbols from /usr/X11R6/lib/libXaw3d.so.7...done.
Loaded symbols for /usr/X11R6/lib/libXaw3d.so.7
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng.so.2...done.
Loaded symbols for /usr/lib/libpng.so.2
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libungif.so.4...done.
Loaded symbols for /usr/lib/libungif.so.4
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/lib/libncurses.so.5...done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xlcDef.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2
0x403be3fe in select () from /lib/libc.so.6
(gdb) continue
Continuing.
<<< --- click in emacs here --- >>>
Program received signal SIGSEGV, Segmentation fault.
0x080505e4 in increment_row_positions ()
(gdb) continue
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x403100a1 in kill () from /lib/libc.so.6
(gdb) continue
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) 

-------
I 'clicked' after the first continue (before the first SIGSEGV).  emacs itself was started as 'emacs /usr/bin/ooffice &'.  The problem does not seem to occur when emacs is not started with &, but it reoccurs when sent to the background.

Hope this information is usefull.



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: possible bug in emacs
  2002-08-12 23:34 possible bug in emacs Iain Buchanan
@ 2002-08-13  9:52 ` Eli Zaretskii
  2002-08-13 23:40   ` Iain Buchanan
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2002-08-13  9:52 UTC (permalink / raw)
  Cc: bug-gnu-emacs

> From: Iain Buchanan <iain@pcorp.com.au>
> Date: 13 Aug 2002 09:04:39 +0930
> 
> various actions cause emacs to seg fault.  Usually mouse clicking somewhere
> within the file. I am not a gdb master but I attached gdb to a running
> emacs process (that always died on a particular file when I clicked anywhere)
> and this is what it said...

Please see the file etc/DEBUG in the distribution for some guidelines
about debugging Emacs.

> <<< --- click in emacs here --- >>>
> Program received signal SIGSEGV, Segmentation fault.
> 0x080505e4 in increment_row_positions ()
> (gdb) continue
> Continuing.

At this point, instead of "continue", type "bt".  This should print
the C-level backtrace of function calls that led to the crash.
Please post that backtrace here.

Thanks.

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

* Re: possible bug in emacs
  2002-08-13  9:52 ` Eli Zaretskii
@ 2002-08-13 23:40   ` Iain Buchanan
  0 siblings, 0 replies; 3+ messages in thread
From: Iain Buchanan @ 2002-08-13 23:40 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 1670 bytes --]

On Tue, 2002-08-13 at 19:22, Eli Zaretskii wrote:
> > From: Iain Buchanan <iain@pcorp.com.au>
> > Date: 13 Aug 2002 09:04:39 +0930
> > 
> > various actions cause emacs to seg fault.  Usually mouse clicking somewhere
> > within the file. I am not a gdb master but I attached gdb to a running
> > emacs process (that always died on a particular file when I clicked anywhere)
> > and this is what it said...
> 
> Please see the file etc/DEBUG in the distribution for some guidelines
> about debugging Emacs.
> 
> > <<< --- click in emacs here --- >>>
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x080505e4 in increment_row_positions ()
> > (gdb) continue
> > Continuing.
> 
> At this point, instead of "continue", type "bt".  This should print
> the C-level backtrace of function calls that led to the crash.
> Please post that backtrace here.
> 
> Thanks.

Oops sorry, I thought I included all the version info.  It must have
been late...

GNU Emacs 21.2.1
RedHat 7.3
Linux 2.4.18-5


Program received signal SIGSEGV, Segmentation fault.
0x080505e4 in increment_row_positions ()
(gdb) bt
#0  0x080505e4 in increment_row_positions ()
#1  0x0804fe2b in increment_matrix_positions ()
#2  0x08067b6b in redisplay_internal ()
#3  0x080575f8 in sit_for ()
#4  0x080d97c3 in command_loop_1 ()
#5  0x0812e13c in internal_condition_case ()
#6  0x080d8a18 in command_loop_2 ()
#7  0x0812dcb6 in internal_catch ()
#8  0x080d8994 in command_loop ()
#9  0x080d84dd in recursive_edit_1 ()
#10 0x080d860f in Frecursive_edit ()
#11 0x080d74bb in main ()
#12 0x402ff1c4 in __libc_start_main () from /lib/libc.so.6

Iain


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

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

end of thread, other threads:[~2002-08-13 23:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-12 23:34 possible bug in emacs Iain Buchanan
2002-08-13  9:52 ` Eli Zaretskii
2002-08-13 23:40   ` Iain Buchanan

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.