Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Sierra Crashing sometimes when Debugging #3

Open
psclklnk opened this issue Sep 10, 2018 · 2 comments
Open

High Sierra Crashing sometimes when Debugging #3

psclklnk opened this issue Sep 10, 2018 · 2 comments

Comments

@psclklnk
Copy link

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

@psclklnk
Copy link
Author

I managed to make the system crash again - however this time I was not debugging. Again here is the crash dump - hope that this helps
crash-report-sctp1.txt

@tuexen
Copy link
Member

tuexen commented Sep 10, 2018

Can you add keepsyms=1 to your boot parameters, which should result in symbolic names in the backtrace? That might help...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants