Boost logo

Boost Users :

Subject: [Boost-users] [Iostreams] Known issue with 32-bit and iostreams::file_descriptor_sink?
From: Tim Landscheidt (tim_at_[hidden])
Date: 2018-02-18 04:59:59


Hi,

I'm trying to debug several issues in ledger
(https://www.ledger-cli.org/) under Fedora 26 (boost 1.63;
https://github.com/ledger/ledger/issues/534) and Debian
Stretch (boost 1.62;
https://github.com/ledger/ledger/issues/539).

These issues occur only on 32-bit architectures (i386/i686),
and on Fedora 26 (boost 1.63) some segmentation faults can
be /fixed/ by executing:

| std::ostream *dummy = new iostreams::stream<iostreams::file_descriptor_sink>(2, iostreams::never_close_handle);

but this does not "work" on Debian Stretch (boost 1.62).

Does that ring a bell for anyone? (NB: I don't want to im-
ply that there is a bug in Boost, but maybe someone recog-
nizes the scenario and can suggest where the real issues
probably lie.)

TIA,
Tim


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net