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

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

Re: 4 week-old pretest bugs


From: Chris Moore
Subject: Re: 4 week-old pretest bugs
Date: Tue, 09 Jan 2007 20:04:13 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

YAMAMOTO Mitsuharu <address@hidden> writes:

> Could you try to see if the following patch changes the situation?

It took 3 or 4 runs before I got the abort() to happen, but it still
happened.  Told me something about a corrupted dwarf, which made me
smile.

Here's the new gdb output:

address@hidden:~/programs/emacs/src$ gdb ./emacs
GNU gdb 6.5-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 "i486-linux-gnu"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

DISPLAY = :0.0
TERM = dumb
Breakpoint 1 at 0x80f4106: file emacs.c, line 431.
Breakpoint 2 at 0x810d2e9: file sysdep.c, line 1385.
(gdb) run -Q
Starting program: /home/chris/programs/emacs/src/emacs -Q
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1219807008 (LWP 23559)]
[Switching to Thread -1219807008 (LWP 23559)]
Breakpoint 3 at 0x80c93f6: file xterm.c, line 7848.
[New Thread -1230275664 (LWP 23562)]
[New Thread -1233417296 (LWP 23563)]

Breakpoint 1, abort () at emacs.c:431
431       kill (getpid (), SIGABRT);
(gdb) where
#0  abort () at emacs.c:431
#1  0x08148395 in emacs_blocked_free (ptr=0xb69005c8, ptr2=0xb78dbf21)
    at alloc.c:1223
#2  0xb75e08f5 in free () from /lib/tls/libc.so.6
#3  0xb78dbf21 in g_free () from /usr/lib/libglib-2.0.so.0
#4  0xb7da819d in gtk_rc_get_style () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb7e608e8 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#6  0xb7e6120d in gtk_widget_set_name () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x080f0eae in xg_get_file_name (f=0x8603ac8, 
    prompt=0x82bc04d "Find file: ", 
    default_filename=0x87be7a4 "/home/chris/programs/emacs/src/", 
    mustmatch_p=0, only_dir_p=0) at gtkutil.c:1551
#8  0x080d1c10 in Fx_file_dialog (prompt=136174920, dir=139876723, 
    default_filename=140520968, mustmatch=137468105, only_dir_p=137468105)
    at xfns.c:5573
#9  0x08123df8 in Fread_file_name (prompt=136174923, 
    dir=<value optimized out>, default_filename=<value optimized out>, 
    mustmatch=137468105, initial=137468105, predicate=<value optimized out>)
    at fileio.c:6401
#10 0x0815bc0a in Ffuncall (nargs=5, args=0xbfff00c0) at eval.c:3016
#11 0x0818642a in Fbyte_code (bytestr=136174603, vector=136174620, 
    maxdepth=40) at bytecode.c:679
#12 0x0815b5e4 in funcall_lambda (fun=136174564, nargs=2, 
    arg_vector=0xbfff0190) at eval.c:3184
#13 0x0815b7f7 in apply_lambda (fun=136174564, args=136174917, eval_flag=1)
    at eval.c:3108
#14 0x0815aeb8 in Feval (form=136174909) at eval.c:2370
#15 0x08158aa6 in Fcall_interactively (function=137779033, 
    record_flag=137468105, keys=137508620) at callint.c:378
#16 0x080f8cd3 in Fcommand_execute (cmd=137779033, 
record_flag=dwarf2_read_address: Corrupted DWARF expression.
)
    at keyboard.c:10013
#17 0x081046da in command_loop_1 () at keyboard.c:1873
#18 0x0815a61b in internal_condition_case (bfun=0x8104360 <command_loop_1>, 
    handlers=137512761, hfun=0x80fed00 <cmd_error>) at eval.c:1481
#19 0x080fe0de in command_loop_2 () at keyboard.c:1329
#20 0x0815a6dc in internal_catch (tag=137506745, 
    func=0x80fe0b0 <command_loop_2>, arg=137468105) at eval.c:1222
#21 0x080feb4e in command_loop () at keyboard.c:1308
#22 0x080feed8 in recursive_edit_1 () at keyboard.c:1006
#23 0x080fefc6 in Frecursive_edit () at keyboard.c:1067
#24 0x080f4eb2 in main (argc=Cannot access memory at address 0x0
) at emacs.c:1761

Lisp Backtrace:
"read-file-name" (0x81ddd4b)
"find-file-read-args" (0x81ddd4b)
"call-interactively" (0x8365759)
(gdb) info threads
  3 Thread -1233417296 (LWP 23563)  0xb6fc655b in gnome_vfs_xfer_uri ()
   from /usr/lib/libgnomevfs-2.so.0
  2 Thread -1230275664 (LWP 23562)  0xb763ce49 in poll ()
   from /lib/tls/libc.so.6
* 1 Thread -1219807008 (LWP 23559)  abort () at emacs.c:431
(gdb) thr 1
[Switching to thread 1 (Thread -1219807008 (LWP 23559))]#0  abort ()
    at emacs.c:431
431       kill (getpid (), SIGABRT);
(gdb) bt
#0  abort () at emacs.c:431
#1  0x08148395 in emacs_blocked_free (ptr=0xb69005c8, ptr2=0xb78dbf21)
    at alloc.c:1223
