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

iscsid crash on logout - Catalina #117

Open
armandckj opened this issue May 24, 2020 · 5 comments
Open

iscsid crash on logout - Catalina #117

armandckj opened this issue May 24, 2020 · 5 comments

Comments

@armandckj
Copy link

Hi.
Beta 6 installed. (exactly the same issue with Beta 5)
iscsictl gives a segmentation fault. used a build form latest sources iscsictl to overcome that.
iMac 2012 27 inch. Catalina with all updates.

I can login/logout about 10 to 20 times.
always, on the logout the system crashes. Back screen reboot and the text saying it crashed in different languages.
sometimes the crash is in the crash report but most of the time it is not.

included the report sent to Apple.
iscsd-crash.pdf

@armandckj
Copy link
Author

Update.
This is written in /var/log/iscsid
""
libc++abi.dylib: terminating with uncaught exception of type NSException
2020-05-24 08:51:46.965 iscsid[3294:38295] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff34f778d7 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff6dbbca9e objc_exception_throw + 48
2 CoreFoundation 0x00007fff35026806 _CFThrowFormattedException + 194
3 CoreFoundation 0x00007fff350247d2 -[__NSArrayM insertObject:atIndex:].cold.2 + 0
4 CoreFoundation 0x00007fff34e97aea -[__NSArrayM insertObject:atIndex:] + 1148
5 iscsid 0x00000001029a4785 iSCSIDCreateArrayofActivePortalsForTarget + 132
6 iscsid 0x00000001029a642f iSCSIDProcessIncomingRequest + 138
7 CoreFoundation 0x00007fff34efba54 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17
8 CoreFoundation 0x00007fff34efb9f3 __CFRunLoopDoSource0 + 103
9 CoreFoundation 0x00007fff34efb80d __CFRunLoopDoSources0 + 209
10 CoreFoundation 0x00007fff34efa529 __CFRunLoopRun + 937
11 CoreFoundation 0x00007fff34ef9b23 CFRunLoopRunSpecific + 466
12 CoreFoundation 0x00007fff34f8220c CFRunLoopRun + 40
13 iscsid 0x00000001029a6a0b main + 1008
14 iscsid 0x000000010299d674 start + 52
)
libc++abi.dylib: terminating with uncaught exception of type NSException
""

several times.

Armand

@willhaslett
Copy link

@armandckj, apologies for a bit off-topic... I'm considering giving this project a shot on my new/Catalina MBP. Do you recommend doing so? I'm wondering given no commits in two years and no response to this ticket in over a month.

@armandckj
Copy link
Author

armandckj commented Jun 30, 2020 via email

@nsinenian
Copy link
Member

nsinenian commented Jun 30, 2020

@armandckj @willhaslett Thanks for your comments. Development is on hold because Apple is going to make kernel extensions obsolete. They are shifting from IOKit-based drivers to DriverKit. Currently, the networking stack used by this project can shift to DriverKit but the SCSI portions cannot (Apple has not yet ported the SCSI classes to DriverKit). Furthermore, it is unclear what will and will not be ported - it seems like things are in a bit of a transition.

For this reason, it is highly likely that the architecture and code base will need to change to accommodate future versions of macOS.

As far as I can tell, there appear to some corner-case bugs. As a single developer, it is time-intensive to reproduce the issue (if I could readily reproduce it, the fix would be straightforward). Without the support of developer-users who can assist with this process, I am inclined to wait to see what happens with macOS kernel development frameworks (especially with the upcoming Big Sur), as we will have to go through this process again if the code base changes significantly.

@armandckj
Copy link
Author

armandckj commented Jun 30, 2020 via email

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

3 participants