Menu

#91 granule aborts when using cards in cardbox 3

open
5
2012-08-25
2009-08-20
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    cdf and log

     
  • Vladislav Grinchenko

    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?

     
  • Vladislav Grinchenko

    Fixed deck file

     
  • Nobody/Anonymous

    Thanks! Strange that it worked in cardbox 1 and 2 but not 3. The language is Bulgarian by the way.

     

Log in to post a comment.