[sword-devel] Segmentation fault - was Re: SWORD 1.7.0RC3
Peter von Kaehne
refdoc at gmx.net
Mon Sep 9 16:02:37 MST 2013
I hate to bring this up, now, when we really all want 1.7 out, but
current svn head produces a segmentation fault in imp2gbs. The other
utilities insofar as I tested them seem to be fine.
Below the stacktrace. Tell me if you need more. I basically use
usrinst.sh produced binaries, with the only modification that I changed
the install directory to /usr/local/bin
peter at peter-ThinkPad-Twist:~/Source/sword$ gdb /usr/local/bin/imp2gbs
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/imp2gbs...done.
(gdb) r
Starting program: /usr/local/bin/imp2gbs
Program received signal SIGSEGV, Segmentation fault.
0x08050b7a in sword::SWBuf::c_str (this=0x8) at ../include/swbuf.h:141
141 inline const char *c_str() const{ return buf; }
(gdb) bt
#0 0x08050b7a in sword::SWBuf::c_str (this=0x8)
at ../include/swbuf.h:141
#1 0x0805a790 in sword::SWOptionFilter::setOptionValue (this=0x8115b60
<greekAccentsFilter>, ival=0x80c715b "On")
at ../src/modules/filters/swoptfilter.cpp:51
#2 0x0805aca2 in sword::UTF8GreekAccents::UTF8GreekAccents
(this=0x8115b60 <greekAccentsFilter>, __in_chrg=<optimised out>,
__vtt_parm=<optimised out>)
at ../src/modules/filters/utf8greekaccents.cpp:43
#3 0x0805099d in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535) at imp2gbs.cpp:62
#4 0x080509df in _GLOBAL__sub_I_imp2gbs.cpp(void) () at imp2gbs.cpp:273
#5 0x080c6ae2 in __libc_csu_init ()
#6 0xb77f046a in __libc_start_main ()
from /lib/i386-linux-gnu/libc.so.6
#7 0x0804f931 in _start ()
(gdb)
#0 0x08050b7a in sword::SWBuf::c_str (this=0x8)
at ../include/swbuf.h:141
#1 0x0805a790 in sword::SWOptionFilter::setOptionValue (this=0x8115b60
<greekAccentsFilter>, ival=0x80c715b "On")
at ../src/modules/filters/swoptfilter.cpp:51
#2 0x0805aca2 in sword::UTF8GreekAccents::UTF8GreekAccents
(this=0x8115b60 <greekAccentsFilter>, __in_chrg=<optimised out>,
__vtt_parm=<optimised out>)
at ../src/modules/filters/utf8greekaccents.cpp:43
#3 0x0805099d in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535) at imp2gbs.cpp:62
#4 0x080509df in _GLOBAL__sub_I_imp2gbs.cpp(void) () at imp2gbs.cpp:273
#5 0x080c6ae2 in __libc_csu_init ()
#6 0xb77f046a in __libc_start_main ()
from /lib/i386-linux-gnu/libc.so.6
#7 0x0804f931 in _start ()
(gdb)
#0 0x08050b7a in sword::SWBuf::c_str (this=0x8)
at ../include/swbuf.h:141
#1 0x0805a790 in sword::SWOptionFilter::setOptionValue (this=0x8115b60
<greekAccentsFilter>, ival=0x80c715b "On")
at ../src/modules/filters/swoptfilter.cpp:51
#2 0x0805aca2 in sword::UTF8GreekAccents::UTF8GreekAccents
(this=0x8115b60 <greekAccentsFilter>, __in_chrg=<optimised out>,
__vtt_parm=<optimised out>)
at ../src/modules/filters/utf8greekaccents.cpp:43
#3 0x0805099d in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535) at imp2gbs.cpp:62
#4 0x080509df in _GLOBAL__sub_I_imp2gbs.cpp(void) () at imp2gbs.cpp:273
#5 0x080c6ae2 in __libc_csu_init ()
#6 0xb77f046a in __libc_start_main ()
from /lib/i386-linux-gnu/libc.so.6
#7 0x0804f931 in _start ()
(gdb)
More information about the sword-devel
mailing list