Good evening,i have been working quite a while on a project which should deal with very large numbers. Adding and multiplying big numbers works fine but as soon as I try to calculate the power or the factorial it crashes. In the first case with the message *** Error in `./numbers': double free or corruption (out): 0x000000000124af00 *** and in the second one with *** Error in `./numbers': realloc(): invalid next size: 0x00000000007562e0 ***. As I'm relatively new to Vala it could be my fault.
I attached the source code of my project to this mail. Could anyone tell me what I'm doing wrong? Sincerely, Thomas Thaler
Attachment:
numbers.tar.gz
Description: application/gzip