Date: Thu, 17 Jan 2019 22:12:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 235033] [feature suggestion] Stack should be unwound and exception should be printed when a C++ application throws an uncaught exception Message-ID: <bug-235033-227-6qt2EkjfX3@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-235033-227@https.bugs.freebsd.org/bugzilla/> References: <bug-235033-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235033 Conrad Meyer <cem@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cem@freebsd.org --- Comment #2 from Conrad Meyer <cem@freebsd.org> --- I agree it'd be nice, and match a lot of higher level languages! Not sure what multiple languages means. If C code is compiled with -fexceptions, C++ exceptions can be raised across C libraries. I'm not sur= e if we do that. Probably not; we don't have a lot of C++ libraries in base. I think a similar behavior might be useful for C programs on SIGABRT. In f= act, we do this (grabbing the signal-induced exit stack) at Isilon as part of coredump() in kern_sig.c, and log it to syslog. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235033-227-6qt2EkjfX3>