[sword-devel] Odd crash with KJV and KJVA

David "Judah's Shadow" Blue yudahsshadow at gmx.com
Sat Jul 18 18:47:56 MST 2015


So I'm working on BIBISH some, and am getting an odd crash when I pass the 
reference using just chapters using the KJV or KJVA as my selected module, but 
not the ESV.

What I'm doing is, taking the text I got from renderRefence and renderText and 
splitting that up into a STL list of type string. I'm then walking the list of 
words and adding them to a string and inserting a newline when I either 
encournter one in the text, or when the character count would exceed the 
specified screen width. I'm not sure what would be going on in the KJV/KJVA 
that is different than the ESV, but at some point during my walk through the 
list of words I'm getting a crash (abort signal) with a double free error.

Any notion as to where I'm going wrong?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: This is a digitally signed message part.
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20150718/4c04c65a/attachment.sig>


More information about the sword-devel mailing list