atom-swift-debugger icon indicating copy to clipboard operation
atom-swift-debugger copied to clipboard

Binary is being executed multiple times (it seems)

Open Danappelxx opened this issue 8 years ago • 0 comments

I'm attempting some web development with Swift and I tried to use your package. It seems as if the built binary is being executed multiple times.

Tree:

quick-doc
├── Package.swift
├── Packages
│   ├── CHTTPParser-0.1.0
│   ├── CLibvenice-0.1.0
│   ├── CURIParser-0.1.0
│   ├── Core-0.1.1
│   ├── HTTP-0.1.2
│   ├── HTTPParser-0.1.0
│   ├── Venice-0.1.1
│   ├── epoch-0.1.0
│   └── router-0.1.0
└── Sources
    ├── main.swift
    └── parsing.swift

Build log: Log

Processes:

ps aux | grep quickdoc
dan             63690   0.0  0.0  2461368   1000   ??  S     7:08PM   0:00.00 /Users/dan/Developer/projects/Zewo/quick-doc/.build/debug/quickdoc
dan             63689   0.0  0.0  2453176    996   ??  S     7:08PM   0:00.00 /Users/dan/Developer/projects/Zewo/quick-doc/.build/debug/quickdoc
dan             63688   0.0  0.0  2453176   1008   ??  S     7:08PM   0:00.00 /Users/dan/Developer/projects/Zewo/quick-doc/.build/debug/quickdoc
dan             63684   0.0  0.0  2455224   4276   ??  SX    7:08PM   0:00.01 /Users/dan/Developer/projects/Zewo/quick-doc/.build/debug/quickdoc
dan             63682   0.0  0.8  2864444 140632   ??  S     7:08PM   0:01.52 /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin/lldb /Users/dan/Developer/projects/Zewo/quick-doc/.build/debugquickdoc
dan             63751   0.0  0.0  2434840    780 s000  S+    7:11PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn quickdoc
dan             63694   0.0  0.0        0      0   ??  Z     7:08PM   0:00.00 (quickdoc)
dan             63693   0.0  0.0  2461368   1000   ??  S     7:08PM   0:00.00 /Users/dan/Developer/projects/Zewo/quick-doc/.build/debug/quickdoc
dan             63692   0.0  0.0  2480176   3048   ??  S     7:08PM   0:00.01 /Users/dan/Developer/projects/Zewo/quick-doc/.build/debug/quickdoc
dan             63691   0.0  0.0  2461368   1008   ??  S     7:08PM   0:00.00 /Users/dan/Developer/projects/Zewo/quick-doc/.build/debug/quickdoc

After running killall quickdoc all the processes disappear (duh), but as soon as I press "run" on the panel, they start back up again.

I'm running Xcode-7.3 Beta (Swift 2.2 snapshot swift-2.2-SNAPSHOT-2016-01-11.a.xctoolchain)

Hopefully this is enough information to determine whether this is an error on my fault or a bug in the code!

Danappelxx avatar Feb 03 '16 03:02 Danappelxx