Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Janne Johansson
Den tis 23 feb. 2021 kl 08:48 skrev Theo de Raadt : > > > > > > No problem, real-life often takes precedence. > > > > > > > > > > No way! operator(7) would need an update! > > > > > > > > What do we do when we see a bug? We fix it! What if it is not fixable? > > > > We document it! > > > > > >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Theo de Raadt
Bryan Steele wrote: > On Tue, Feb 23, 2021 at 06:23:22PM +1100, Jonathan Gray wrote: > > On Tue, Feb 23, 2021 at 08:10:54AM +0100, Otto Moerbeek wrote: > > > On Mon, Feb 22, 2021 at 08:58:07PM -, Miod Vallat wrote: > > > > > > > > > > > > No problem, real-life often takes precedence. > > >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Otto Moerbeek
On Tue, Feb 23, 2021 at 06:23:22PM +1100, Jonathan Gray wrote: > On Tue, Feb 23, 2021 at 08:10:54AM +0100, Otto Moerbeek wrote: > > On Mon, Feb 22, 2021 at 08:58:07PM -, Miod Vallat wrote: > > > > > > > > > No problem, real-life often takes precedence. > > > > > > No way! operator(7) would

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Bryan Steele
On Tue, Feb 23, 2021 at 06:23:22PM +1100, Jonathan Gray wrote: > On Tue, Feb 23, 2021 at 08:10:54AM +0100, Otto Moerbeek wrote: > > On Mon, Feb 22, 2021 at 08:58:07PM -, Miod Vallat wrote: > > > > > > > > > No problem, real-life often takes precedence. > > > > > > No way! operator(7) would

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Jonathan Gray
On Tue, Feb 23, 2021 at 08:10:54AM +0100, Otto Moerbeek wrote: > On Mon, Feb 22, 2021 at 08:58:07PM -, Miod Vallat wrote: > > > > > > No problem, real-life often takes precedence. > > > > No way! operator(7) would need an update! > > > > What do we do when we see a bug? We fix it! What if

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Otto Moerbeek
On Mon, Feb 22, 2021 at 08:58:07PM -, Miod Vallat wrote: > > > No problem, real-life often takes precedence. > > No way! operator(7) would need an update! > What do we do when we see a bug? We fix it! What if it is not fixable? We document it! -Otto Index: operator.7

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Miod Vallat
> No problem, real-life often takes precedence. No way! operator(7) would need an update!

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Paul Irofti
On 22.02.2021 15:56, Otto Moerbeek wrote: On Mon, Feb 22, 2021 at 11:09:41AM +0200, Paul Irofti wrote: - investigate the commit you mention above. Sadly I cannot remember the original case that prompted for the caching code to be added. Sorry I could not reply

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Otto Moerbeek
On Mon, Feb 22, 2021 at 11:09:41AM +0200, Paul Irofti wrote: > > - investigate the commit you mention above. Sadly I cannot > >remember the original case that prompted for the caching code to > > be > >added. > > Sorry I could not reply earlier. No problem,

Re: occasional SSIGSEGV on C++ exception handling

2021-02-22 Thread Paul Irofti
- investigate the commit you mention above. Sadly I cannot remember the original case that prompted for the caching code to be added. Sorry I could not reply earlier. The caching code was added by me to make libreoffice work with non-toy spreadsheets. Apparently

Re: occasional SSIGSEGV on C++ exception handling

2021-02-20 Thread Mark Kettenis
> Date: Sat, 20 Feb 2021 18:31:55 +0100 > From: Otto Moerbeek > Cc: tech@openbsd.org, piro...@openbsd.org > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Sat, Feb 20, 2021 at 06:30:23PM +0100, Mark Kettenis wrote: > > > > Date: Sat, 20 Feb 2021 18:23:26 +0100 >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-20 Thread Otto Moerbeek
On Sat, Feb 20, 2021 at 06:30:23PM +0100, Mark Kettenis wrote: > > Date: Sat, 20 Feb 2021 18:23:26 +0100 > > From: Otto Moerbeek > > Cc: tech@openbsd.org, piro...@openbsd.org > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > > > On Fri, Feb 19, 2021 at

Re: occasional SSIGSEGV on C++ exception handling

2021-02-20 Thread Mark Kettenis
> Date: Sat, 20 Feb 2021 18:23:26 +0100 > From: Otto Moerbeek > Cc: tech@openbsd.org, piro...@openbsd.org > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Fri, Feb 19, 2021 at 05:29:31PM +0100, Mark Kettenis wrote: > > > > Date: Fri, 19 Feb 2021 16:43:10 +0100 >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-20 Thread Otto Moerbeek
On Fri, Feb 19, 2021 at 05:29:31PM +0100, Mark Kettenis wrote: > > Date: Fri, 19 Feb 2021 16:43:10 +0100 > > From: Otto Moerbeek > > > > On Fri, Feb 19, 2021 at 01:06:43PM +0100, Otto Moerbeek wrote: > > > > > On Fri, Feb 19, 2021 at 12:45:58PM +0100, Mark Kettenis wrote: > > > > > > > >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-19 Thread Mark Kettenis
> Date: Fri, 19 Feb 2021 16:43:10 +0100 > From: Otto Moerbeek > > On Fri, Feb 19, 2021 at 01:06:43PM +0100, Otto Moerbeek wrote: > > > On Fri, Feb 19, 2021 at 12:45:58PM +0100, Mark Kettenis wrote: > > > > > > Date: Fri, 19 Feb 2021 10:57:30 +0100 > > > > From: Otto Moerbeek > > > > > > > >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-19 Thread Otto Moerbeek
On Fri, Feb 19, 2021 at 01:06:43PM +0100, Otto Moerbeek wrote: > On Fri, Feb 19, 2021 at 12:45:58PM +0100, Mark Kettenis wrote: > > > > Date: Fri, 19 Feb 2021 10:57:30 +0100 > > > From: Otto Moerbeek > > > > > > Hi, > > > > > > working on PowerDNS Recursor, once in a while I'm seeing: > > >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-19 Thread Otto Moerbeek
On Fri, Feb 19, 2021 at 12:45:58PM +0100, Mark Kettenis wrote: > > Date: Fri, 19 Feb 2021 10:57:30 +0100 > > From: Otto Moerbeek > > > > Hi, > > > > working on PowerDNS Recursor, once in a while I'm seeing: > > > > #0 0x09fd67ef09dc in > >

Re: occasional SSIGSEGV on C++ exception handling

2021-02-19 Thread Mark Kettenis
> Date: Fri, 19 Feb 2021 10:57:30 +0100 > From: Otto Moerbeek > > Hi, > > working on PowerDNS Recursor, once in a while I'm seeing: > > #0 0x09fd67ef09dc in > libunwind::UnwindInfoSectionsCache::CacheTree_RB_INSERT_COLOR > (this=, > head=0x9fd67efc8e8 , elm=0x9fca04be900) > at >

occasional SSIGSEGV on C++ exception handling

2021-02-19 Thread Otto Moerbeek
Hi, working on PowerDNS Recursor, once in a while I'm seeing: #0 0x09fd67ef09dc in libunwind::UnwindInfoSectionsCache::CacheTree_RB_INSERT_COLOR (this=, head=0x9fd67efc8e8 , elm=0x9fca04be900) at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libunwind/src/AddressSpace.hpp:243 243