Re: [code] [textadept] Possible bug?

From: triplejam <triplejam.att.protonmail.com>
Date: Sat, 14 Apr 2018 19:56:04 -0400

I actually am using 10.0 alpha 3. But I have had this problem also on 9.5.

I recompiled with the DEBUG flag set.

Is this more helpful?

Thread 1 "textadept" received signal SIGSEGV, Segmentation fault.
0x00007fb4c5cd49dd in ?? ()
(gdb) backtrace
#0 0x00007fb4c5cd49dd in ?? ()
#1 0x0000560b46f3f61b in luaD_precall (L=0x560b491f1fd8, func=0x560b49bd6040, nresults=1) at lua/src/ldo.c:434
#2 0x0000560b46f5547a in luaV_execute (L=0x560b491f1fd8) at lua/src/lvm.c:1134
#3 0x0000560b46f3f9b9 in luaD_call (L=0x560b491f1fd8, func=0x560b49bd5f40, nResults=-1) at lua/src/ldo.c:499
#4 0x0000560b46f3fa17 in luaD_callnoyield (L=0x560b491f1fd8, func=0x560b49bd5f40, nResults=-1) at lua/src/ldo.c:509
#5 0x0000560b46f394d9 in f_call (L=0x560b491f1fd8, ud=0x7fffb608cb60) at lua/src/lapi.c:942
#6 0x0000560b46f3e944 in luaD_rawrunprotected (L=0x560b491f1fd8, f=0x560b46f394a4 <f_call>, ud=0x7fffb608cb60) at lua/src/ldo.c:142
#7 0x0000560b46f401f8 in luaD_pcall (L=0x560b491f1fd8, func=0x560b46f394a4 <f_call>, u=0x7fffb608cb60, old_top=832, ef=0) at lua/src/ldo.c:729
#8 0x0000560b46f395b9 in lua_pcallk (L=0x560b491f1fd8, nargs=1, nresults=-1, errfunc=0, ctx=0, k=0x560b46f5a09f <finishpcall>) at lua/src/lapi.c:968
#9 0x0000560b46f5a175 in luaB_pcall (L=0x560b491f1fd8) at lua/src/lbaselib.c:424
#10 0x0000560b46f3f61b in luaD_precall (L=0x560b491f1fd8, func=0x560b49bd5f20, nresults=2) at lua/src/ldo.c:434
#11 0x0000560b46f5547a in luaV_execute (L=0x560b491f1fd8) at lua/src/lvm.c:1134
#12 0x0000560b46f3f9b9 in luaD_call (L=0x560b491f1fd8, func=0x560b49bd5e60, nResults=-1) at lua/src/ldo.c:499
#13 0x0000560b46f3fa17 in luaD_callnoyield (L=0x560b491f1fd8, func=0x560b49bd5e60, nResults=-1) at lua/src/ldo.c:509
#14 0x0000560b46f394d9 in f_call (L=0x560b491f1fd8, ud=0x7fffb608d3d0) at lua/src/lapi.c:942
#15 0x0000560b46f3e944 in luaD_rawrunprotected (L=0x560b491f1fd8, f=0x560b46f394a4 <f_call>, ud=0x7fffb608d3d0) at lua/src/ldo.c:142
#16 0x0000560b46f401f8 in luaD_pcall (L=0x560b491f1fd8, func=0x560b46f394a4 <f_call>, u=0x7fffb608d3d0, old_top=608, ef=576) at lua/src/ldo.c:729
#17 0x0000560b46f395b9 in lua_pcallk (L=0x560b491f1fd8, nargs=0, nresults=-1, errfunc=2, ctx=2, k=0x560b46f5a09f <finishpcall>) at lua/src/lapi.c:968
#18 0x0000560b46f5a222 in luaB_xpcall (L=0x560b491f1fd8) at lua/src/lbaselib.c:441
#19 0x0000560b46f3f61b in luaD_precall (L=0x560b491f1fd8, func=0x560b49bd5e20, nresults=-1) at lua/src/ldo.c:434
#20 0x0000560b46f5547a in luaV_execute (L=0x560b491f1fd8) at lua/src/lvm.c:1134
#21 0x0000560b46f3f9b9 in luaD_call (L=0x560b491f1fd8, func=0x560b49bd5d20, nResults=-1) at lua/src/ldo.c:499
#22 0x0000560b46f3fa17 in luaD_callnoyield (L=0x560b491f1fd8, func=0x560b49bd5d20, nResults=-1) at lua/src/ldo.c:509
#23 0x0000560b46f394d9 in f_call (L=0x560b491f1fd8, ud=0x7fffb608dc40) at lua/src/lapi.c:942
#24 0x0000560b46f3e944 in luaD_rawrunprotected (L=0x560b491f1fd8, f=0x560b46f394a4 <f_call>, ud=0x7fffb608dc40) at lua/src/ldo.c:142
#25 0x0000560b46f401f8 in luaD_pcall (L=0x560b491f1fd8, func=0x560b46f394a4 <f_call>, u=0x7fffb608dc40, old_top=288, ef=0) at lua/src/ldo.c:729
#26 0x0000560b46f395b9 in lua_pcallk (L=0x560b491f1fd8, nargs=6, nresults=-1, errfunc=0, ctx=0, k=0x560b46f5a09f <finishpcall>) at lua/src/lapi.c:968
#27 0x0000560b46f5a175 in luaB_pcall (L=0x560b491f1fd8) at lua/src/lbaselib.c:424
#28 0x0000560b46f3f61b in luaD_precall (L=0x560b491f1fd8, func=0x560b49bd5d00, nresults=2) at lua/src/ldo.c:434
#29 0x0000560b46f5547a in luaV_execute (L=0x560b491f1fd8) at lua/src/lvm.c:1134
#30 0x0000560b46f3f9b9 in luaD_call (L=0x560b491f1fd8, func=0x560b49bd5c20, nResults=1) at lua/src/ldo.c:499
#31 0x0000560b46f3fa17 in luaD_callnoyield (L=0x560b491f1fd8, func=0x560b49bd5c20, nResults=1) at lua/src/ldo.c:509
#32 0x0000560b46f394d9 in f_call (L=0x560b491f1fd8, ud=0x7fffb608e4b0) at lua/src/lapi.c:942
#33 0x0000560b46f3e944 in luaD_rawrunprotected (L=0x560b491f1fd8, f=0x560b46f394a4 <f_call>, ud=0x7fffb608e4b0) at lua/src/ldo.c:142
#34 0x0000560b46f401f8 in luaD_pcall (L=0x560b491f1fd8, func=0x560b46f394a4 <f_call>, u=0x7fffb608e4b0, old_top=32, ef=0) at lua/src/ldo.c:729
#35 0x0000560b46f395b9 in lua_pcallk (L=0x560b491f1fd8, nargs=7, nresults=1, errfunc=0, ctx=0, k=0x0) at lua/src/lapi.c:968
#36 0x0000560b46f2e632 in lL_event (L=0x560b491f1fd8, name=0x560b46f80f79 "keypress") at textadept.c:272
#37 0x0000560b46f34b31 in s_keypress (_=0x560b492d6800, event=0x560b4947b250, __=0x0) at textadept.c:1945
#38 0x00007fb4d096b8b4 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#39 0x00007fb4cf1b7e55 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#40 0x00007fb4cf1c94d2 in ?? () from /usr/lib64/libgobject-2.0.so.0
#41 0x00007fb4cf1d196e in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#42 0x00007fb4cf1d22a7 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#43 0x00007fb4d0a79e14 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#44 0x00007fb4d0a8cf87 in gtk_window_propagate_key_event () from /usr/lib64/libgtk-x11-2.0.so.0
#45 0x00007fb4d0a8f8fb in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#46 0x00007fb4d096b8b4 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#47 0x00007fb4cf1b7e55 in g_closure_invoke () from /usr/lib64/libgobject-2.0.so.0
#48 0x00007fb4cf1c98bc in ?? () from /usr/lib64/libgobject-2.0.so.0
#49 0x00007fb4cf1d196e in g_signal_emit_valist () from /usr/lib64/libgobject-2.0.so.0
#50 0x00007fb4cf1d22a7 in g_signal_emit () from /usr/lib64/libgobject-2.0.so.0
#51 0x00007fb4d0a79e14 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#52 0x00007fb4d096a1d7 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#53 0x00007fb4d096a4ab in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#54 0x00007fb4d05e1a04 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#55 0x00007fb4ce7d95de in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#56 0x00007fb4ce7d9840 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007fb4ce7d9b4a in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#58 0x00007fb4d09695a7 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#59 0x0000560b46f36c85 in main (argc=1, argv=0x7fffb608f3b8) at textadept.c:2522
#60 0x00007fb4cd6a8541 in __libc_start_main () from /lib64/libc.so.6
#61 0x0000560b46e1ce0a in ?? ()
(gdb)

