Rails won't start with -X+C
---------------------------
Key: JRUBY-5840
URL: http://jira.codehaus.org/browse/JRUBY-5840
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6.2
Reporter: Thomas E Enebo
Assignee: Thomas E Enebo
>From a tiny Rails app: https://github.com/tenderlove/sample.git
Looks like perhaps literal save of regexp text is blowing this up?
{noformat}
system ~/work/sample master 1051% jruby -X+C -Xbacktrace.style=raw -S rails
server
Exiting
RegexpError: (RegexpError) 134217727:
/([\000\001\002\003\004\005\006\007\010\t\n\f\r\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\177\
<>\#%"\{\}\|\\\^\[\]`\200\201\202\203\204…\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237 ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶-
¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ])/
getStackTrace at java/lang/Thread.java:1503
getBacktraceData at
org/jruby/runtime/backtrace/TraceType.java:48
getBacktrace at
org/jruby/runtime/backtrace/TraceType.java:26
prepareBacktrace at org/jruby/RubyException.java:160
preRaise at
org/jruby/exceptions/RaiseException.java:203
preRaise at
org/jruby/exceptions/RaiseException.java:193
<init> at
org/jruby/exceptions/RaiseException.java:110
newRaiseException at org/jruby/Ruby.java:3316
newRegexpError at org/jruby/Ruby.java:3154
newDRegexp at org/jruby/RubyRegexp.java:307
_make_regex at
/Users/enebo/work/jruby/lib/ruby/1.8/webrick/httputils.rb:350
call at
Users$enebo$work$jruby$lib$ruby$$1_dot_8$webrick$httputils$method__24$RUBY$_make_regex:65535
call at
Users$enebo$work$jruby$lib$ruby$$1_dot_8$webrick$httputils$method__24$RUBY$_make_regex:65535
call at
org/jruby/internal/runtime/methods/WrapperMethod.java:58
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:282
call at
org/jruby/runtime/callsite/CachingCallSite.java:139
HTTPUtils at
/Users/enebo/work/jruby/lib/ruby/1.8/webrick/httputils.rb:355
WEBrick at
/Users/enebo/work/jruby/lib/ruby/1.8/webrick/httputils.rb:19
(root) at
/Users/enebo/work/jruby/lib/ruby/1.8/webrick/httputils.rb:14
runScript at org/jruby/Ruby.java:675
compileAndLoadFile at org/jruby/Ruby.java:2519
load at
org/jruby/runtime/load/ExternalScript.java:54
tryLoadingLibraryOrScript at
org/jruby/runtime/load/LoadService.java:761
smartLoadInternal at
org/jruby/runtime/load/LoadService.java:395
requireCommon at
org/jruby/runtime/load/LoadService.java:323
require at
org/jruby/runtime/load/LoadService.java:291
requireCommon at org/jruby/RubyKernel.java:1056
require at org/jruby/RubyKernel.java:1039
call at
org/jruby/RubyKernel$s$1$0$require.gen:65535
call at
org/jruby/internal/runtime/methods/JavaMethod.java:319
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:282
call at
org/jruby/runtime/callsite/CachingCallSite.java:139
(root) at
/Users/enebo/work/jruby/lib/ruby/1.8/webrick/config.rb:13
runScript at org/jruby/Ruby.java:675
compileAndLoadFile at org/jruby/Ruby.java:2519
load at
org/jruby/runtime/load/ExternalScript.java:54
tryLoadingLibraryOrScript at
org/jruby/runtime/load/LoadService.java:761
smartLoadInternal at
org/jruby/runtime/load/LoadService.java:395
requireCommon at
org/jruby/runtime/load/LoadService.java:323
require at
org/jruby/runtime/load/LoadService.java:291
requireCommon at org/jruby/RubyKernel.java:1056
require at org/jruby/RubyKernel.java:1039
call at
org/jruby/RubyKernel$s$1$0$require.gen:65535
call at
org/jruby/internal/runtime/methods/JavaMethod.java:319
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:282
call at
org/jruby/runtime/callsite/CachingCallSite.java:139
(root) at
/Users/enebo/work/jruby/lib/ruby/1.8/webrick.rb:14
runScript at org/jruby/Ruby.java:675
compileAndLoadFile at org/jruby/Ruby.java:2519
load at
org/jruby/runtime/load/ExternalScript.java:54
tryLoadingLibraryOrScript at
org/jruby/runtime/load/LoadService.java:761
smartLoadInternal at
org/jruby/runtime/load/LoadService.java:395
requireCommon at
org/jruby/runtime/load/LoadService.java:323
require at
org/jruby/runtime/load/LoadService.java:291
requireCommon at org/jruby/RubyKernel.java:1056
require at org/jruby/RubyKernel.java:1039
call at
org/jruby/RubyKernel$s$1$0$require.gen:65535
call at
org/jruby/internal/runtime/methods/JavaMethod.java:319
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:282
call at
org/jruby/runtime/callsite/CachingCallSite.java:139
(root) at
/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/handler/webrick.rb:1
runScript at org/jruby/Ruby.java:675
compileAndLoadFile at org/jruby/Ruby.java:2519
load at
org/jruby/runtime/load/ExternalScript.java:54
tryLoadingLibraryOrScript at
org/jruby/runtime/load/LoadService.java:761
smartLoadInternal at
org/jruby/runtime/load/LoadService.java:395
requireCommon at
org/jruby/runtime/load/LoadService.java:323
autoloadRequire at
org/jruby/runtime/load/LoadService.java:295
load at org/jruby/RubyKernel.java:207
autoload at
org/jruby/runtime/load/LoadService.java:484
resolveUndefConstant at org/jruby/RubyModule.java:2871
fastGetConstantFromNoConstMissing at org/jruby/RubyModule.java:2843
reCacheFrom at
org/jruby/ast/executable/RuntimeCache.java:428
getValueFrom at
org/jruby/ast/executable/RuntimeCache.java:419
getConstantFrom at
org/jruby/ast/executable/RuntimeCache.java:412
getConstantFrom at
org/jruby/ast/executable/AbstractScript.java:286
chained_5_rescue_line_37 at
Users/enebo/work/jruby/lib/ruby/gems/$1_dot_8/gems/rack_minus_1_dot_2_dot_3/lib/rack//Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/handler.rb:39
default at
/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/handler.rb:37
call at
Users$enebo$work$jruby$lib$ruby$gems$$1_dot_8$gems$rack_minus_1_dot_2_dot_3$lib$rack$handler$method__3$RUBY$default:65535
call at
org/jruby/internal/runtime/methods/DynamicMethod.java:213
call at
org/jruby/internal/runtime/methods/CompiledMethod.java:260
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:282
call at
org/jruby/runtime/callsite/CachingCallSite.java:139
server at
/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/rack-1.2.3/lib/rack/server.rb:221
call at
Users$enebo$work$jruby$lib$ruby$gems$$1_dot_8$gems$rack_minus_1_dot_2_dot_3$lib$rack$server$method__12$RUBY$server:65535
call at
Users$enebo$work$jruby$lib$ruby$gems$$1_dot_8$gems$rack_minus_1_dot_2_dot_3$lib$rack$server$method__12$RUBY$server:65535
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:262
call at
org/jruby/runtime/callsite/CachingCallSite.java:105
__ensure__ at
/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands/server.rb:54
call at
Users$enebo$work$jruby$lib$ruby$gems$$1_dot_8$gems$railties_minus_3_dot_0_dot_7$lib$rails$commands$server$method__7$RUBY$start:65535
call at
Users$enebo$work$jruby$lib$ruby$gems$$1_dot_8$gems$railties_minus_3_dot_0_dot_7$lib$rails$commands$server$method__7$RUBY$start:65535
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:262
call at
org/jruby/runtime/callsite/CachingCallSite.java:105
__file__ at
/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:30
call at
Users$enebo$work$jruby$lib$ruby$gems$$1_dot_8$gems$railties_minus_3_dot_0_dot_7$lib$rails$commands$block_0$RUBY$__file__:65535
yield at org/jruby/runtime/CompiledBlock.java:112
yield at org/jruby/runtime/CompiledBlock.java:95
yield at org/jruby/runtime/Block.java:130
tap at org/jruby/RubyKernel.java:1700
call at org/jruby/RubyKernel$s$0$0$tap.gen:65535
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:272
callBlock at
org/jruby/runtime/callsite/CachingCallSite.java:114
callIter at
org/jruby/runtime/callsite/CachingCallSite.java:123
(root) at
/Users/enebo/work/jruby/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/commands.rb:27
runScript at org/jruby/Ruby.java:675
compileAndLoadFile at org/jruby/Ruby.java:2519
load at
org/jruby/runtime/load/ExternalScript.java:54
tryLoadingLibraryOrScript at
org/jruby/runtime/load/LoadService.java:761
smartLoadInternal at
org/jruby/runtime/load/LoadService.java:395
requireCommon at
org/jruby/runtime/load/LoadService.java:323
require at
org/jruby/runtime/load/LoadService.java:291
requireCommon at org/jruby/RubyKernel.java:1056
require at org/jruby/RubyKernel.java:1039
call at
org/jruby/RubyKernel$s$1$0$require.gen:65535
call at
org/jruby/internal/runtime/methods/JavaMethod.java:319
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
call at
org/jruby/internal/runtime/methods/AliasMethod.java:61
cacheAndCall at
org/jruby/runtime/callsite/CachingCallSite.java:282
call at
org/jruby/runtime/callsite/CachingCallSite.java:139
(root) at script/rails:6
load at script/script/rails:-1
runScript at org/jruby/Ruby.java:675
runNormally at org/jruby/Ruby.java:579
runFromMain at org/jruby/Ruby.java:428
doRunFromMain at org/jruby/Main.java:278
internalRun at org/jruby/Main.java:198
run at org/jruby/Main.java:164
run at org/jruby/Main.java:148
run at org/jruby/util/ShellLauncher.java:139
run at java/lang/Thread.java:680
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email