GithubHelp home page GithubHelp logo

sctp_nke_highsierra's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sctp_nke_highsierra's Issues

High Sierra Crashing sometimes when Debugging

Hey there,

recently I debugged my application that uses the SCTP_NKE library. Resuming the application after halt at a breakpoint, the system crashed. After it rebooted, I read the error report and especially the error message:

assertion failed: (sb->sb_flags & SB_LOCK) || (so->so_state & SS_DEFUNCT) || (so->so_flags1 & SOF1_DEFUNCTINPROG), file: /BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-4570.71.3/bsd/kern/uipc_socket2.c

Now because of the assertion is related to sockets and since the process that uses the SCTP library provoked the crash (darias_xtask), I thought that this has maybe something to do with the SCTP library. I also tried provoking the system crash by redoing the debugging steps - but without luck. So my guess is that it either has nothing to do with the SCTP library after all or the error only occurs in very specific scenarios. Nevertheless, I thought I'd share this with you (and especially the full error report) so that you can have a look at it if you want to.

Feel free to close this issue if - with the information provided - it is not clear that the problem arises from the SCTP library. If I find a way to repeatedly provoke the system crash I'll let you now.

Best,
Pascal
crash-report-sctp.txt

Build failing in Xcode

Hey there,

I tried building the repository using Xcode and received the following error:
No member named 'socket' in 'struct xsctp_inb'

The error is provoked by lines 519-521 in sctp_sysctl.c:
#if !(defined(FreeBSD) && (__FreeBSD_version < 1001517))
xinpcb.socket = (uintptr_t)inp->sctp_socket;
#endif

Since I'm building Mac OS and not on FreeBSD I guess it is correct that this code snippet gets 'included' by the precompiler right?

Best and thanks in advance,
Pascal

SCTP_NKE for Mojave

Hello,

after updating my OS to Mojave I was wondering if a SCTP_NKE Version for Mojave is currently planned. If not, are there any information what would need to be changed in the HighSierra Version to make it work with Mojave? I am everything else than an expert in Xcode or OS X kernel extensions but if the changes are restricted to changing some version flags I'm sure that I could make it work myself.

Best
Pascal

information about xcode and SCTP

after installing SCTP_NKE on MacOS 10.13 I was trying to import <netinet/sctp.h> and after hours of trying to understand why it wouldn't compile I finally figured out that Xcode pulls its libraries from a different location then the systems. if you go into Xcode by right-clicking and showing contents or by going to "/Applications/Xcode.app/Contents/Developer/usr" you can see the files it uses to compile. after adding socket.h to xcode's "/usr/include/sys/" and sctp.h to xcode's "/usr/include/netinet/" and sctp_uio.h to xcode's "/usr/include/netinet/" and libsctp.dylib to xcodes "/usr/lib/" then going into xcode and adding the library to the linked library it was able to compile my project using <netinet/sctp.h> hopes this helps anyone having the same issue as i have had

NKE for Ventura or Sonoma

Is it possible to update the NKE for the newest versions of macos (Ventura, Sonoma)?
Or maybe help with some instructions on how to build them myself?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.