granule aborts when using cards in cardbox 3
Brought to you by:
vlg
Granule closes with the following error:
glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_construct NULL not valid
This happens when accessing a card in cardbox 3 (cardbox 1 and 2 work with the same cards). To see the error, load the attached intbg01.cdf, click on cardbox 3, enter some random text and click "check". Granule then closes, with the abort message.
Note: version 1.4.0-7 on Ubuntu Jaunty
cdf and log
Yes, this is a bug because you did not fill up the back field of the card. Instead, you put your traslation into the 'Example' field leaving the "Back" field empty. When the text is entered in the asnwer field for comparison, and 'Check' button is clicked, an empty "Back" text is compared with the answer and that triggers the bug.
This will be fixed in the next release. Meanwhile, I strongly suggest (for other reasons as well) not to leave the "Back" field empty. I attached corrected deck file.
BTW, what language is that?
Fixed deck file
Thanks! Strange that it worked in cardbox 1 and 2 but not 3. The language is Bulgarian by the way.