​Cordially,

James

Sent with ProtonMail Secure Email.​

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On April 14, 2018 6:08 PM, Mitchell <m.att.foicica.com> wrote:

> Hi,
>
> On Sat, 14 Apr 2018, triplejam wrote:
>
> > Sometimes textadept crashes when I save, usually after I've run the reset() command a couple of times. I'm using the gtk version on linux. I had to pass "set disable-randomization off" to gdb for it to catch it
> >
> > Thread 1 "textadept" received signal SIGSEGV, Segmentation fault.
> >
> > 0x00007ff0c65ac9dd in ?? ()
> >
> > (gdb) backtrace
> >
> > #0 0x00007ff0c65ac9dd in ?? ()
> >
> > [snip]
>
> Which version of Textadept are you using? The nightly builds have debug symbols that would report where exactly in the stack trace an error occurs. However, right now the nightly builds target Textadept 10.0, which may cause trouble if you're running Textadept 9.x. You can either:
>
> 1. Compile Textadept 9.x with debug symbols (`make DEBUG=1`)
> 2. Try a nightly build (perhaps with the `-u /tmp` flag in order to ignore compatibility issues with your modules, etc.)
> 3. Find a concrete set of steps that triggers the crash so I can reproduce.
> 4. See if something in your ~/.textadept is causing it.
>
> Cheers,
>
> Mitchell
>
> --
>
> You are subscribed to code.att.foicica.com.
>
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
>
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 14 Apr 2018 - 19:56:04 EDT

This archive was generated by hypermail 2.2.0 : Sun 15 Apr 2018 - 06:27:31 EDT