This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/28859] GCC calls malloc from within signal context


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28859

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-07-17
     Ever confirmed|0                           |1

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Do I understand it that practically impossible to handle that as we would have
to somehow detect all malloc-family functions triggered after a crash_signal is
executed?

In case of PR81382 we either need to have layout class not containing of types
that can possibly allocate a memory via malloc, or we can have an env variable
that will prevent displaying of locations if crash_signal happened? Would it be
welcomed one of there approaches?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]