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

Crash when printing version when building with Swift Package Manager #1045

Closed
jpsim opened this issue Dec 23, 2016 · 1 comment
Closed

Crash when printing version when building with Swift Package Manager #1045

jpsim opened this issue Dec 23, 2016 · 1 comment
Labels
bug Unexpected and reproducible misbehavior.

Comments

@jpsim
Copy link
Collaborator

jpsim commented Dec 23, 2016

"Getting bundles on Linux can't be broken! We use it to print the version and that surely works"

[goes to confirm]

.build/debug/swiftlint version
fatal error: unexpectedly found nil while unwrapping an Optional value
Current stack trace:
0    libswiftCore.so                    0x00007fc4f9554fc0 swift_reportError + 117
1    libswiftCore.so                    0x00007fc4f9567df0 _swift_stdlib_reportFatalError + 63
2    libswiftCore.so                    0x00007fc4f93756a3 <unavailable> + 0
3    libswiftCore.so                    0x00007fc4f94d2dfd <unavailable> + 0
4    libswiftCore.so                    0x00007fc4f93756a3 <unavailable> + 0
5    libswiftCore.so                    0x00007fc4f94946b0 specialized _fatalErrorMessage(StaticString, StaticString, StaticString, UInt, flags : UInt32) -> Never + 96
6    swiftlint                          0x000000000042c086 <unavailable> + 0
7    libpthread.so.0                    0x00007fc4f858cae9 <unavailable> + 0
8    libswiftCore.so                    0x00007fc4f9565b20 swift_once + 90
9    swiftlint                          0x000000000042c16a <unavailable> + 0
10   swiftlint                          0x000000000042c1e9 <unavailable> + 0
11   swiftlint                          0x000000000042c6b6 <unavailable> + 0
12   swiftlint                          0x0000000000447285 <unavailable> + 0
13   swiftlint                          0x000000000044b0c1 <unavailable> + 0
14   swiftlint                          0x000000000044865f <unavailable> + 0
15   swiftlint                          0x0000000000448fc4 <unavailable> + 0
16   swiftlint                          0x0000000000448ac1 <unavailable> + 0
17   swiftlint                          0x0000000000416b91 <unavailable> + 0
18   swiftlint                          0x0000000000416cd7 <unavailable> + 0
19   libdispatch.so                     0x00007fc4f974c2a7 <unavailable> + 0
20   libdispatch.so                     0x00007fc4f975b152 <unavailable> + 0
21   libdispatch.so                     0x00007fc4f978361f <unavailable> + 0
22   libpthread.so.0                    0x00007fc4f858570a <unavailable> + 0
23   libc.so.6                          0x00007fc4f73de7c0 clone + 109
Illegal instruction

💥


Relevant conversation: #1044 (comment)

@jpsim jpsim added the bug Unexpected and reproducible misbehavior. label Dec 23, 2016
@jpsim
Copy link
Collaborator Author

jpsim commented Jan 7, 2017

Done in #1134.

@jpsim jpsim closed this as completed Jan 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

No branches or pull requests

1 participant