| User | Post |
|
8:58 am April 18, 2011
| vela1606
| | |
| Member | posts 7 |
|
|
I am getting this error after installing gnome 3 on (Ubuntu 11.04 system)
Any Ideas?
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
Aborted (core dumped)
|
|
|
2:06 pm April 18, 2011
| vela1606
| | |
| Member | posts 7 |
|
|
here is a bit more info using valgrind tool
———@linux-laptop:~$ valgrind –tool=memcheck mangler
==18907== Memcheck, a memory error detector
==18907== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==18907== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==18907== Command: mangler
==18907==
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
==18907==
==18907== HEAP SUMMARY:
==18907== in use at exit: 1,007,235 bytes in 3,004 blocks
==18907== total heap usage: 11,708 allocs, 8,704 frees, 4,571,283 bytes allocated
==18907==
==18907== LEAK SUMMARY:
==18907== definitely lost: 32,792 bytes in 1 blocks
==18907== indirectly lost: 0 bytes in 0 blocks
==18907== possibly lost: 935,948 bytes in 1,600 blocks
==18907== still reachable: 38,495 bytes in 1,403 blocks
==18907== suppressed: 0 bytes in 0 blocks
==18907== Rerun with –leak-check=full to see details of leaked memory
==18907==
==18907== For counts of detected and suppressed errors, rerun with: -v
==18907== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 173 from 6)
Aborted (core dumped)
———@linux-laptop:~$
|
|
|
8:51 pm April 18, 2011
| econnell
| | |
| Admin
| posts 320 |
|
|
Run it through gdb instead of valgrind. When it crashes, type "backtrace" and post the results of that.
|
|
|
10:52 am April 19, 2011
| vela1606
| | |
| Member | posts 7 |
|
|
(gdb) run mangler
Starting program: /usr/bin/mangler mangler
[Thread debugging using libthread_db enabled]
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
|
|
|
11:18 am April 19, 2011
| econnell
| | |
| Admin
| posts 320 |
|
|
You didn't run backtrace…
|
|
|
11:28 am April 19, 2011
| vela1606
| | |
| Member | posts 7 |
|
|
Reading symbols from /usr/bin/mangler…(no debugging symbols found)…done.
(gdb) run
Starting program: /usr/bin/mangler
[Thread debugging using libthread_db enabled]
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::erase
Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) backtrace
#0 0xb7fe1424 in __kernel_vsyscall ()
#1 0xb6b62e71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0xb6b6634e in abort () at abort.c:92
#3 0xb6d8a0b5 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#4 0xb6d87fa5 in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5 0xb6d87fe2 in std::terminate() ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#6 0xb6d8814e in __cxa_throw () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#7 0xb6d2d33f in std::__throw_out_of_range(char const*) ()
from /usr/lib/i386-linux-gnu/libstdc++.so.6
#8 0x080f71c6 in ?? ()
#9 0x080f97d3 in ?? ()
#10 0x080fa049 in ?? ()
#11 0x080fa2a4 in ?? ()
#12 0x080b5d08 in ?? ()
#13 0x08059d7a in ?? ()
#14 0x0811200d in ?? ()
#15 0x08056274 in _init ()
#16 0x08111fa9 in ?? ()
#17 0xb6b4edd5 in __libc_start_main (main=0x80698f0, argc=1,
ubp_av=0xbffff434, init=0x8111f90, fini=0x8111f80, rtld_fini=0xb7ff0a50,
stack_end=0xbffff42c) at libc-start.c:185
—Type <return> to continue, or q <return> to quit—
#18 0x08059261 in ?? ()
(gdb)
|
|
|
11:56 am May 4, 2011
| vela1606
| | |
| Member | posts 7 |
|
|
|
5:57 pm May 4, 2011
| econnell
| | |
| Admin
| posts 320 |
|
|
No idea. You'll probably need to remove mangler and install it from source to get the backtrace symbols. The information we need is what's listed as '?? ()' in the backtrace.
|
|