Scm adaptor problem
Added by Marcin Trendota about 13 years ago
For some time scm commands don't work. Today i turned on debug information and noticed in the logfile:
/home/redmine/redmine/lib/redmine/scm/adapters/abstract_adapter.rb:231: [BUG] Segmentation fault ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-linux]
And this is:
IO.popen(cmd, mode) do |io|
io.close_write
block.call(io) if block_given?
end
So it seems that IO.popen
fails - how can investigate it further? How can i see value of scm
variable? logger.error(scm)
don't print out anything. Unfortunately i don't know ruby, so a cannot figure it out by myself.
Replies (2)
RE: Scm adaptor problem - Added by Marcin Trendota about 13 years ago
OK, i sended it too quickly. I have output:
test 'svn' --version test 'darcs' --version test 'hg' --version test 'cvs' --version test 'bzr' --version test 'git' --version --no-color
('test' is from my debugging line)
This isn't very helpful, but gives mi something to work on. Any help would be appreciated.
RE: Scm adaptor problem - Added by Marcin Trendota about 13 years ago
Now i've got this:
me/redmine/redmine: ../../../libraries/liblber/io.c:186: ber_free_buf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed.
I don't know what produces this. What library?
I noticed this line also:
/usr/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/dispatcher.rb:24: warning: already initialized constant Dispatcher
I don't know if it's relevant.