emacs-devel
[Top][All Lists]
Advanced

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

Re: GDB debugger mode for Emacs in ELPA


From: filerz-emacs
Subject: Re: GDB debugger mode for Emacs in ELPA
Date: Fri, 27 Jun 2008 11:14:07 +0530 (IST)

Hello,

----- Original Message ----
> From: Nick Roberts <address@hidden>
> I don't know why your stack trace gives no arguments for r_re_alloc as it has
> two in ralloc.c.  Is it possible that Emacs has found a different copy, i.e.
> one without symbols?  

I have a build using optimizations (O2). I now have a build with optimizations 
disabled.

> Just guessing, but should REL_ALLOC be defined if you built using VS 2003?
> (as that seems to imply GNU malloc).

The backtrace was from the MinGW build (with optimizations)

> What happened with your MinGW build?

The back trace without optimizations:

(gdb) bt
#0  w32_abort () at w32fns.c:8179
#1  0x01190a28 in r_re_alloc (ptr=0x2ed8a08, size=2220) at ralloc.c:1028
#2  0x0106fd65 in enlarge_buffer_text (b=0x2ed8a00, delta=2199) at buffer.c:5051
#3  0x01146d19 in make_gap_larger (nbytes_added=2199) at insdel.c:526
#4  0x01147045 in make_gap (nbytes_added=199) at insdel.c:621
#5  0x01147c31 in insert_from_string_1 (string=53214147, pos=0, pos_byte=0, 
nchars=219, nbytes=219, inherit=0, before_markers=0) at insdel.c:1107
#6  0x01147ab3 in insert_from_string (string=53214147, pos=0, pos_byte=0, 
length=219, length_byte=219, inherit=0) at insdel.c:1048
#7  0x0113a118 in general_insert_function (insert_func=0x1147410 <insert>, 
insert_from_string_func=0x1147a7a <insert_from_string>, inherit=0, nargs=2, arg
#8  0x0113a179 in Finsert (nargs=2, args=0x0) at editfns.c:2224
#9  0x01118eef in Fbyte_code (bytestr=48484307, vector=50588676, maxdepth=48) 
at bytecode.c:1265
#10 0x010245fb in funcall_lambda (fun=51236420, nargs=0, arg_vector=0x82d654) 
at eval.c:3229
#11 0x010240cf in Ffuncall (nargs=1, args=0x82d650) at eval.c:3088
#12 0x011171ee in Fbyte_code (bytestr=53051635, vector=50881540, maxdepth=40) 
at bytecode.c:678
#13 0x010245fb in funcall_lambda (fun=51234372, nargs=0, arg_vector=0x82d8e0) 
at eval..c:3229
#14 0x010242e5 in apply_lambda (fun=51234372, args=43726849, eval_flag=1) at 
eval.c:3153
#15 0x010231c7 in Feval (form=58300885) at eval.c:2415
#16 0x01020003 in Fprogn (args=58300869) at eval.c:449
#17 0x01022df3 in Feval (form=58301085) at eval.c:2320
#18 0x0101ff1d in Fif (args=58301133) at eval.c:397
#19 0x01022df3 in Feval (form=58301269) at eval.c:2320
#20 0x01020003 in Fprogn (args=58300317) at eval.c:449
#21 0x010245ae in funcall_lambda (fun=58300309, nargs=0, arg_vector=0x82dcc0) 
at eval.c:3222
#22 0x010242e5 in apply_lambda (fun=58300309, args=43726849, eval_flag=1) at 
eval.c:3153
#23 0x010232ab in Feval (form=58297893) at eval.c:2433
#24 0x01020003 in Fprogn (args=58297877) at eval.c:449
#25 0x01020fa0 in FletX (args=58297901) at eval.c:1033
#26 0x01022df3 in Feval (form=58298165) at eval.c:2320
#27 0x01020003 in Fprogn (args=58295773) at eval.c:449
#28 0x01021204 in Flet (args=58299901) at eval.c:1089
#29 0x01022df3 in Feval (form=58300181) at eval.c:2320
#30 0x01020003 in Fprogn (args=58295765) at eval.c:449
#31 0x010245ae in funcall_lambda (fun=58295757, nargs=2, arg_vector=0x82e180) 
at eval.c:3222
#32 0x010242e5 in apply_lambda (fun=58295757, args=58331517, eval_flag=1) at 
eval.c:3153
#33 0x010232ab in Feval (form=58331525) at eval.c:2433
#34 0x01020003 in Fprogn (args=58331501) at eval.c:449
#35 0x01137947 in Fsave_excursion (args=58331621) at editfns.c:1003
#36 0x01022df3 in Feval (form=58331645) at eval.c:2320
#37 0x01020003 in Fprogn (args=58331469) at eval.c:449
#38 0x01021204 in Flet (args=58331653) at eval.c:1089
#39 0x01022df3 in Feval (form=58331765) at eval.c:2320
#40 0x01020003 in Fprogn (args=58331461) at eval.c:449
#41 0x010245ae in funcall_lambda (fun=58331453, nargs=2, arg_vector=0x82e620) 
at eval.c:3222
#42 0x010242e5 in apply_lambda (fun=58331453, args=58327205, eval_flag=1) at 
eval.c:3153
#43 0x010232ab in Feval (form=58327213) at eval.c:2433
#44 0x01020003 in Fprogn (args=58327189) at eval.c:449
#45 0x0101ffbf in Fcond (args=58327181) at eval.c:426
#46 0x01022df3 in Feval (form=58327269) at eval.c:2320
#47 0x01020003 in Fprogn (args=58326933) at eval.c:449
#48 0x01020fa0 in FletX (args=58327277) at eval.c:1033
#49 0x01022df3 in Feval (form=58327445) at eval.c:2320
#50 0x01020003 in Fprogn (args=58381413) at eval.c:449
#51 0x010245ae in funcall_lambda (fun=58381397, nargs=1, arg_vector=0x82eb44) 
at eval.c:3222
#52 0x01024157 in Ffuncall (nargs=2, args=0x82eb40) at eval.c:3099
#53 0x010239dc in call1 (fn=58381397, arg1=48498313) at eval.c:2823
#54 0x01098a7f in mapcar1 (leni=1, vals=0x0, fn=58381397, seq=58381421) at 
fns.c:2502
#55 0x01098e33 in Fmapc (function=58381397, sequence=58381421) at fns.c:2594
#56 0x01022ffa in Feval (form=58327477) at eval.c:2376
#57 0x01020003 in Fprogn (args=58326885) at eval.c:449
#58 0x010245ae in funcall_lambda (fun=58326877, nargs=1, arg_vector=0x82ed70) 
at eval.c:3222
#59 0x010242e5 in apply_lambda (fun=58326877, args=58326237, eval_flag=1) at 
eval.c:3153
#60 0x010232ab in Feval (form=58326245) at eval.c:2433
#61 0x01020003 in Fprogn (args=58326229) at eval.c:449
#62 0x01021204 in Flet (args=58326253) at eval.c:1089
#63 0x01022df3 in Feval (form=58326413) at eval.c:2320
#64 0x01020003 in Fprogn (args=58326221) at eval.c:449
#65 0x01021204 in Flet (args=58326509) at eval.c:1089
#66 0x01022df3 in Feval (form=58326565) at eval.c:2320
#67 0x01020003 in Fprogn (args=58326213) at eval.c:449
#68 0x010245ae in funcall_lambda (fun=58326189, nargs=1, arg_vector=0x82f360) 
at eval.c:3222
#69 0x01024157 in Ffuncall (nargs=2, args=0x82f35c) at eval.c:3099
#70 0x010233e8 in Fapply (nargs=2, args=0x82f35c) at eval.c:2475
#71 0x01023985 in apply1 (fn=44027457, arg=58381501) at eval.c:2791
#72 0x0111a380 in Fcall_interactively (function=44027457, record_flag=43726897, 
keys=43760388) at callint.c:389
#73 0x01023ee3 in Ffuncall (nargs=4, args=0x82f618) at eval.c:3048
#74 0x01023a52 in call3 (fn=43921409, arg1=44027457, arg2=43726897, 
arg3=43726849) at eval.c:2868
#75 0x01015344 in Fcommand_execute (cmd=44027457, record_flag=43726897, 
keys=43726849, special=43726849) at keyboard.c:10420
#76 0x01015691 in Fexecute_extended_command (prefixarg=43726849) at 
keyboard.c:10533
#77 0x01023e8a in Ffuncall (nargs=2, args=0x82f850) at eval.c:3042
#78 0x0111bbbb in Fcall_interactively (function=43786841, record_flag=43726849, 
keys=43760388) at callint.c:857
#79 0x01023ee3 in Ffuncall (nargs=4, args=0x82fb18) at eval.c:3048
#80 0x01023a52 in call3 (fn=43921409, arg1=43786841, arg2=43726849, 
arg3=43726849) at eval.c:2868
#81 0x01015344 in Fcommand_execute (cmd=43786841, record_flag=43726849, 
keys=43726849, special=43726849) at keyboard.c:10420
#82 0x01007823 in command_loop_1 () at keyboard.c:1910
#83 0x01021a66 in internal_condition_case (bfun=0x10060cf <command_loop_1>, 
handlers=43790553, hfun=0x1005acc <cmd_error>) at eval.c:1511
#84 0x01005e18 in command_loop_2 () at keyboard.c:1367
#85 0x01021576 in internal_catch (tag=43786625, func=0x1005df8 
<command_loop_2>, arg=43726849) at eval.c:1247
#86 0x01005dcf in command_loop () at keyboard..c:1346
#87 0x010056d2 in recursive_edit_1 () at keyboard.c:955
#88 0x01005840 in Frecursive_edit () at keyboard.c:1017
#89 0x010027dc in main (argc=1, argv=0xa34248) at emacs.c:1762

Lisp Backtrace:
"tar-summarize-buffer" (0x82d654)
"tar-mode" (0x82d8e0)
"progn" (0x82daf8)
"if" (0x82dc08)
"package-untar-buffer" (0x82dcc0)
"let*" (0x82df38)
"let" (0x82e0c8)
"package-unpack" (0x82e180)
"save-excursion" (0x82e3d8)
"let" (0x82e568)
"package-download-tar" (0x82e620)
"cond" (0x82e878)
"let*" (0x82e9e8)
0x37ad455 Lisp type 5
"mapc" (0x82ec60)
"package-download-transaction" (0x82ed70)
"let" (0x82f018)
"let" (0x82f1a8)
"package-install" (0x82f360)
"call-interactively" (0x82f61c)
"execute-extended-command" (0x82f854)
"call-interactively" (0x82fb1c)

On a side note: I am able to install gdb-shell package. Hence, for larger 
files, something is going wrong!

-dhruva



      Explore your hobbies and interests. Go to 
http://in.promos.yahoo.com/groups/





reply via email to

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