emacs-devel
[Top][All Lists]
Advanced

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

Crash in opening tar file in GNU Emacs on WXP


From: dhruva
Subject: Crash in opening tar file in GNU Emacs on WXP
Date: Thu, 7 Aug 2008 17:56:55 +0530 (IST)

I am using GNU Emacs built using MinGW GCC on WXP-SP3. I had reported this 
crash earlier, I am posting it again as I still see the same crash. This is 
100% repeatable.


1. On opening a tar file (containing src/w32fns.c file only) by running 'emacs 
-q', I get the following backtrace.

#0  0x0119fda3 in re_search_2 (bufp=0x137b2b0, str1=0x3967950 "", size1=226931, 
str2=0x39a1720 <Address 0x39a1720 out of bounds>, size2=0, startpos=19820, 
range=188355, regs=0x136e100, stop=226931) at regex.c:4557
#1  0x011509df in search_buffer (string=45100771, pos=513, pos_byte=513, 
lim=227444, lim_byte=227444, n=1, RE=1, trt=53852164, inverse_trt=53851652, 
posix=0) at search.c:1190
#2  0x01150345 in search_command (string=45100771, bound=1819552, 
noerror=44648497, count=44648449, direction=1, RE=1, posix=0) at search.c:972
#3  0x01154272 in Fre_search_forward (regexp=45100771, bound=1819552, 
noerror=44648497, count=44648449) at search.c:2306
#4  0x01023f1a in Ffuncall (nargs=4, args=0x82ebf0) at eval.c:3052
#5  0x0111804e in Fbyte_code (bytestr=18845075, vector=18845092, maxdepth=32) 
at bytecode.c:678
#6  0x010245fb in funcall_lambda (fun=18845028, nargs=2, arg_vector=0x82ef04) 
at eval.c:3229
#7  0x010240cf in Ffuncall (nargs=3, args=0x82ef00) at eval.c:3088
#8  0x0111804e in Fbyte_code (bytestr=18845699, vector=18845716, maxdepth=48) 
at bytecode.c:678
#9  0x010245fb in funcall_lambda (fun=18845652, nargs=2, arg_vector=0x82f224) 
at eval.c:3229
#10 0x010240cf in Ffuncall (nargs=3, args=0x82f220) at eval.c:3088
#11 0x0111804e in Fbyte_code (bytestr=18846371, vector=18846388, maxdepth=32) 
at bytecode.c:678
#12 0x010245fb in funcall_lambda (fun=18846324, nargs=2, arg_vector=0x82f534) 
at eval.c:3229
#13 0x010240cf in Ffuncall (nargs=3, args=0x82f530) at eval.c:3088
#14 0x0111804e in Fbyte_code (bytestr=49770579, vector=46639620, maxdepth=48) 
at bytecode.c:678
#15 0x010245fb in funcall_lambda (fun=58091140, nargs=0, arg_vector=0x82f884) 
at eval.c:3229
#16 0x010240cf in Ffuncall (nargs=1, args=0x82f880) at eval.c:3088
#17 0x01023950 in apply1 (fn=49841201, arg=44648449) at eval.c:2783
#18 0x0111b1e0 in Fcall_interactively (function=49841201, record_flag=44648449, 
keys=44681988) at callint.c:389
#19 0x01023ee3 in Ffuncall (nargs=4, args=0x82fb18) at eval.c:3048
#20 0x01023a52 in call3 (fn=44843105, arg1=49841201, arg2=44648449, 
arg3=44648449) at eval.c:2868
#21 0x01015344 in Fcommand_execute (cmd=49841201, record_flag=44648449, 
keys=44648449, special=44648449) at keyboard.c:10338
#22 0x01007823 in command_loop_1 () at keyboard.c:1879
#23 0x01021a66 in internal_condition_case (bfun=0x10060cf <command_loop_1>, 
handlers=44712201, hfun=0x1005acc <cmd_error>) at eval.c:1511
#24 0x01005e18 in command_loop_2 () at keyboard.c:1338
#25 0x01021576 in internal_catch (tag=44708273, func=0x1005df8 
<command_loop_2>, arg=44648449) at eval.c:1247
#26 0x01005dcf in command_loop () at keyboard.c:1317
#27 0x010056d2 in recursive_edit_1 () at keyboard.c:942
#28 0x01005840 in Frecursive_edit () at keyboard.c:1004
#29 0x010027dc in main (argc=2, argv=0xa42f58) at emacs.c:1689

