realm / realm/SwiftLint

Swiftlint Pod Segmentation Fault Error on Virtual Machine

Open
#5,169 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help
Dominant language
Swift
Stars
19.7k
Forks
2.3k
Avg merge
1d 1h
Merged PRs (30d)
11

Description

New Issue Checklist
Describe the bug

I have an iOS Project on virtual machine. When i try to run command below

./Pods/SwiftLint/swiftlint

I got this error

Linting Swift files in current working directory
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
zsh: segmentation fault  ./Pods/SwiftLint/swiftlint
Environment
  • SwiftLint version : 0.52.4
  • Installation method used : Cocoapods
  • Paste your configuration file:
included:
    - ./Features/Cache/CacheStorage.swift

excluded:
    - Pods
  • Are you using nested configurations? No
  • Which Xcode version are you using?
    Xcode 14.2 Build version 14C18
  • Do you have a sample that shows the issue?
    Install SwiftLint on cocoapods and run command below on a virtual machine
./Pods/SwiftLint/swiftlint

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the ./Pods/SwiftLint/swiftlint command in the reported virtual-machine setup with SwiftLint 0.52.4, Xcode 14.2, and the supplied configuration. Collect the crash backtrace requested by LLVM and compare the behavior with the same Cocoapods installation outside the virtual machine; done means the command no longer segfaults or the environment-specific cause is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.