public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Program terminated with signal 6, Aborted
@ 2018-08-31 10:49 Pankaj Buddhe
  2018-08-31 11:19 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Pankaj Buddhe @ 2018-08-31 10:49 UTC (permalink / raw)
  To: gcc-help

Program terminated with signal 6, Aborted. we use g++ 4.9.2 on RHEL 6
machine. Please give me any hint/suggestion to debug further.

Program terminated with signal 6, Aborted.
#0  0x00e58430 in __kernel_vsyscall ()
#1  0x0050a781 in raise () from /lib/libc.so.6
#2  0x0050c05a in abort () from /lib/libc.so.6
#3  0x00864905 in __gnu_cxx::__verbose_terminate_handler() () from
/usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
#4  0x008625f3 in __cxxabiv1::__terminate(void (*)()) () from
/usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
#5  0x0086266d in std::terminate() () from
/usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
#6  0x008c3d76 in execute_native_thread_routine () from
/usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
#7  0x007d8bc9 in start_thread () from /lib/libpthread.so.0
#8  0x005c307e in clone () from /lib/libc.so.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Program terminated with signal 6, Aborted
  2018-08-31 10:49 Program terminated with signal 6, Aborted Pankaj Buddhe
@ 2018-08-31 11:19 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2018-08-31 11:19 UTC (permalink / raw)
  To: Pankaj Buddhe; +Cc: gcc-help

On Fri, 31 Aug 2018 at 11:49, Pankaj Buddhe wrote:
>
> Program terminated with signal 6, Aborted. we use g++ 4.9.2 on RHEL 6
> machine. Please give me any hint/suggestion to debug further.

It looks like you're using std::thread and an exception was thrown in
the new thread and not caught. That will terminate the process.

The function that std::thread runs must not exit with an exception, it
must catch exceptions (and if needed, communicate the error to other
threads before finishing).


>
> Program terminated with signal 6, Aborted.
> #0  0x00e58430 in __kernel_vsyscall ()
> #1  0x0050a781 in raise () from /lib/libc.so.6
> #2  0x0050c05a in abort () from /lib/libc.so.6
> #3  0x00864905 in __gnu_cxx::__verbose_terminate_handler() () from
> /usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
> #4  0x008625f3 in __cxxabiv1::__terminate(void (*)()) () from
> /usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
> #5  0x0086266d in std::terminate() () from
> /usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
> #6  0x008c3d76 in execute_native_thread_routine () from
> /usr/BWhttpd/lib/CiscoCast_dep/libstdc++.so.6
> #7  0x007d8bc9 in start_thread () from /lib/libpthread.so.0
> #8  0x005c307e in clone () from /lib/libc.so.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-31 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31 10:49 Program terminated with signal 6, Aborted Pankaj Buddhe
2018-08-31 11:19 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).