[sword-devel] Current SVN

Greg Hellings greg.hellings at gmail.com
Wed Jul 16 09:36:07 MST 2008


On Wed, Jul 16, 2008 at 5:12 AM, Troy A. Griffitts <scribe at crosswire.org> wrote:
> Greg,
>
> Should be fixed.

That fixed the compile issue.  Now it seg faults while trying to
import a file that seemed fine last night.  There are a few things
osis2mod complained about last night (illegal <div> elements inside of
verses), but as of last night it just printed a warning about this.
Now, gdb tells me the following:

Starting program: /home/hellings1/Public/sword-svn/utilities/osis2mod
/usr/share/sword/modules/texts/text/kjv-test/ kjvtest.xml
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at
0000000000000120
[Thread debugging using libthread_db enabled]
You are running osis2mod: $Rev: 2183 $
[New Thread 0x7f84efe24710 (LWP 24985)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f84efe24710 (LWP 24985)]
0x0000000000417742 in __normal_iterator (this=0x7ffff7e49a50,
__i=@0x2251) at /usr/include/c++/4.2/bits/stl_iterator.h:653
653	      __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
(gdb) bt
#0  0x0000000000417742 in __normal_iterator (this=0x7ffff7e49a50, __i=@0x2251)
    at /usr/include/c++/4.2/bits/stl_iterator.h:653
#1  0x000000000041776b in std::vector<long, std::allocator<long>
>::end (this=0x2249)
    at /usr/include/c++/4.2/bits/stl_vector.h:346
#2  0x0000000000416227 in sword::VerseMgr::System::getVerseFromOffset
(this=0xada6b8, offset=1, book=0x7ffff7e49b14,
    chapter=0x7ffff7e49c6c, verse=0x7ffff7e49c70) at ../src/mgr/versemgr.cpp:220
#3  0x000000000040eb68 in sword::VerseKey::Index (this=0x7ffff7e49bd0,
iindex=1) at ../src/keys/versekey.cpp:1456
#4  0x000000000040c88e in sword::VerseKey::increment
(this=0x7ffff7e49bd0, step=1) at ../src/keys/versekey.cpp:1066
#5  0x00000000004124f6 in sword::VerseKey::operator+=
(this=0x7ffff7e49bd0, steps=1) at ../include/versekey.h:436
#6  0x0000000000412519 in sword::VerseKey::operator++
(this=0x7ffff7e49bd0) at ../include/versekey.h:436
#7  0x000000000042087d in sword::RawVerse::createModule (
    ipath=0x7ffff7e4a681
"/usr/share/sword/modules/texts/text/kjv-test/") at
../src/modules/common/rawverse.cpp:326
#8  0x00000000004099bb in sword::RawText::createModule (
    path=0x7ffff7e4a681
"/usr/share/sword/modules/texts/text/kjv-test/") at
../include/rawtext.h:47
#9  0x0000000000407c4a in main (argc=3, argv=0x7ffff7e4a208) at osis2mod.cpp:969


--Greg

>
> Everyone please know that SVN is under heavy development.  I'm not
> discouraging use of it-- please do.  Greg's report helped me fix a
> utility that I had missed changing.  But please know that it is NOT
> STABLE and use it according.
>
>
>
> Greg Hellings wrote:
>> Troy,
>>
>> On Wed, Jul 16, 2008 at 4:39 AM, Troy A. Griffitts <scribe at crosswire.org> wrote:
>>> Greg,
>>>
>>> New classes have been added.  Be sure to do a:
>>> make distclean
>>> ./autogen.sh
>>> ./usrinst.sh
>>> make
>>
>> That fixed those errors.  However, now when I issue the make command
>> over in the utilities directory, I receive:
>>
>> osis2mod.cpp: In function 'void makeKJVRef(sword::VerseKey&)':
>> osis2mod.cpp:300: error: 'class sword::VerseKey' has no member named
>> 'builtin_books'
>> osis2mod.cpp:301: error: 'class sword::VerseKey' has no member named
>> 'builtin_books'
>> osis2mod.cpp:302: error: 'class sword::VerseKey' has no member named
>> 'builtin_books'
>> osis2mod.cpp:304: error: 'class sword::VerseKey' has no member named
>> 'builtin_books'
>> osis2mod.cpp:305: error: 'class sword::VerseKey' has no member named
>> 'builtin_books'
>>
>> --Greg
>>
>>> to update your make system and build fresh.
>>>
>>> Hope this fixes things.
>>>
>>>        -Troy.
>>>
>>>
>>>
>>> Greg Hellings wrote:
>>>> List,
>>>>
>>>> Is anyone else having problems building the current SVN?  I just
>>>> updated tonight (r2182) and the build of the library itself seems to
>>>> run fine, but when it drops into the test, it spits out a whole slew
>>>> of errors of the type:
>>>> ./lib/.libs/libsword.a(versekey.o): In function
>>>> `sword::VerseKey::Index() const':
>>>> /home/hellings1/Public/sword-svn/lib/../src/keys/versekey.cpp:1426:
>>>> undefined reference to
>>>> `sword::VerseMgr::System::getOffsetFromVerse(int, int, int) const'
>>>> ./lib/.libs/libsword.a(versekey.o): In function
>>>> `sword::VerseKey::getChapterMax() const':
>>>> /home/hellings1/Public/sword-svn/lib/../src/keys/versekey.cpp:1048:
>>>> undefined reference to `sword::VerseMgr::System::getBook(int) const'
>>>> <snip>
>>>>
>>>> Is this problem known, is it serious, etc?
>>>>
>>>> --Greg
>>>>
>>>> _______________________________________________
>>>> sword-devel mailing list: sword-devel at crosswire.org
>>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>>> Instructions to unsubscribe/change your settings at above page
>>>
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at crosswire.org
>>> http://www.crosswire.org/mailman/listinfo/sword-devel
>>> Instructions to unsubscribe/change your settings at above page
>>>
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list