[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reentrant call to malloc/free
From: |
Dr. Carsten Bormann |
Subject: |
Reentrant call to malloc/free |
Date: |
Wed, 05 Jul 2006 13:25:12 +0200 |
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the address@hidden mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
(This is the Carbon Emacs distribution, generated 2006-06-16:)
While typing input (apparently often related to file/process
operations, such as minibuffer completions of file names), emacs
occasionally (say, once a day in heavy usage) hangs and uses high CPU
(most of which is system time). Attaching GDB says:
(gdb) where
#0 0xffff85d8 in ___spin_lock_relinquish () at
/System/Library/Frameworks/System.framework/PrivateHeaders/ppc/cpu_capabilities.h:186
#1 0x900038d4 in szone_malloc ()
#2 0x90003804 in malloc_zone_malloc ()
#3 0x907ba488 in CFAllocatorAllocate ()
#4 0x907db41c in CFRunLoopRunSpecific ()
#5 0x931eb740 in RunCurrentEventLoopInMode ()
#6 0x931ead4c in ReceiveNextEventCommon ()
#7 0x932ef940 in ReceiveNextEventInMode ()
#8 0x0024e5a0 in XTread_socket ()
#9 0x000eb1ec in read_avail_input ()
#10 0x000e0804 in poll_for_input_1 ()
#11 0x000e0850 in poll_for_input ()
#12 0x00213930 in alarm_signal_handler ()
#13 <signal handler called>
#14 0x90006a8c in szone_free ()
#15 0x03200000 in ?? ()
#16 0x9005d7dc in getgr_internal ()
#17 0x9005d070 in getgr ()
#18 0x0013ed6c in Ffile_attributes ()
#19 0x001a4454 in Ffuncall ()
#20 0x001f96bc in Fbyte_code ()
#21 0x001a50e8 in funcall_lambda ()
#22 0x001a4798 in Ffuncall ()
#23 0x001a3054 in Fapply ()
#24 0x001a4210 in Ffuncall ()
#25 0x001f96bc in Fbyte_code ()
#26 0x001a50e8 in funcall_lambda ()
#27 0x001a4798 in Ffuncall ()
#28 0x001f96bc in Fbyte_code ()
#29 0x001a50e8 in funcall_lambda ()
#30 0x001a4798 in Ffuncall ()
#31 0x001f96bc in Fbyte_code ()
#32 0x001a50e8 in funcall_lambda ()
#33 0x001a4798 in Ffuncall ()
#34 0x001a3054 in Fapply ()
#35 0x001a4210 in Ffuncall ()
#36 0x001f96bc in Fbyte_code ()
#37 0x001a50e8 in funcall_lambda ()
#38 0x001a4798 in Ffuncall ()
#39 0x001f96bc in Fbyte_code ()
#40 0x001a50e8 in funcall_lambda ()
#41 0x001a4798 in Ffuncall ()
#42 0x001f96bc in Fbyte_code ()
#43 0x001a50e8 in funcall_lambda ()
#44 0x001a4798 in Ffuncall ()
#45 0x001a3748 in run_hook_with_args ()
#46 0x001a33c0 in Frun_hooks ()
#47 0x001a4210 in Ffuncall ()
#48 0x001f96bc in Fbyte_code ()
#49 0x001a50e8 in funcall_lambda ()
#50 0x001a4798 in Ffuncall ()
#51 0x001f96bc in Fbyte_code ()
#52 0x001a50e8 in funcall_lambda ()
#53 0x001a4798 in Ffuncall ()
#54 0x001f96bc in Fbyte_code ()
#55 0x001a50e8 in funcall_lambda ()
#56 0x001a4798 in Ffuncall ()
#57 0x001f96bc in Fbyte_code ()
#58 0x001a50e8 in funcall_lambda ()
#59 0x001a4798 in Ffuncall ()
#60 0x001a3338 in Fapply ()
#61 0x001a3a24 in apply1 ()
#62 0x0019ac08 in Fcall_interactively ()
#63 0x000f3520 in Fcommand_execute ()
#64 0x000def54 in command_loop_1 ()
#65 0x001a091c in internal_condition_case ()
#66 0x000dcd98 in command_loop_2 ()
#67 0x001a0070 in internal_catch ()
#68 0x000dccfc in command_loop ()
#69 0x000dc36c in recursive_edit_1 ()
#70 0x000dc5ec in Frecursive_edit ()
#71 0x000da14c in main ()
(gdb)
I have seen this problem before in May/June vintage Mac (Carbon)
Emacsen I generated straight from CVS, so this is not a completely new
problem.
---------------------------------
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions.
In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.6.0)
of 2006-06-16 on mini.local
X server distributor `Apple Computers', version 10.4.7
configured using `configure
'--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon'
'--without-x' '--libexecdir=/Volumes/Emacs/Emacs.app/Contents/MacOS/libexec'
'CFLAGS=-arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-DUSE_ATSUI -DUSE_MAC_TSM''
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: iso-8859-1
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
show-paren-mode: t
encoded-kbd-mode: t
iswitchb-mode: t
partial-completion-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
size-indication-mode: t
line-number-mode: t
Recent input:
<menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Loading /Users/cabo/el/xmlunicode.el (source)...done
Loading comint-complete (compiled; note, source file is newer)...done
Loading sendmail...done
Loading ps-print...done
Loading texinfo...done
Loading paren...done
Mark set [2 times]
Wrote /Users/cabo/mem/emacs
GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.6.0) of 2006-06-16 on mini.local
Loading emacsbug...done
- Reentrant call to malloc/free,
Dr. Carsten Bormann <=