Lisp Backtrace:
"re-search-forward" (0x82ebf4)
"auto-coding-regexp-alist-lookup" (0x82ef04)
"find-auto-coding" (0x82f224)
"set-auto-coding" (0x82f534)
"tar-extract" (0x82f884)
"call-interactively" (0x82fb1c)
(gdb)


2. If I open the same tar file after loading 'tar-mode' library, I get the 
following trace.

#0  w32_abort () at w32fns.c:7315
#1  0x01191dc8 in r_re_alloc (ptr=0x2ed3a08, size=2045) at ralloc.c:1028
#2  0x010705b5 in enlarge_buffer_text (b=0x2ed3a00, delta=2024) at buffer.c:5051
#3  0x01147c39 in make_gap_larger (nbytes_added=2024) at insdel.c:526
#4  0x01147f65 in make_gap (nbytes_added=24) at insdel.c:621
#5  0x01148b51 in insert_from_string_1 (string=54281507, pos=0, pos_byte=0, 
nchars=44, nbytes=44, inherit=0, before_markers=0) at insdel.c:1107
#6  0x011489d3 in insert_from_string (string=54281507, pos=0, pos_byte=0, 
length=44, length_byte=44, inherit=0) at insdel.c:1048
#7  0x0113af88 in general_insert_function (insert_func=0x1148330 <insert>, 
insert_from_string_func=0x114899a <insert_from_string>, inherit=0, nargs=2, 
args=0x82da70) at editfns..c:2180
#8  0x0113afe9 in Finsert (nargs=2, args=0x0) at editfns.c:2224
#9  0x01119d4f in Fbyte_code (bytestr=45014275, vector=50620932, maxdepth=48) 
at bytecode.c:1265
#10 0x010245fb in funcall_lambda (fun=49972548, nargs=0, arg_vector=0x82dd94) 
at eval.c:3229
#11 0x010240cf in Ffuncall (nargs=1, args=0x82dd90) at eval.c:3088
#12 0x0111804e in Fbyte_code (bytestr=44790611, vector=50620164, maxdepth=40) 
at bytecode.c:678
#13 0x010245fb in funcall_lambda (fun=50097316, nargs=0, arg_vector=0x82e0b4) 
at eval.c:3229
#14 0x010240cf in Ffuncall (nargs=1, args=0x82e0b0) at eval.c:3088
#15 0x0111804e in Fbyte_code (bytestr=18910803, vector=18910820, maxdepth=24) 
at bytecode.c:678
#16 0x010245fb in funcall_lambda (fun=18910748, nargs=2, arg_vector=0x82e3c4) 
at eval.c:3229
#17 0x010240cf in Ffuncall (nargs=3, args=0x82e3c0) at eval.c:3088
#18 0x0111804e in Fbyte_code (bytestr=18910259, vector=18910276, maxdepth=40) 
at bytecode.c:678
#19 0x010245fb in funcall_lambda (fun=18910212, nargs=0, arg_vector=0x82e650) 
at eval.c:3229
#20 0x010242e5 in apply_lambda (fun=18910212, args=44648449, eval_flag=1) at 
eval.c:3153
#21 0x010231c7 in Feval (form=18905773) at eval.c:2415
#22 0x0102196a in internal_lisp_condition_case (var=45137305, 
bodyform=18905773, handlers=18905781) at eval.c:1456
#23 0x01118d07 in Fbyte_code (bytestr=18905667, vector=18905684, maxdepth=32) 
at bytecode.c:868
#24 0x010245fb in funcall_lambda (fun=18905620, nargs=1, arg_vector=0x82eb64) 
at eval.c:3229
#25 0x010240cf in Ffuncall (nargs=2, args=0x82eb60) at eval.c:3088
#26 0x0111804e in Fbyte_code (bytestr=18905019, vector=18905036, maxdepth=40) 
at bytecode.c:678
#27 0x010245fb in funcall_lambda (fun=18904940, nargs=2, arg_vector=0x82ee84) 
at eval..c:3229
#28 0x010240cf in Ffuncall (nargs=3, args=0x82ee80) at eval.c:3088
#29 0x0111804e in Fbyte_code (bytestr=18903259, vector=18903276, maxdepth=24) 
at bytecode.c:678
#30 0x010245fb in funcall_lambda (fun=18903188, nargs=6, arg_vector=0x82f194) 
at eval.c:3229
#31 0x010240cf in Ffuncall (nargs=7, args=0x82f190) at eval.c:3088
#32 0x0111804e in Fbyte_code (bytestr=18902363, vector=18902380, maxdepth=64) 
at bytecode.c:678
#33 0x010245fb in funcall_lambda (fun=18902292, nargs=4, arg_vector=0x82f4b4) 
at eval.c:3229
#34 0x010240cf in Ffuncall (nargs=5, args=0x82f4b0) at eval.c:3088
#35 0x0111804e in Fbyte_code (bytestr=18897243, vector=18897260, maxdepth=48) 
at bytecode.c:678
#36 0x010245fb in funcall_lambda (fun=18897188, nargs=2, arg_vector=0x82f7d4) 
at eval.c:3229
#37 0x010240cf in Ffuncall (nargs=3, args=0x82f7d0) at eval.c:3088
#38 0x010235d8 in Fapply (nargs=2, args=0x82f85c) at eval.c:2530
#39 0x01023985 in apply1 (fn=53652417, arg=49255741) at eval.c:2791
#40 0x0111b1e0 in Fcall_interactively (function=53652417, record_flag=44648449, 
keys=44681988) at callint.c:389
#41 0x01023ee3 in Ffuncall (nargs=4, args=0x82fb18) at eval.c:3048
#42 0x01023a52 in call3 (fn=44843105, arg1=53652417, arg2=44648449, 
arg3=44648449) at eval.c:2868
#43 0x01015344 in Fcommand_execute (cmd=53652417, record_flag=44648449, 
keys=44648449, special=44648449) at keyboard.c:10338
#44 0x01007823 in command_loop_1 () at keyboard.c:1879
#45 0x01021a66 in internal_condition_case (bfun=0x10060cf <command_loop_1>, 
handlers=44712201, hfun=0x1005acc <cmd_error>) at eval.c:1511
#46 0x01005e18 in command_loop_2 () at keyboard.c:1338
#47 0x01021576 in internal_catch (tag=44708273, func=0x1005df8 
<command_loop_2>, arg=44648449) at eval.c:1247
#48 0x01005dcf in command_loop () at keyboard.c:1317
#49 0x010056d2 in recursive_edit_1 () at keyboard.c:942
#50 0x01005840 in Frecursive_edit () at keyboard.c:1004
#51 0x010027dc in main (argc=2, argv=0xa42f58) at emacs.c:1689

Lisp Backtrace:
"tar-summarize-buffer" (0x82dd94)
"tar-mode" (0x82e0b4)
"set-auto-mode-0" (0x82e3c4)
"set-auto-mode" (0x82e650)
"normal-mode" (0x82eb64)
"after-find-file" (0x82ee84)
"find-file-noselect-1" (0x82f194)
"find-file-noselect" (0x82f4b4)
"find-file" (0x82f7d4)
"call-interactively" (0x82fb1c)
(gdb)


-dhruva



      Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/





reply via email to

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