Two bugs

From: Adam D. Gorski (agorski@engin.umich.edu)
Date: Tue Mar 05 2002 - 00:56:29 GMT

  • Next message: Martin Sevior: "Re: bug 1957 fix please commit"

    Hey,

    Yesterday I compiled .99.2 and discovered two problems. The first, minor, is
    that at compile time the version is defined as .99.1, and not .99.2. The
    second is a major problem... I compiled, as always, with pspell support, but
    when I tried to type something, the minute I hit the spacebar, Abiword
    segfaulted. I repeated this several times to makes sure I can reproduce it,
    and sure enough each time I got it to crash. BugBuddy was nice enough to get
    me a backtrace, which I'm pasting below. Btw, my system

    gcc 2.95.3
    gtk 1.2.10
    gnome-libs 1.4.1.2
    pspell .12.2
    aspell .33.7.1 alpha

    --- backtrace ---

    0x4083d389 in wait4 () from /lib/libc.so.6
    #0 0x4083d389 in wait4 () from /lib/libc.so.6
    #1 0x408b5058 in __check_rhosts_file () from /lib/libc.so.6
    #2 0x4053ba61 in gnome_segv_handle (signum=11) at gnome-init.c:664
    #3 0x408cfd94 in pthread_kill () from /lib/libpthread.so.0
    #4 0x407c6908 in sigaction () from /lib/libc.so.6
    #5 0x40a6402b in pspell_aspell::PA_Manager::PA_Manager(PspellConfig*,
    void*) (
        this=0x864e940, config=0x86407e8, h=0x8647608) at manager.cc:189
    #6 0x40a64cb6 in libpspell_aspell_LTX_new_pspell_manager_class (
        config=0x86407e8, h=0x8647608) at manager.cc:329
    #7 0x402d946a in new_pspell_manager_class(PspellConfig*) (config=0x86407e8)
        at manager_impl.cc:60
    #8 0x402dab12 in new_pspell_manager (c=0x8572908) at manager_impl.cc:294
    #9 0x081c3484 in PSpellChecker::requestDictionary ()
    #10 0x081c31c1 in SpellManager::requestDictionary ()
    #11 0x081df373 in fl_BlockLayout::_doCheckWord ()
    #12 0x081df174 in fl_BlockLayout::_checkMultiWord ()
    #13 0x081deda7 in fl_BlockLayout::_recalcPendingWord ()
    #14 0x081e9515 in fl_Squiggles::textInserted ()
    #15 0x081e1546 in fl_BlockLayout::doclistener_insertSpan ()
    #16 0x081f60a2 in fl_SectionLayout::bl_doclistener_insertSpan ()
    #17 0x081eec21 in fl_DocListener::change ()
    #18 0x08216269 in PD_Document::notifyListeners ()
    #19 0x08223420 in pt_PieceTable::insertSpan ()
    #20 0x08215b14 in PD_Document::insertSpan ()
    #21 0x081c61dd in FV_View::cmdCharInsert ()
    #22 0x080f97af in ap_EditMethods::insertSpace ()
    #23 0x081b65c3 in EV_Keyboard::invokeKeyboardMethod ()
    #24 0x081b9013 in ev_UnixKeyboard::keyPressEvent ()
    #25 0x08194cec in XAP_UnixFrame::_fe::key_press_event ()
    #26 0x400acdff in gtk_marshal_BOOL__POINTER (object=0x855a4d8,
        func=0x8194c78 <XAP_UnixFrame::_fe::key_press_event(_GtkWidget *,
    _GdkEventKey *)>, func_data=0x0, args=0xbffff4ec) at gtkmarshal.c:28
    #27 0x400dc9bc in gtk_handlers_run (handlers=0x85a2150, signal=0xbffff498,
        object=0x855a4d8, params=0xbffff4ec, after=0) at gtksignal.c:1917
    #28 0x400dbe25 in gtk_signal_real_emit (object=0x855a4d8, signal_id=26,
        params=0xbffff4ec) at gtksignal.c:1477
    #29 0x400d9f03 in gtk_signal_emit (object=0x855a4d8, signal_id=26)
        at gtksignal.c:552
    #30 0x4011091b in gtk_widget_event (widget=0x855a4d8, event=0x8622700)
        at gtkwidget.c:2864
    #31 0x400accc5 in gtk_propagate_event (widget=0x860a178, event=0x8622700)
        at gtkmain.c:1360
    #32 0x400abeae in gtk_main_do_event (event=0x8622700) at gtkmain.c:818
    #33 0x4015a0a7 in gdk_event_dispatch (source_data=0x0,
        current_time=0xbffff8e4, user_data=0x0) at gdkevents.c:2139
    #34 0x40188308 in g_main_dispatch (dispatch_time=0xbffff8e4) at gmain.c:656
    #35 0x40188913 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
    #36 0x40188aac in g_main_run (loop=0x862f2d8) at gmain.c:935
    #37 0x400ab7a7 in gtk_main () at gtkmain.c:524
    #38 0x080d9ef9 in AP_UnixGnomeApp::main ()
    #39 0x080d9bdb in main ()
    #40 0x407b674f in __libc_start_main () from /lib/libc.so.6
    #0 0x4083d389 in wait4 () from /lib/libc.so.6
    No symbol table info available.
    #1 0x408b5058 in __check_rhosts_file () from /lib/libc.so.6
    No symbol table info available.
    #2 0x4053ba61 in gnome_segv_handle (signum=11) at gnome-init.c:664
      in gnome-init.c
    estatus = 140828480
    in_segv = 1
    pid = 0
    #3 0x408cfd94 in pthread_kill () from /lib/libpthread.so.0
    No symbol table info available.
    #4 0x407c6908 in sigaction () from /lib/libc.so.6
    No symbol table info available.
    #5 0x40a6402b in pspell_aspell::PA_Manager::PA_Manager(PspellConfig*,
    void*) (
        this=0x864e940, config=0x86407e8, h=0x8647608) at manager.cc:189
      in manager.cc
    Current language: auto; currently c++
    this = (PA_Manager *) 0x0
    h = 0xfffffe00
    encoding = {static npos = 4294967295,
      _M_dataplus = {<allocator<char>> = {<No data fields>},
        _M_p = 0x849dfc4 "utf-8"}, static _S_empty_rep_storage = {0, 0, 0, 0}}
    temp = (PspellCanHaveError *) 0x0
    encoding = {static npos = 4294967295,
      _M_dataplus = {<allocator<char>> = {<No data fields>},
        _M_p = 0x849dfc4 "utf-8"}, static _S_empty_rep_storage = {0, 0, 0, 0}}
    __in_chrg = (PspellCanHaveErrorImpl *) 0x58544c5f
    encoding = {static npos = 4294967295,
      _M_dataplus = {<allocator<char>> = {<No data fields>},
        _M_p = 0x849dfc4 "utf-8"}, static _S_empty_rep_storage = {0, 0, 0, 0}}
    #6 0x40a64cb6 in libpspell_aspell_LTX_new_pspell_manager_class (
        config=0x86407e8, h=0x8647608) at manager.cc:329
    329 in manager.cc
    num = -1073747924
    mesg = 0x402e125d ".la"
    num = -1073747924
    #7 0x402d946a in new_pspell_manager_class(PspellConfig*) (config=0x86407e8)
        at manager_impl.cc:60
      in manager_impl.cc
    name = {<PspellAppendableString> = {
        _vptr.PspellAppendableString = 0x402e3610}, str_ = 0x86474d0 "aspell",
      size_ = 6, allocated_ = 7}
    i = 140801544
    s = -512
    libname = {<PspellAppendableString> = {
        _vptr.PspellAppendableString = 0x402e3610},
      str_ = 0x864dd20 "/usr/local/lib/libpspell_aspell.la", size_ = 34,
      allocated_ = 52}
    h = 0x8647608
    fun = (void *) 0xfffffe00
    m = (PspellCanHaveError *) 0x402e125d
    name = {<PspellAppendableString> = {
        _vptr.PspellAppendableString = 0x402e3610}, str_ = 0x86474d0 "aspell",
      size_ = 6, allocated_ = 7}
    libname = {<PspellAppendableString> = {
        _vptr.PspellAppendableString = 0x402e3610},
      str_ = 0x864dd20 "/usr/local/lib/libpspell_aspell.la", size_ = 34,
      allocated_ = 52}

    --- end trace ---

    I hope this helps

    - Adam



    This archive was generated by hypermail 2.1.4 : Mon Mar 04 2002 - 20:00:32 GMT