-
-
Save abinashmeher999/8a23cf19208e23a79476 to your computer and use it in GitHub Desktop.
GDB result of running test_cwrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 | |
| Copyright (C) 2014 Free Software Foundation, Inc. | |
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
| This is free software: you are free to change and redistribute it. | |
| There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
| and "show warranty" for details. | |
| This GDB was configured as "x86_64-linux-gnu". | |
| Type "show configuration" for configuration details. | |
| For bug reporting instructions, please see: | |
| <http://www.gnu.org/software/gdb/bugs/>. | |
| Find the GDB manual and other documentation resources online at: | |
| <http://www.gnu.org/software/gdb/documentation/>. | |
| For help, type "help". | |
| Type "apropos word" to search for commands related to "word". | |
| (gdb) file test_cwrapper | |
| Reading symbols from test_cwrapper...done. | |
| (gdb) run | |
| Starting program: /home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper | |
| Traceback (most recent call last): | |
| File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module> | |
| from libstdcxx.v6.printers import register_libstdcxx_printers | |
| ImportError: No module named 'libstdcxx' | |
| Symbol : x | |
| Integer : 123 | |
| Basic : y*(456 + x)/z | |
| Basic : -y*(456 + x)/z**2 | |
| Rational : 100/47 | |
| Is_a_Symbol 100/47: 0 | |
| Is_a_Rational 100/47: 1 | |
| Is_a_Integer 100/47: 0 | |
| integer_get_ui 123: 123 | |
| integer_get_si -123: -123 | |
| integer_get_mpz(e): 123 | |
| *array = 0x608da0 | |
| basic_get_args(x**(-123)) : | |
| *** Error in `/home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper': free(): corrupted unsorted chunks: 0x0000000000608e40 *** | |
| Program received signal SIGABRT, Aborted. | |
| 0x00007ffff7396cc9 in __GI_raise (sig=sig@entry=6) | |
| at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 | |
| 56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. | |
| (gdb) bt | |
| #0 0x00007ffff7396cc9 in __GI_raise (sig=sig@entry=6) | |
| at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 | |
| #1 0x00007ffff739a0d8 in __GI_abort () at abort.c:89 | |
| #2 0x00007ffff73d3394 in __libc_message (do_abort=do_abort@entry=1, | |
| fmt=fmt@entry=0x7ffff74e1b28 "*** Error in `%s': %s: 0x%s ***\n") | |
| at ../sysdeps/posix/libc_fatal.c:175 | |
| #3 0x00007ffff73df66e in malloc_printerr (ptr=<optimized out>, | |
| str=0x7ffff74e1c78 "free(): corrupted unsorted chunks", action=1) | |
| at malloc.c:4996 | |
| #4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=1) at malloc.c:3840 | |
| #5 0x00007ffff73e177c in _int_realloc (av=0x7ffff771e760 <main_arena>, | |
| oldp=0x608e10, oldsize=<optimized out>, nb=<optimized out>) at malloc.c:4366 | |
| #6 0x00007ffff73e2fc9 in __GI___libc_realloc (oldmem=0x608e20, bytes=5) | |
| at malloc.c:3029 | |
| #7 0x00007ffff772e2c4 in __gmp_default_reallocate () | |
| from /usr/lib/x86_64-linux-gnu/libgmp.so.10 | |
| #8 0x00007ffff777dc2d in __gmp_asprintf_final () | |
| from /usr/lib/x86_64-linux-gnu/libgmp.so.10 | |
| #9 0x00007ffff715e08b in __gmp_doprnt_integer_ostream(std::ostream&, doprnt_params_t*, char*) () from /usr/lib/x86_64-linux-gnu/libgmpxx.so.4 | |
| #10 0x00007ffff715e4fb in operator<<(std::ostream&, __mpz_struct const*) () | |
| from /usr/lib/x86_64-linux-gnu/libgmpxx.so.4 | |
| #11 0x00007ffff7aae649 in operator<< <__mpz_struct [1], __mpz_struct [1]> (o=..., | |
| expr=...) at /usr/include/gmpxx.h:2063 | |
| #12 0x00007ffff7b50c69 in SymEngine::StrPrinter::bvisit (this=0x7fffffffcf70, x=...) | |
| at /home/abinashmeher999/gsoc/symengine/symengine/printer.cpp:22 | |
| #13 0x00007ffff7aabaff in SymEngine::BaseVisitor<SymEngine::StrPrinter>::visit ( | |
| this=0x7fffffffcf70, x=...) | |
| at /home/abinashmeher999/gsoc/symengine/symengine/visitor.h:92 | |
| #14 0x00007ffff7b37b5a in SymEngine::Integer::accept (this=0x608f90, v=...) | |
| at /home/abinashmeher999/gsoc/symengine/symengine/visitor.cpp:26 | |
| #15 0x00007ffff7b540f2 in SymEngine::StrPrinter::apply (this=0x7fffffffcf70, b=...) | |
| at /home/abinashmeher999/gsoc/symengine/symengine/printer.cpp:350 | |
| #16 0x00007ffff7aaa016 in SymEngine::Basic::__str__ (this=0x608f90) | |
| at /home/abinashmeher999/gsoc/symengine/symengine/basic.cpp:32 | |
| #17 0x00007ffff7b50008 in basic_str (s=0x608da0) | |
| at /home/abinashmeher999/gsoc/symengine/symengine/cwrapper.cpp:193 | |
| #18 0x000000000040132a in test_cwrapper () | |
| at /home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:85 | |
| #19 0x00000000004013d5 in main (argc=1, argv=0x7fffffffd178) | |
| ---Type <return> to continue, or q <return> to quit--- | |
| at /home/abinashmeher999/gsoc/symengine/symengine/tests/cwrapper/test_cwrapper.c:103 | |
| (gdb) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment