[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #16171: [bfs_fuse] Segmentation fault: 11 on macOS
From:       "Haiku" <trac () haiku-os ! org>
Date:       2020-06-29 17:14:37
Message-ID: 056.995595d6b610830df97f73e52dc88e44 () haiku-os ! org
[Download RAW message or body]

--==============75379539052707784=MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

#16171: [bfs_fuse] Segmentation fault: 11 on macOS
------------------------+----------------------------
  Reporter:  diver      |      Owner:  nobody
      Type:  bug        |     Status:  new
  Priority:  normal     |  Milestone:  Unscheduled
 Component:  - General  |    Version:  R1/Development
Resolution:             |   Keywords:
Blocked By:             |   Blocking:
  Platform:  All        |
------------------------+----------------------------
Comment (by Alexco):

 Finally, I had a couple of minutes of free time to spend on the issue.
 Using the debugger you can see that it creates an endless loop in
 "errors.cpp", int *_haiku_build_errno().
 It will loop forever (until seg fault) with this line here

 {{{
 int currentErrno = errno;
 }}}
 Compiler hint is "All paths through this function will call itself. This
 is because of this define in headers/build/os/support/Errors.h

 {{{
         #undef errno
         #define errno (*_haiku_build_errno())
 }}}

 Strange thing that this does not happen on FreeBSD for me. So something is
 wrong with the darwin build system, I guess. Missing defines, maybe?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16171#comment:11>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--==============75379539052707784==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic