[sword-devel] crash using thml modules with strongs numbers

Terry Biggs sword-devel@crosswire.org
19 Jun 2003 16:57:45 -0400


Hello all,

I've been working on this for about 3 hours and have made no progress.
gnomesword crashes when you try to display a thml module with strongs
numbers. Does not matter is the strongs option is on or off.

here is a backtrace:

0x40e76326 in waitpid () from /lib/libc.so.6
#0  0x40e76326 in waitpid () from /lib/libc.so.6
#1  0x4080507a in gnome_init () from /usr/lib/libgnomeui.so.32
#2  <signal handler called>
#3  0x40e44424 in strcmp () from /lib/libc.so.6
#4  0x080fc4d5 in sword::ThMLHTMLHREF::handleToken(sword::SWBuf&, char
const*, std::map<std::string, std::string, std::less<std::string>,
std::allocator<std::pair<std::string const, std::string> > >&)
(this=0x82e0da0, buf=@0x833a528, 
    token=0xbfffd7e0 "", userData=@0xbfffd7c0)
    at ../src/modules/filters/thmlhtmlhref.cpp:143
#5  0x08129dcd in sword::SWBasicFilter::processText(sword::SWBuf&,
sword::SWKey const*, sword::SWModule const*) (this=0x82e0da0,
text=@0x833a528, 
    key=0x86a8540, module=0x833a4bc)
    at ../src/modules/filters/swbasicfilter.cpp:254
#6  0x0810c4bf in
sword::SWModule::filterBuffer(std::list<sword::SWFilter*,
std::allocator<sword::SWFilter*> >*, sword::SWBuf&, sword::SWKey*) (
    this=0x833a4bc, filters=0x833a868, buf=@0x833a528, key=0x86a8540)
    at ../include/swmodule.h:509
#7  0x0810c2af in sword::SWModule::renderFilter(sword::SWBuf&,
sword::SWKey*) (
    this=0x833a4bc, buf=@0x833a528, key=0x86a8540) at
../include/swmodule.h:437
#8  0x0811ef82 in sword::SWModule::RenderText(char const*, int, bool) (
    this=0x833a4bc, buf=0x0, len=-1, render=true)
    at ../src/modules/swmodule.cpp:567
#9  0x080c914d in backend_get_module_text ()
#10 0x0809d616 in chapter_display (html_widget=0x86a7698, 
    mod_name=0x856a770 "TR", tgs=0x86f2e78, key=0x82962d0 "#000000", 
    use_globals=1) at gtkhtml_display.c:452
#11 0x08086c3e in gui_set_text_page_and_key (page_num=136846200, 
    key=0x8709400 "Galatians 6:4") at bibletext.c:638
#12 0x08086838 in on_notebook_text_switch_page (notebook=0x85bc750, 
    page=0x86f2ef8, page_num=38, tl=0x869a7bc) at bibletext.c:231
#13 0x40a68b40 in gtk_marshal_NONE__POINTER_INT ()
   from /usr/lib/libgtk-1.2.so.0
#14 0x40a9840a in gtk_signal_remove_emission_hook ()
   from /usr/lib/libgtk-1.2.so.0
#15 0x40a97716 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#16 0x40a957ec in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#17 0x40a781bf in gtk_notebook_new () from /usr/lib/libgtk-1.2.so.0
#18 0x40a68b23 in gtk_marshal_NONE__NONE () from
/usr/lib/libgtk-1.2.so.0
#19 0x40a9840a in gtk_signal_remove_emission_hook ()
   from /usr/lib/libgtk-1.2.so.0
#20 0x40a97716 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#21 0x40a957ec in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#22 0x40accc76 in gtk_widget_activate () from /usr/lib/libgtk-1.2.so.0
#23 0x40a710a4 in gtk_menu_shell_activate_item () from
/usr/lib/libgtk-1.2.so.0
#24 0x40a70354 in gtk_menu_shell_deactivate () from
/usr/lib/libgtk-1.2.so.0
#25 0x40a688f9 in gtk_marshal_BOOL__POINTER () from
/usr/lib/libgtk-1.2.so.0
#26 0x40a9774b in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#27 0x40a957ec in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#28 0x40acc99f in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#29 0x40a6877c in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#30 0x40a6786d in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#31 0x40b1afc4 in gdk_wm_protocols_filter () from
/usr/lib/libgdk-1.2.so.0
#32 0x40b4ae81 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#33 0x40b4b338 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#34 0x40b4b568 in g_main_run () from /usr/lib/libglib-1.2.so.0
#35 0x40a6732f in gtk_main () from /usr/lib/libgtk-1.2.so.0
#36 0x080bcd25 in main (argc=2, argv=0xbffffaa4) at main.c:113
#37 0x40de64ed in __libc_start_main () from /lib/libc.so.6


-- 
Terry <tbiggs@users.sf.net>
Rev 1:5 And from Jesus Christ, who is the faithful witness, and the first begotten of the dead, and the prince of the kings of the earth. Unto him that loved us, and washed us from our sins in his own blood

http://gnomesword.sf.net