#2  0xb75e08f5 in free () from /lib/tls/libc.so.6
#3  0xb78dbf21 in g_free () from /usr/lib/libglib-2.0.so.0
#4  0xb7da819d in gtk_rc_get_style () from /usr/lib/libgtk-x11-2.0.so.0
#5  0xb7e608e8 in gtk_widget_set_usize () from /usr/lib/libgtk-x11-2.0.so.0
#6  0xb7e6120d in gtk_widget_set_name () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x080f0eae in xg_get_file_name (f=0x8603ac8, 
    prompt=0x82bc04d "Find file: ", 
    default_filename=0x87be7a4 "/home/chris/programs/emacs/src/", 
    mustmatch_p=0, only_dir_p=0) at gtkutil.c:1551
#8  0x080d1c10 in Fx_file_dialog (prompt=136174920, dir=139876723, 
    default_filename=140520968, mustmatch=137468105, only_dir_p=137468105)
    at xfns.c:5573
#9  0x08123df8 in Fread_file_name (prompt=136174923, 
    dir=<value optimized out>, default_filename=<value optimized out>, 
    mustmatch=137468105, initial=137468105, predicate=<value optimized out>)
    at fileio.c:6401
#10 0x0815bc0a in Ffuncall (nargs=5, args=0xbfff00c0) at eval.c:3016
#11 0x0818642a in Fbyte_code (bytestr=136174603, vector=136174620, 
    maxdepth=40) at bytecode.c:679
#12 0x0815b5e4 in funcall_lambda (fun=136174564, nargs=2, 
    arg_vector=0xbfff0190) at eval.c:3184
#13 0x0815b7f7 in apply_lambda (fun=136174564, args=136174917, eval_flag=1)
    at eval.c:3108
#14 0x0815aeb8 in Feval (form=136174909) at eval.c:2370
#15 0x08158aa6 in Fcall_interactively (function=137779033, 
    record_flag=137468105, keys=137508620) at callint.c:378
#16 0x080f8cd3 in Fcommand_execute (cmd=137779033, 
record_flag=dwarf2_read_address: Corrupted DWARF expression.
)
    at keyboard.c:10013
#17 0x081046da in command_loop_1 () at keyboard.c:1873
#18 0x0815a61b in internal_condition_case (bfun=0x8104360 <command_loop_1>, 
    handlers=137512761, hfun=0x80fed00 <cmd_error>) at eval.c:1481
#19 0x080fe0de in command_loop_2 () at keyboard.c:1329
#20 0x0815a6dc in internal_catch (tag=137506745, 
    func=0x80fe0b0 <command_loop_2>, arg=137468105) at eval.c:1222
#21 0x080feb4e in command_loop () at keyboard.c:1308
#22 0x080feed8 in recursive_edit_1 () at keyboard.c:1006
#23 0x080fefc6 in Frecursive_edit () at keyboard.c:1067
#24 0x080f4eb2 in main (argc=Cannot access memory at address 0x0
) at emacs.c:1761

Lisp Backtrace:
"read-file-name" (0x81ddd4b)
"find-file-read-args" (0x81ddd4b)
"call-interactively" (0x8365759)
(gdb) thr 2
[Switching to thread 2 (Thread -1230275664 (LWP 23562))]#0  0xb763ce49 in poll
    () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb763ce49 in poll () from /lib/tls/libc.so.6
#1  0xb78d7bc9 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb78d7f57 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0xb6ecbb50 in link_set_io_thread () from /usr/lib/libORBit-2.so.0
#4  0xb78f26bf in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5  0xb789c0bd in start_thread () from /lib/tls/libpthread.so.0
#6  0xb764693e in clone () from /lib/tls/libc.so.6

Lisp Backtrace:
"read-file-name" (0x81ddd4b)
"find-file-read-args" (0x81ddd4b)
"call-interactively" (0x8365759)
(gdb) thr 3
[Switching to thread 3 (Thread -1233417296 (LWP 23563))]#0  0xb6fc655b in 
gnome_vfs_xfer_uri () from /usr/lib/libgnomevfs-2.so.0
(gdb) bt
#0  0xb6fc655b in gnome_vfs_xfer_uri () from /usr/lib/libgnomevfs-2.so.0
#1  0xb6fc71e5 in gnome_vfs_xfer_uri () from /usr/lib/libgnomevfs-2.so.0
#2  0xb6fc8102 in xdg_mime_dump () from /usr/lib/libgnomevfs-2.so.0
#3  0xb6fafde4 in gnome_vfs_mime_type_from_name_or_default ()
   from /usr/lib/libgnomevfs-2.so.0
#4  0xb6fb05cb in gnome_vfs_get_mime_type_from_file_data ()
   from /usr/lib/libgnomevfs-2.so.0
#5  0xb6ffd0cf in vfs_module_shutdown ()
   from /usr/lib/gnome-vfs-2.0/modules/libfile.so
#6  0xb6ffd69c in vfs_module_shutdown ()
   from /usr/lib/gnome-vfs-2.0/modules/libfile.so
#7  0xb6fa3426 in gnome_vfs_directory_read_next_cancellable ()
   from /usr/lib/libgnomevfs-2.so.0
#8  0xb6fa82db in gnome_vfs_job_get_count () from /usr/lib/libgnomevfs-2.so.0
#9  0x088cd2f0 in ?? ()
#10 0x088c4f90 in ?? ()
#11 0x088cd828 in ?? ()
#12 0x088cd828 in ?? ()
#13 0xb76a8ff4 in ?? () from /lib/tls/libc.so.6
#14 0xb76aa4c0 in __after_morecore_hook () from /lib/tls/libc.so.6
#15 0x00000000 in ?? ()

Lisp Backtrace:
"read-file-name" (0x81ddd4b)
"find-file-read-args" (0x81ddd4b)
"call-interactively" (0x8365759)
(gdb) 




reply via email to

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