Kitura/Kitura-Sample

Accessing /error segfaults the demo app

Closed this issue · 3 comments

Running the sample app:

Swift version 3.0-dev (LLVM f54fa77021, Clang 0e6c928036, Swift e9d457540a)
Target: x86_64-unknown-linux-gnu

Visit: /error

Result: Server dies

Output:

ERROR: KituraSample main.swift line 88 - Example of error being set
[1]    12344 segmentation fault (core dumped)  ./.build/debug/KituraSample

I've spent 20 minutes with the framework at this point, but I don't think dropping core is the right behavior based on the main.swift file.

irar2 commented

@sgharms could you please verify that the problem was solved?

Issue closable. The issue was that the development releases after the 3.0 production release had this behavior. Reverting to 3.0 was successful. Be you wary all adventurers who would step here.

@irar2 Recreated the problem on Swift 3.0 production release. Thus the fix.