Opened 9 years ago

#205 new defect

Segfault on :multi loopwrite; loopwrite; edit:cancel; edit:cancel

Reported by: andersk@mit.edu Owned by:
Priority: major Milestone:
Component: internals Keywords:
Cc:

Description

BarnOwl segfaults on :multi loopwrite; loopwrite; edit:cancel; edit:cancel:

#0  owl_editwin_unref (e=0x0) at editwin.c:157
#1  0x000000000042dbab in owl_global_set_typwin_inactive (g=0x4a4dc0)
    at global.c:333
#2  0x000000000042d8c0 in owl_global_pop_context_no_delete (g=0x4a4dc0)
    at global.c:173
#3  0x000000000042d909 in owl_global_pop_context (g=<optimized out>)
    at global.c:183
#4  0x000000000042306c in owl_command_edit_cancel (e=0x54e4e80)
    at commands.c:2803
#5  0x000000000044c879 in owl_cmd_execute (cmd=0x288dc20, cd=<optimized out>, 
    ctx=0x5541470, argc=1, argv=<optimized out>, cmdbuff=<optimized out>)
    at cmd.c:210
#6  0x000000000044c8fd in _owl_cmddict_execute (cd=0x4a4ef0, ctx=0x5541470, 
    argv=0x54e4df0, argc=1, buff=0x54f2870 " edit:cancel") at cmd.c:61
#7  0x000000000044ca1f in owl_cmddict_execute (cd=0x4a4ef0, ctx=0x5541470, 
    cmdbuff=0x54f2870 " edit:cancel") at cmd.c:88
#8  0x0000000000423ff8 in owl_command_multi (argc=<optimized out>, 
    argv=<optimized out>, buff=<optimized out>) at commands.c:1729
#9  0x000000000044c730 in owl_cmd_execute (cmd=0x2860b10, cd=<optimized out>, 
    ctx=0x2401ff0, argc=5, argv=<optimized out>, cmdbuff=<optimized out>)
    at cmd.c:202
#10 0x000000000044c8fd in _owl_cmddict_execute (cd=0x4a4ef0, ctx=0x2401ff0, 
    argv=0x555ac60, argc=5, 
    buff=0x5569839 "multi loopwrite; loopwrite; edit:cancel; edit:cancel")
    at cmd.c:61
#11 0x000000000044ca1f in owl_cmddict_execute (cd=0x4a4ef0, ctx=0x2401ff0, 
    cmdbuff=0x5569839 "multi loopwrite; loopwrite; edit:cancel; edit:cancel")
    at cmd.c:88
#12 0x000000000044261d in owl_callback_command (e=<optimized out>, 
    success=<optimized out>) at functions.c:1949
#13 owl_callback_command (e=<optimized out>, success=<optimized out>)
    at functions.c:1943
#14 0x0000000000422e7a in owl_command_edit_done (e=0x552eb70)
    at commands.c:2866
#15 0x000000000044c879 in owl_cmd_execute (cmd=0x2895880, cd=<optimized out>, 
    ctx=0x550f990, argc=1, argv=<optimized out>, cmdbuff=<optimized out>)
    at cmd.c:210
#16 0x000000000044c8fd in _owl_cmddict_execute (cd=0x4a4ef0, ctx=0x550f990, 
    argv=0x554c920, argc=1, buff=0x246b870 "edit:done ") at cmd.c:61
#17 0x000000000044ca1f in owl_cmddict_execute (cd=0x4a4ef0, ctx=0x550f990, 
    cmdbuff=0x246b870 "edit:done ") at cmd.c:88
#18 0x000000000044c641 in owl_cmd_execute (cmd=<optimized out>, 
    cd=<optimized out>, ctx=0x550f990, argc=1, argv=<optimized out>, 
    cmdbuff=<optimized out>) at cmd.c:168
#19 0x000000000044c8fd in _owl_cmddict_execute (cd=0x4a4ef0, ctx=0x550f990, 
    argv=0x5527090, argc=1, buff=0x24033a0 "editline:done") at cmd.c:61
#20 0x000000000044ca1f in owl_cmddict_execute (cd=0x4a4ef0, ctx=0x550f990, 
    cmdbuff=0x24033a0 "editline:done") at cmd.c:88
#21 0x000000000043e789 in owl_function_command_norv (cmdbuff=<optimized out>)
    at functions.c:24
#22 0x000000000044bcfc in owl_keyhandler_process (kh=0x4a4e48, j=...)
    at keymap.c:279
#23 0x00000000004546ed in owl_process_input_char (j=...) at owl.c:288
#24 0x00000000004547ee in owl_process_input (source=<optimized out>, 
    condition=<optimized out>, data=0x4a4dc0) at owl.c:348
#25 0x00007fb12f313a0d in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fb12f314208 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fb12f314742 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x0000000000454f0f in main (argc=1, argv=0x7fff30789068, 
    env=0x7fff30789078) at owl.c:614

Change History (0)

Note: See TracTickets for help on using tickets.