Hi there, I experience a reproducible segfault that seems to be linked to the recently changed history management:
Type: [backslash] [A] [A] [return] ---> works fine [backslash] [x] [backspace] [A] [A] [return] ---> CRASH !!! Seems like activating a hybrid works breaks when the history of entering its content is more complex than just a plain sequence of letters. Unfortunately, I do not understand the new history code well enough to debug this any further from here... :-( Greetings, Norbert ------ Here is a backtrace starting from hitting the [return] key. #0 0x00000000004214e0 in tree::tree(tree const&) () #1 0x000000000069f494 in clean_remove (t=..., p=..., nr=1) at ./Kernel/Types/modification.cpp:257 #2 0x000000000069f4b7 in clean_remove (t=..., p=..., nr=1) at ./Kernel/Types/modification.cpp:257 #3 0x000000000069f4b7 in clean_remove (t=..., p=..., nr=1) at ./Kernel/Types/modification.cpp:257 #4 0x00000000006a1472 in clean_apply (t=..., mod=...) at ./Kernel/Types/modification.cpp:387 #5 0x00000000006e7baa in clean_apply (p=..., t=...) at ./Data/History/patch.cpp:286 #6 0x00000000006ea003 in join (p1=..., p2=..., t=...) at ./Data/History/patch.cpp:504 #7 0x00000000006e9cd7 in join (p1=..., p2=..., t=...) at ./Data/History/patch.cpp:492 #8 0x000000000042dd16 in archiver_rep::simplify (this=0x1fc8e90) at ./Data/History/archiver.cpp:368 #9 0x000000000042f874 in archiver_rep::mark_end (this=0x1fc8e90, m=5.5) at ./Data/History/archiver.cpp:531 #10 0x000000000053d9e2 in edit_modify_rep::mark_end (this=0x1da0b18, a=5.5) at ./Edit/Modify/edit_modify.cpp:256 #11 0x0000000000530bdb in edit_interface_rep::interrupt_shortcut (this=0x1da0928) at ./Edit/Interface/edit_keyboard.cpp:74 #12 0x0000000000531b83 in edit_interface_rep::key_press (this=0x1da0928, key=...) at ./Edit/Interface/edit_keyboard.cpp:151 #13 0x0000000000531f30 in edit_interface_rep::emulate_keyboard (this=0x1da0928, keys=..., action=...) at ./Edit/Interface/edit_keyboard.cpp:172 #14 0x00000000006161f0 in tmg_emulate_keyboard (arg1=0x7f8288ee6fa0) at Guile/Glue/glue_editor.cpp:1385 #15 0x00007f828dfcea02 in ?? () from /usr/lib/libguile.so.17 #16 0x00007f828dfcc8d8 in scm_dapply () from /usr/lib/libguile.so.17 #17 0x00000000005c4583 in TeXmacs_call (args=0x7fffca697af0) at ./Guile/Scheme/evaluate.cpp:161 #18 0x00007f828e0213d6 in scm_c_with_throw_handler () from /usr/lib/libguile.so.17 #19 0x00000000005c46d7 in TeXmacs_lazy_call_scm (args=0x7fffca697af0) at ./Guile/Scheme/evaluate.cpp:181 #20 0x00007f828e0216fd in scm_c_catch () from /usr/lib/libguile.so.17 #21 0x00007f828e021964 in scm_internal_catch () from /usr/lib/libguile.so.17 #22 0x00000000005c4707 in TeXmacs_call_scm (args=0x7fffca697af0) at ./Guile/Scheme/evaluate.cpp:188 #23 0x00000000005c4749 in call_scheme (fun=0x7f8288c5b870) at ./Guile/Scheme/evaluate.cpp:194 #24 0x00000000006a75a6 in object_command_rep::apply() () #25 0x0000000000476307 in command::operator()() () #26 0x000000000051889c in edit_dynamic_rep::activate_latex (this=0x1da0b58) at ./Edit/Modify/edit_dynamic.cpp:497 #27 0x0000000000518b1a in edit_dynamic_rep::activate_hybrid (this=0x1da0b58, with_args_hint=false) at ./Edit/Modify/edit_dynamic.cpp:509 #28 0x00000000006110ab in tmg_activate_hybrid (arg1=0x4) at Guile/Glue/glue_editor.cpp:411 #29 0x00007f828dfcea02 in ?? () from /usr/lib/libguile.so.17 #30 0x00007f828dfcc8d8 in scm_dapply () from /usr/lib/libguile.so.17 #31 0x00000000005c4583 in TeXmacs_call (args=0x7fffca698620) at ./Guile/Scheme/evaluate.cpp:161 #32 0x00007f828e0213d6 in scm_c_with_throw_handler () from /usr/lib/libguile.so.17 #33 0x00000000005c46d7 in TeXmacs_lazy_call_scm (args=0x7fffca698620) at ./Guile/Scheme/evaluate.cpp:181 #34 0x00007f828e0216fd in scm_c_catch () from /usr/lib/libguile.so.17 #35 0x00007f828e021964 in scm_internal_catch () from /usr/lib/libguile.so.17 #36 0x00000000005c4707 in TeXmacs_call_scm (args=0x7fffca698620) at ./Guile/Scheme/evaluate.cpp:188 #37 0x00000000005c4749 in call_scheme (fun=0x7f82834c9100) at ./Guile/Scheme/evaluate.cpp:194 #38 0x00000000006a75a6 in object_command_rep::apply() () #39 0x0000000000476307 in command::operator()() () #40 0x0000000000531260 in edit_interface_rep::try_shortcut (this=0x1da0928, comb=...) at ./Edit/Interface/edit_keyboard.cpp:103 #41 0x0000000000531afe in edit_interface_rep::key_press (this=0x1da0928, key=...) at ./Edit/Interface/edit_keyboard.cpp:149 #42 0x0000000000532267 in edit_interface_rep::handle_keypress (this=0x1da0928, key=..., t=10775) at ./Edit/Interface/edit_keyboard.cpp:190 #43 0x0000000000708f72 in process_event (ev=<value optimised out>) at ./Plugins/Qt/qt_gui.cpp:485 #44 0x000000000070934a in qt_gui_rep::process_queued_events (this=<value optimised out>, max=1) at ./Plugins/Qt/qt_gui.cpp:561 #45 0x0000000000709564 in qt_gui_rep::update (this=0x19b5998) at ./Plugins/Qt/qt_gui.cpp:712 #46 0x00000000007098aa in add_event (ev=<value optimised out>) at ./Plugins/Qt/qt_gui.cpp:590 #47 0x0000000000709e4a in qt_gui_rep::process_keypress (this=<value optimised out>, wid=<value optimised out>, key=<value optimised out>, t=<value optimised out>) -- NEU: Mit GMX DSL über 1000,- ¿ sparen! http://portal.gmx.net/de/go/dsl02 _______________________________________________ Texmacs-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/texmacs-dev
