Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

バックアップ中に変換を実行しながら中断するとサーバーを巻き込んでクラッシュ #313

Open
whiteleaf7 opened this issue Oct 13, 2018 · 0 comments
Labels

Comments

@whiteleaf7
Copy link
Owner

http://192.168.0.77:5555/ -> /api/cancel
#<Thread:0x00007ff2d4944c00@/Users/whiteleaf/github/narou/lib/web/web_worker.rb:46 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	29: from /Users/whiteleaf/github/narou/lib/web/web_worker.rb:47:in `block (3 levels) in start'
	28: from /Users/whiteleaf/github/narou/lib/web/appserver.rb:705:in `block (2 levels) in <class:AppServer>'
	27: from /Users/whiteleaf/github/narou/lib/commandline.rb:43:in `run!'
	26: from /Users/whiteleaf/github/narou/lib/commandline.rb:29:in `run'
	25: from /Users/whiteleaf/github/narou/lib/commandbase.rb:134:in `execute!'
	24: from /Users/whiteleaf/github/narou/lib/commandbase.rb:125:in `execute!'
	23: from /Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `execute'
	22: from /Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `each_with_index'
	21: from /Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `each'
	20: from /Users/whiteleaf/github/narou/lib/command/backup.rb:85:in `block in execute'
	19: from /Users/whiteleaf/github/narou/lib/command/backup.rb:85:in `tap'
	18: from /Users/whiteleaf/github/narou/lib/command/backup.rb:86:in `block (2 levels) in execute'
	17: from /Users/whiteleaf/github/narou/lib/command/backup.rb:47:in `create_backup'
	16: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:102:in `open'
	15: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:334:in `close'
	14: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:310:in `commit'
	13: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:407:in `on_success_replace'
	12: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tmpdir.rb:128:in `create'
	11: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:409:in `block in on_success_replace'
	10: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:311:in `block in commit'
	 9: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/output_stream.rb:53:in `open'
	 8: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:312:in `block (2 levels) in commit'
	 7: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:37:in `each'
	 6: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:37:in `each'
	 5: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:38:in `block in each'
	 4: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:313:in `block (3 levels) in commit'
	 3: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:564:in `write_to_zip_output_stream'
	 2: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `get_input_stream'
	 1: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `open'
/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `initialize': Interrupt (Interrupt)
[2018-10-13 15:23:52] FATAL Interrupt: Interrupt
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `initialize'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `open'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `get_input_stream'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:564:in `write_to_zip_output_stream'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:313:in `block (3 levels) in commit'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:38:in `block in each'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:37:in `each'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:37:in `each'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:312:in `block (2 levels) in commit'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/output_stream.rb:53:in `open'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:311:in `block in commit'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:409:in `block in on_success_replace'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tmpdir.rb:128:in `create'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:407:in `on_success_replace'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:310:in `commit'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:334:in `close'
	/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:102:in `open'
	/Users/whiteleaf/github/narou/lib/command/backup.rb:47:in `create_backup'
	/Users/whiteleaf/github/narou/lib/command/backup.rb:86:in `block (2 levels) in execute'
	/Users/whiteleaf/github/narou/lib/command/backup.rb:85:in `tap'
	/Users/whiteleaf/github/narou/lib/command/backup.rb:85:in `block in execute'
	/Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `each'
	/Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `each_with_index'
	/Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `execute'
	/Users/whiteleaf/github/narou/lib/commandbase.rb:125:in `execute!'
	/Users/whiteleaf/github/narou/lib/commandbase.rb:134:in `execute!'
	/Users/whiteleaf/github/narou/lib/commandline.rb:29:in `run'
	/Users/whiteleaf/github/narou/lib/commandline.rb:43:in `run!'
	/Users/whiteleaf/github/narou/lib/web/appserver.rb:705:in `block (2 levels) in <class:AppServer>'
	/Users/whiteleaf/github/narou/lib/web/web_worker.rb:47:in `block (3 levels) in start'
[2018-10-13 15:23:52] INFO  going to shutdown ...
[2018-10-13 15:23:52] INFO  WEBrick::HTTPServer#start done.
== Sinatra has ended his set (crowd applauds)
Traceback (most recent call last):
	28: from /Users/whiteleaf/github/narou/lib/web/web_worker.rb:47:in `block (3 levels) in start'
	27: from /Users/whiteleaf/github/narou/lib/web/appserver.rb:705:in `block (2 levels) in <class:AppServer>'
	26: from /Users/whiteleaf/github/narou/lib/commandline.rb:43:in `run!'
	25: from /Users/whiteleaf/github/narou/lib/commandline.rb:29:in `run'
	24: from /Users/whiteleaf/github/narou/lib/commandbase.rb:134:in `execute!'
	23: from /Users/whiteleaf/github/narou/lib/commandbase.rb:125:in `execute!'
	22: from /Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `execute'
	21: from /Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `each_with_index'
	20: from /Users/whiteleaf/github/narou/lib/command/backup.rb:71:in `each'
	19: from /Users/whiteleaf/github/narou/lib/command/backup.rb:85:in `block in execute'
	18: from /Users/whiteleaf/github/narou/lib/command/backup.rb:85:in `tap'
	17: from /Users/whiteleaf/github/narou/lib/command/backup.rb:86:in `block (2 levels) in execute'
	16: from /Users/whiteleaf/github/narou/lib/command/backup.rb:47:in `create_backup'
	15: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:102:in `open'
	14: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:334:in `close'
	13: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:310:in `commit'
	12: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:407:in `on_success_replace'
	11: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/2.5.0/tmpdir.rb:128:in `create'
	10: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:409:in `block in on_success_replace'
	 9: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:311:in `block in commit'
	 8: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/output_stream.rb:53:in `open'
	 7: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:312:in `block (2 levels) in commit'
	 6: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:37:in `each'
	 5: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:37:in `each'
	 4: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry_set.rb:38:in `block in each'
	 3: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/file.rb:313:in `block (3 levels) in commit'
	 2: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:564:in `write_to_zip_output_stream'
	 1: from /Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `get_input_stream'
/Users/whiteleaf/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubyzip-1.2.2/lib/zip/entry.rb:506:in `open': Interrupt (Interrupt)
@whiteleaf7 whiteleaf7 added the Bug label Oct 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant