chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #1041: -d0 causes different application behavior


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1041: -d0 causes different application behavior
Date: Fri, 16 Aug 2013 02:52:55 -0000

#1041: -d0 causes different application behavior
-----------------------+----------------------------------------------------
  Reporter:  mario     |       Owner:          
      Type:  defect    |      Status:  reopened
  Priority:  critical  |   Milestone:  4.9.0   
 Component:  unknown   |     Version:  4.8.x   
Resolution:            |    Keywords:          
-----------------------+----------------------------------------------------
Changes (by mario):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I've found another case that triggers that problem, this time it is
 reproducible with the 4.8.2 dev-snapshot tarball (I cannot reproduce the
 problem using the 4.8.2 dev-snapshot tarball and the test case in
 comment:2).

 Unfortunately, I couldn't come up with a simpler test case so far.  What I
 have now is:

   * clone https://github.com/mario-goulart/awful-path-matchers

   * cd awful-path-matchers

 The expected behavior:

 {{{
 $ chicken-install -test
 retrieving ...
 checking platform for 'awful-path-matchers' ...
 checking dependencies for 'awful-path-matchers' ...
 install order:
 ("awful-path-matchers")
 installing awful-path-matchers: ...
 changing current directory to .
   '/home/mario/local/chicken-4.8.2/bin/csi' -bnq -setup-mode -e "(require-
 library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e
 "(extension-name-and-version '(\"awful-path-matchers\" \"\"))" 'awful-
 path-matchers.setup'
   '/home/mario/local/chicken-4.8.2/bin/csc' -feature compiling-extension
 -setup-mode    -d1 -O3 -J -s awful-path-matchers.scm
   '/home/mario/local/chicken-4.8.2/bin/csc' -feature compiling-extension
 -setup-mode    -d1 -O3 -s awful-path-matchers.import.scm
   cp -r 'awful-path-matchers.so'
 '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-matchers.so'
   chmod a+r '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.so'
   cp -r 'awful-path-matchers.import.so'
 '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.import.so'
   chmod a+r '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.import.so'
   chmod a+r '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.setup-info'
   '/home/mario/local/chicken-4.8.2/bin/csi' -s run.scm awful-path-matchers

 Starting test-server on port 8080
 Standby...(get "/foo/2")
 ....................................................... [ PASS]
 (get "/foo/2/3") ..................................................... [
 PASS]
 Shutting down
 Sent SIGTERM to server. Please make sure the server isn't running anymore!
 }}}

 The unexpected behavior:

 {{{
 $ CSC_OPTIONS=-no-lambda-info chicken-install -test
 retrieving ...
 checking platform for 'awful-path-matchers' ...
 checking dependencies for 'awful-path-matchers' ...
 install order:
 ("awful-path-matchers")
 installing awful-path-matchers: ...
 changing current directory to .
   '/home/mario/local/chicken-4.8.2/bin/csi' -bnq -setup-mode -e "(require-
 library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e
 "(extension-name-and-version '(\"awful-path-matchers\" \"\"))" 'awful-
 path-matchers.setup'
   '/home/mario/local/chicken-4.8.2/bin/csc' -feature compiling-extension
 -setup-mode    -d1 -O3 -J -s awful-path-matchers.scm
   '/home/mario/local/chicken-4.8.2/bin/csc' -feature compiling-extension
 -setup-mode    -d1 -O3 -s awful-path-matchers.import.scm
   cp -r 'awful-path-matchers.so'
 '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-matchers.so'
   chmod a+r '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.so'
   cp -r 'awful-path-matchers.import.so'
 '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.import.so'
   chmod a+r '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.import.so'
   chmod a+r '/home/mario/local/chicken-4.8.2/lib/chicken/7/awful-path-
 matchers.setup-info'
   '/home/mario/local/chicken-4.8.2/bin/csi' -s run.scm awful-path-matchers

 Starting test-server on port 8080
 Standby...(get "/foo/2")
 ....................................................... [ERROR]

 Error: (call-with-input-request) Server error: 500 Internal server error:
 #<URI-common: scheme=http port=8080 host="localhost" path=(/ "foo" "2")
 query=()...#f>
 (get "/foo/2/3") .....................................................
 [ERROR]

 Error: (call-with-input-request) Client error: 404 Not Found: #<URI-
 common: scheme=http port=8080 host="localhost" path=(/ "foo" "2" "3")
 quer...()...#f>
 Shutting down
 Sent SIGTERM to server. Please make sure the server isn't running anymore!


 Error: shell command terminated with nonzero exit code
 256
 "'/home/mario/local/chicken-4.8.2/bin/csi' -s run.scm awful-path-matchers
 "
 }}}

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1041#comment:6>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]