emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs: Git Head Segfaults


From: T.V Raman
Subject: Re: Emacs: Git Head Segfaults
Date: Sun, 10 Jan 2021 07:23:08 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"T.V Raman" <raman@google.com> writes:
This has now gone away --- suspect a package upgrade run caused some
havic.

Looking at  it this morning, emacs -q, followed by loading my init
worked, then updating packages and restarting emacs made the segfault go
away --- 
> Here is what gdb shows ---
>
> run
> Starting program: /home/raman/sourceforge/emacs/src/emacs 
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> [New Thread 0x7ffff1fe2700 (LWP 524160)]
>
> (emacs:524154): dbind-WARNING **: 13:51:05.405: Couldn't connect to 
> accessibility bus: Failed to connect to socket /tmp/dbus-w8yyji0JC2: 
> Connection refused
> [New Thread 0x7ffff15d7700 (LWP 524161)]
> [New Thread 0x7ffff0b7c700 (LWP 524172)]
> [Detaching after vfork from child process 524186]
> [Detaching after vfork from child process 524187]
> [New Thread 0x7fffe3c72700 (LWP 524190)]
> [New Thread 0x7fffe32e1700 (LWP 524192)]
> [Detaching after vfork from child process 524193]
> [Detaching after vfork from child process 524194]
> [Detaching after vfork from child process 524197]
> [New Thread 0x7fffe2950700 (LWP 524203)]
> [Detaching after vfork from child process 524204]
> [Detaching after vfork from child process 524205]
> [Detaching after vfork from child process 524206]
> [Detaching after vfork from child process 524207]
> [Detaching after vfork from child process 524208]
> [Detaching after vfork from child process 524209]
> [Detaching after vfork from child process 524210]
> [Detaching after vfork from child process 524211]
> [Detaching after vfork from child process 524212]
> [Detaching after vfork from child process 524213]
> [Detaching after vfork from child process 524214]
> [Detaching after vfork from child process 524215]
> [Detaching after vfork from child process 524216]
> [Detaching after vfork from child process 524227]
> [Detaching after vfork from child process 524228]
> [Detaching after vfork from child process 524229]
> [Detaching after vfork from child process 524230]
> [Detaching after vfork from child process 524231]
> [Detaching after vfork from child process 524232]
> [Detaching after vfork from child process 524233]
> [Detaching after vfork from child process 524245]
> [Detaching after vfork from child process 524246]
> [Detaching after vfork from child process 524247]
> [Detaching after vfork from child process 524252]
> [Detaching after vfork from child process 524257]
> [New Thread 0x7fffe1fbf700 (LWP 524284)]
> [Detaching after vfork from child process 524285]
> [Detaching after vfork from child process 524286]
> [Detaching after vfork from child process 524287]
> [Detaching after vfork from child process 524288]
> [Detaching after vfork from child process 524289]
> [Detaching after vfork from child process 524290]
> [Detaching after vfork from child process 524291]
> [Detaching after vfork from child process 524292]
> [Detaching after vfork from child process 524293]
> [Detaching after vfork from child process 524294]
> [Detaching after vfork from child process 524295]
> [Detaching after vfork from child process 524296]
> [Detaching after vfork from child process 524297]
> [Thread 0x7fffe32e1700 (LWP 524192) exited]
> [Thread 0x7fffe3c72700 (LWP 524190) exited]
> [Thread 0x7fffe1fbf700 (LWP 524284) exited]
> [Thread 0x7fffe2950700 (LWP 524203) exited]
> [Detaching after vfork from child process 524328]
> [Detaching after vfork from child process 524329]
> free(): double free detected in tcache 2
>
> Thread 1 "emacs" received signal SIGABRT, Aborted.
> __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
> 50    ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
> (gdb) where 
> #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
> #1  0x00007ffff597f537 in __GI_abort () at abort.c:79
> #2  0x00007ffff59d8708 in __libc_message (action=action@entry=do_abort, 
> fmt=fmt@entry=0x7ffff5ae6e31 "%s\n")
>     at ../sysdeps/posix/libc_fatal.c:155
> #3  0x00007ffff59df9fa in malloc_printerr (str=str@entry=0x7ffff5ae9150 
> "free(): double free detected in tcache 2") at malloc.c:5347
> #4  0x00007ffff59e0ff5 in _int_free (av=0x7fffd4000020, p=0x7fffd43ba560, 
> have_lock=0) at malloc.c:4201
> #5  0x00007ffff59ce29f in _IO_deallocate_file (fp=0x7fffd43ba570) at 
> libioP.h:863
> #6  _IO_new_fclose (fp=0x7fffd43ba570) at iofclose.c:74
> #7  0x000055555571fb63 in close_infile_unwind (arg=0x7fffffffa5e0) at 
> lread.c:1081
> #8  0x00005555556fe044 in unbind_to (count=<optimized out>, 
> value=value@entry=0x0) at eval.c:3682
> #9  0x000055555559bf30 in unwind_to_catch
>     (catch=catch@entry=0x555555c990f0, type=type@entry=NONLOCAL_EXIT_SIGNAL, 
> value=value@entry=0x55555a0d60f3) at lisp.h:1007
> #10 0x000055555559bff6 in signal_or_quit (error_symbol=<optimized out>, 
> data=<optimized out>, keyboard_quit=<optimized out>) at eval.c:1756
> #11 0x000055555559c014 in Fsignal (error_symbol=<optimized out>, 
> error_symbol@entry=0xe880, data=<optimized out>) at eval.c:1628
> #12 0x000055555559c03e in xsignal (data=<optimized out>, error_symbol=0xe880) 
> at lisp.h:4114
> #13 xsignal1 (error_symbol=error_symbol@entry=0xe880, 
> arg=arg@entry=0x2aaa87f48b60) at eval.c:1785
> #14 0x000055555559b855 in Fsymbol_value (symbol=symbol@entry=0x2aaa87f48b60) 
> at lisp.h:1007
> #15 0x0000555555700778 in eval_sub (form=0x2aaa87f48b60) at eval.c:2435
> #16 0x0000555555726118 in readevalloop
>     (readcharfun=0x71d0, infile0=0x7fffffff9f50, sourcename=0x555557469834, 
> printflag=false, unibyte=<optimized out>, readfun=0x0, start=0x0, end=0x0) at 
> lread.c:2096
> #17 0x0000555555726b39 in Fload (file=0x555555ed3964, noerror=0x0, 
> nomessage=0x30, nosuffix=<optimized out>, must_suffix=<optimized out>)
>     at lisp.h:1007
> #18 0x0000555555726d8a in save_match_data_load
>     (file=file@entry=0x555555ed3964, noerror=noerror@entry=0x0, 
> nomessage=nomessage@entry=0x30, nosuffix=nosuffix@entry=0x0, 
> must_suffix=must_suffix@entry=0x30) at lread.c:1513
> #19 0x000055555570cf8f in Frequire (feature=0x325ea0, filename=<optimized 
> out>, noerror=0x0) at lisp.h:1373
> #20 0x00005555556fe55b in Ffuncall (nargs=2, args=args@entry=0x7fffffffa118) 
> at lisp.h:2081
> #21 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #22 0x000055555570099f in eval_sub (form=<optimized out>) at lisp.h:2081
> #23 0x0000555555726118 in readevalloop
>     (readcharfun=0x71d0, infile0=0x7fffffffa5e0, sourcename=0x5555574656d4, 
> printflag=false, unibyte=<optimized out>, readfun=0x0, start=0x0, end=0x0) at 
> lread.c:2096
> #24 0x0000555555726b39 in Fload (file=0x555555ed01b4, noerror=0x0, 
> nomessage=0x30, nosuffix=<optimized out>, must_suffix=<optimized out>)
>     at lisp.h:1007
> #25 0x0000555555726d8a in save_match_data_load
>     (file=0x555555ed01b4, noerror=noerror@entry=0x0, 
> nomessage=nomessage@entry=0x30, nosuffix=nosuffix@entry=0x0, 
> must_suffix=must_suffix@entry=0x30) at lread.c:1513
> #26 0x00005555556fe1e1 in Fautoload_do_load (fundef=0x555555ed6cf3, 
> funname=0x322170, macro_only=0x0) at lisp.h:1007
> #27 0x00005555556fe452 in Ffuncall (nargs=1, args=0x7fffffffa868) at 
> lisp.h:1007
> #28 0x0000555555700321 in Fapply (nargs=2, args=0x7fffffffa868) at eval.c:2466
> #29 0x00005555556fe55b in Ffuncall (nargs=3, args=args@entry=0x7fffffffa860) 
> at lisp.h:2081
> #30 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #31 0x00005555556fe497 in Ffuncall (nargs=1, args=args@entry=0x7fffffffab30) 
> at eval.c:2897
> #32 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #33 0x00005555556fe497 in Ffuncall (nargs=2, args=0x7fffffffaeb8) at 
> eval.c:2897
> #34 0x0000555555700321 in Fapply (nargs=3, args=0x7fffffffaeb8) at eval.c:2466
> #35 0x00005555556fe55b in Ffuncall (nargs=4, args=args@entry=0x7fffffffaeb0) 
> at lisp.h:2081
> #36 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #37 0x00005555556fe497 in Ffuncall (nargs=1, args=args@entry=0x7fffffffb188) 
> at eval.c:2897
> #38 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #39 0x00005555556fe497 in Ffuncall (nargs=3, args=args@entry=0x7fffffffb4a0) 
> at eval.c:2897
> #40 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #41 0x00005555556fe497 in Ffuncall (nargs=1, args=args@entry=0x7fffffffb960) 
> at eval.c:2897
> #42 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #43 0x00005555556fe497 in Ffuncall (nargs=2, args=args@entry=0x7fffffffbca0) 
> at eval.c:2897
> #44 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #45 0x00005555556fe497 in Ffuncall (nargs=3, args=args@entry=0x7fffffffc0e0) 
> at eval.c:2897
> #46 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #47 0x00005555556fe497 in Ffuncall (nargs=7, args=args@entry=0x7fffffffc4d0) 
> at eval.c:2897
> #48 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #49 0x00005555556fe497 in Ffuncall (nargs=3, args=args@entry=0x7fffffffcaa8) 
> at eval.c:2897
> #50 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #51 0x00005555556fe497 in Ffuncall (nargs=1, args=args@entry=0x7fffffffcdf0) 
> at eval.c:2897
> #52 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=args_template@entry=0x0, nargs=nargs@entry=0, 
> args=<optimized out>, args@entry=0x0) at bytecode.c:632
> #53 0x00005555557013d0 in fetch_and_exec_byte_code (args=0x0, nargs=0, 
> syms_left=0x0, fun=0x555558d01b05) at lisp.h:1835
> #54 funcall_lambda (fun=0x555558d01b05, nargs=1, arg_vector=0x7fffffffd1f0) 
> at eval.c:3155
> #55 0x00005555556fe497 in Ffuncall (nargs=2, args=0x7fffffffd1e8) at 
> eval.c:2897
> #56 0x0000555555700321 in Fapply (nargs=3, args=0x7fffffffd1e8) at eval.c:2466
> #57 0x00005555556fe55b in Ffuncall (nargs=4, args=args@entry=0x7fffffffd1e0) 
> at lisp.h:2081
> #58 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #59 0x00005555556fe497 in Ffuncall (nargs=1, args=0x7fffffffd4f8) at 
> eval.c:2897
> #60 0x00005555556fe579 in funcall_nil (nargs=<optimized out>, args=<optimized 
> out>) at eval.c:2524
> #61 0x00005555556fdc1d in run_hook_with_args (nargs=1, args=0x7fffffffd4f8, 
> funcall=0x5555556fe570 <funcall_nil>) at eval.c:2701
> #62 0x00005555556fdd85 in Frun_hook_with_args (args=0x7fffffffd4f8, nargs=1) 
> at eval.c:2714
> #63 run_hook (hook=<optimized out>) at eval.c:2714
> #64 Frun_hooks (nargs=2, args=0x7fffffffd5a0) at eval.c:2548
> #65 0x00005555556fe55b in Ffuncall (nargs=3, args=args@entry=0x7fffffffd598) 
> at lisp.h:2081
> #66 0x0000555555738ea8 in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at bytecode.c:632
> #67 0x00005555556fe497 in Ffuncall (nargs=nargs@entry=1, 
> args=args@entry=0x7fffffffd8f8) at eval.c:2897
> #68 0x0000555555738b68 in bcall0 (f=<optimized out>) at bytecode.c:340
> #69 0x00005555556fe044 in unbind_to (count=<optimized out>, 
> value=value@entry=0x0) at eval.c:3682
> #70 0x0000555555738f0c in exec_byte_code
>     (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized 
> out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized 
> out>) at lisp.h:3200
> #71 0x00005555557016bf in apply_lambda (fun=0x7ffff28474a5, args=<optimized 
> out>, count=4) at eval.c:3030
> #72 0x0000555555700743 in eval_sub (form=<optimized out>) at eval.c:2435
> #73 0x0000555555702269 in Feval (form=0x7ffff29bb76b, lexical=<optimized 
> out>) at eval.c:2189
> #74 0x00005555556fd747 in internal_condition_case
>     (bfun=bfun@entry=0x555555683de0 <top_level_2>, 
> handlers=handlers@entry=0x90, hfun=hfun@entry=0x5555556894d0 <cmd_error>) at 
> eval.c:1415
> #75 0x0000555555684a56 in top_level_1 (ignore=ignore@entry=0x0) at lisp.h:1007
> #76 0x00005555556fd6a1 in internal_catch (tag=tag@entry=0xd800, 
> func=func@entry=0x555555684a30 <top_level_1>, arg=arg@entry=0x0) at 
> eval.c:1176
> #77 0x0000555555683d68 in command_loop () at lisp.h:1007
> #78 0x00005555556890e6 in recursive_edit_1 () at keyboard.c:720
> #79 0x0000555555689412 in Frecursive_edit () at keyboard.c:789
> #80 0x00005555555a13f0 in main (argc=1, argv=<optimized out>) at emacs.c:2049
> (gdb) quit
> A debugging session is active.
>
>       Inferior 1 [process 524154] will be killed.
>
> Quit anyway? (y or n) y
> 13:51:21 raman-glaptop emacs $ 
>
> -- 
>
> Thanks,
>
> --Raman
> ?7?4 Id: kg:/m/0285kf1  ?0?8

-- 

Thanks,

--Raman
?7?4 Id: kg:/m/0285kf1  ?0?8



reply via email to

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