Skip to content

Instantly share code, notes, and snippets.

@tadzik
Created December 27, 2011 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tadzik/1523959 to your computer and use it in GitHub Desktop.
Save tadzik/1523959 to your computer and use it in GitHub Desktop.
More obvious segfault
diff --git a/lib/Bailador.pm b/lib/Bailador.pm
index 9b7d27b..a4901ac 100644
--- a/lib/Bailador.pm
+++ b/lib/Bailador.pm
@@ -72,6 +72,11 @@ sub dispatch($env) {
}
}
}
+
+ say "HERE I SEGFAULT";
+ say $current-response.code;
+ say "NEVER HAPPENS";
+
return $current-response.psgi;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment