bugGNU TeXmacs - Bugs: bug #15883, test-input-done segfaults

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15883: test-input-done segfaults

Submitted by:  Lionel Elie Mamane <lmamane>
Submitted on:  Thu 23 Feb 2006 05:40:51 PM UTC  
 
Category: EditorPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: CVS 23 Feb 2006Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Mon 07 Aug 2006 12:18:03 PM UTC, comment #1:

This is fixed in CVS HEAD as of 6 August 2006.

Lionel Elie Mamane <lmamane>
Thu 23 Feb 2006 05:40:51 PM UTC, original submission:

I'm trying to use the test-input-done feature with the pnambic plugin. So I modified its progs/init-pnambic.scm to add (:test-input-done #t). But as soon as I type enter in a pnambic session, TeXmacs (1.0.6 and CVS as of today) segfaults.

Infos:
(gdb) print this
$1 = (tree * const) 0xffffbbe0
(gdb) print *this
$2 = {rep = 0x14, static init = <optimized out>}
(gdb) bt
#0 0x08052e02 in tree (this=0xffffbbe0, x=@0x8c1fc70) at tree.hpp:131
#1 0x081e14b5 in tree_ref (t=@0xffffbbe8, i=2) at glue.cpp:303
#2 0x081e9041 in tmg_tree_child (arg1=0x5621fdc0, arg2=0xa) at glue_basic.cpp:412
#3 0x55686ad2 in scm_deval () from /usr/lib/libguile.so.12
#4 0x5568652a in scm_deval () from /usr/lib/libguile.so.12
#5 0x55684445 in scm_deval () from /usr/lib/libguile.so.12
#6 0x5568652a in scm_deval () from /usr/lib/libguile.so.12
#7 0x55684445 in scm_deval () from /usr/lib/libguile.so.12
#8 0x55688351 in scm_dapply () from /usr/lib/libguile.so.12
#9 0x55688620 in scm_apply () from /usr/lib/libguile.so.12
#10 0x5568979f in scm_call_0 () from /usr/lib/libguile.so.12
#11 0x081a7879 in TeXmacs_call (args=0xffffc31c) at ./Guile/Scheme/evaluate.cpp:140
#12 0x556cc0b3 in scm_internal_lazy_catch () from /usr/lib/libguile.so.12
#13 0x081a79bb in TeXmacs_lazy_call_scm (args=0xffffc31c) at ./Guile/Scheme/evaluate.cpp:160
#14 0x556cbf4e in scm_internal_catch () from /usr/lib/libguile.so.12
#15 0x081a79f2 in TeXmacs_call_scm (args=0xffffc31c) at ./Guile/Scheme/evaluate.cpp:167
#16 0x081a7a23 in call_scheme (fun=0x55fa5948) at ./Guile/Scheme/evaluate.cpp:173
#17 0x08262a62 in object_command_rep::apply (this=0x8c2eb0c) at ./Guile/Scheme/object.cpp:242
#18 0x080906ec in command::operator() (this=0xffffc37c) at command.hpp:36
#19 0x08123a01 in edit_interface_rep::try_shortcut (this=0x89431b4, comb=@0xffffc44c) at ./Edit/Interface/edit_keyboard.cpp:90
#20 0x0812440a in edit_interface_rep::key_press (this=0x89431b4, key=@0xffffc4a0) at ./Edit/Interface/edit_keyboard.cpp:148
#21 0x081249c0 in edit_interface_rep::handle_keypress (this=0x89431b4, ev=@0xffffc560)
at ./Edit/Interface/edit_keyboard.cpp:188
#22 0x08066ab8 in basic_widget_rep::handle (this=0x8943338, ev=@0xffffc638) at ./Window/Widget/Basic/basic_widget.cpp:315
#23 0x0805e22b in attribute_widget_rep::handle (this=0x8943338, ev=@0xffffc694)
at ./Window/Widget/Attribute/attribute_widget.cpp:112
#24 0x083592f6 in operator<< (w=@0xffffc704, ev=@0xffffc700) at ./Window/Widget/Basic/widget.cpp:123
#25 0x080920b4 in canvas_widget_rep::handle (this=0x8980930, ev=@0xffffc724)
at ./Window/Widget/Scrollable/canvas_widget.cpp:253
#26 0x083592f6 in operator<< (w=@0xffffc78c, ev=@0xffffc788) at ./Window/Widget/Basic/widget.cpp:123
#27 0x083057c2 in tm_widget_rep::handle_keypress (this=0x859228c, ev=@0xffffc850) at ./Texmacs/Layout/tm_widget.cpp:356
#28 0x08066ab8 in basic_widget_rep::handle (this=0x859228c, ev=@0xffffc934) at ./Window/Widget/Basic/basic_widget.cpp:315
#29 0x08305ea7 in tm_widget_rep::handle (this=0x859228c, ev=@0xffffc954) at ./Texmacs/Layout/tm_widget.cpp:400
#30 0x083592f6 in operator<< (w=@0xffffc994, ev=@0xffffc98c) at ./Window/Widget/Basic/widget.cpp:123
#31 0x0837506f in x_window_rep::key_event (this=0x8981280, key=@0xffffca2c) at ./Window/X/x_window.cpp:348
#32 0x083732ed in x_display_rep::process_event (this=0x85923a8, win=0x8981280, ev=0xffffca90) at ./Window/X/x_loop.cpp:268
#33 0x083735a8 in x_display_rep::event_loop (this=0x85923a8) at ./Window/X/x_loop.cpp:338
#34 0x082e2a20 in TeXmacs_main (argc=1, argv=0xffffce24) at ./Texmacs/Texmacs/texmacs.cpp:209
#35 0x55695102 in gh_call3 () from /usr/lib/libguile.so.12
#36 0x556a07b8 in scm_boot_guile () from /usr/lib/libguile.so.12
#37 0x55695145 in gh_enter () from /usr/lib/libguile.so.12
#38 0x081a75af in start_guile (argc=1, argv=0xffffce24, call_back=0x82e0b9a <TeXmacs_main(int, char**)>)
at ./Guile/Scheme/evaluate.cpp:30

Lionel Elie Mamane <lmamane>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 05 Apr 2012 10:08:58 PM UTCmdbenitoStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 28 Apr 2006 06:43:43 AM UTClmamaneCarbon-Copy-=>Added lmamane

    Back to the top


    Powered by Savane 3.1-cleanup1