Comment 1 for bug 411349

Revision history for this message
Frits Jalvingh (fjalvingh) wrote : Re: bzr hangs on push/pull/merge between 1.16 and 1.17

!!!!!!!!!!!!!
It now hangs between 2 1.17 versions too!
!!!!!!!!!!!!!

The server bt after a kill -QUIT:
-bash-3.00$ bzr serve --directory /media/d02/bzr --allow-writes
listening on port: 4155
** SIGQUIT received, entering debugger
** Type 'c' to continue or 'q' to stop the process
** Or SIGQUIT again to quit (and possibly dump core)
> /usr/local/lib/python2.4/site-packages/bzrlib/breakin.py(33)_debug()
-> signal.signal(signal.SIGQUIT, _debug)
(Pdb) bt
  /usr/local/bin/bzr(142)?()
-> exit_val = bzrlib.commands.main()
  /usr/local/lib/python2.4/site-packages/bzrlib/commands.py(1108)main()
-> ret = run_bzr_catch_errors(argv)
  /usr/local/lib/python2.4/site-packages/bzrlib/commands.py(1120)run_bzr_catch_errors()
-> return exception_to_return_code(run_bzr, argv)
  /usr/local/lib/python2.4/site-packages/bzrlib/commands.py(835)exception_to_return_code()
-> return the_callable(*args, **kwargs)
  /usr/local/lib/python2.4/site-packages/bzrlib/commands.py(1030)run_bzr()
-> ret = run(*run_argv)
  /usr/local/lib/python2.4/site-packages/bzrlib/commands.py(647)run_argv_aliases()
-> return self.run(**all_cmd_args)
  /usr/local/lib/python2.4/site-packages/bzrlib/builtins.py(4725)run()
-> protocol(transport, host, port, inet)
  /usr/local/lib/python2.4/site-packages/bzrlib/smart/server.py(342)serve_bzr()
-> smart_server.serve()
  /usr/local/lib/python2.4/site-packages/bzrlib/smart/server.py(121)serve()
-> conn, client_addr = self._server_socket.accept()
> /usr/local/lib/python2.4/site-packages/bzrlib/breakin.py(33)_debug()
-> signal.signal(signal.SIGQUIT, _debug)
(Pdb)

The kill -QUIT with bt on the client at this point:
jo@seahorse:~/bzr/vp-trunk$ bzr merge bzr://bzr.hosts.itris.nl/vp-trunk
** SIGQUIT received, entering debuggerB/s | Fetching revisions:Inserting
stream
** Type 'c' to continue or 'q' to stop the process
** Or SIGQUIT again to quit (and possibly dump core)
> /usr/lib/python2.5/site-packages/bzrlib/breakin.py(33)_debug()
-> signal.signal(signal.SIGQUIT, _debug)
(Pdb) bt
  /usr/bin/bzr(142)<module>()
-> exit_val = bzrlib.commands.main()
  /usr/lib/python2.5/site-packages/bzrlib/commands.py(1108)main()
-> ret = run_bzr_catch_errors(argv)
  /usr/lib/python2.5/site-packages/bzrlib/commands.py(1120)run_bzr_catch_errors()
-> return exception_to_return_code(run_bzr, argv)
  /usr/lib/python2.5/site-packages/bzrlib/commands.py(835)exception_to_return_code()
-> return the_callable(*args, **kwargs)
  /usr/lib/python2.5/site-packages/bzrlib/commands.py(1030)run_bzr()
-> ret = run(*run_argv)
  /usr/lib/python2.5/site-packages/bzrlib/commands.py(647)run_argv_aliases()
-> return self.run(**all_cmd_args)
  /usr/lib/python2.5/site-packages/bzrlib/builtins.py(3683)run()
-> location, revision, remember, possible_transports, pb)
  /usr/lib/python2.5/site-packages/bzrlib/builtins.py(3790)_get_merger_from_branch()
-> other_revision_id, base_revision_id, other_branch, base_branch)
  /usr/lib/python2.5/site-packages/bzrlib/merge.py(204)from_revision_ids()
-> merger.set_other_revision(other, other_branch)
  /usr/lib/python2.5/site-packages/bzrlib/merge.py(343)set_other_revision()
-> self._maybe_fetch(other_branch, self.this_branch, self.other_rev_id)
  /usr/lib/python2.5/site-packages/bzrlib/merge.py(360)_maybe_fetch()
-> target.fetch(source, revision_id)
  /usr/lib/python2.5/site-packages/bzrlib/decorators.py(192)write_locked()
-> result = unbound(self, *args, **kwargs)
  /usr/lib/python2.5/site-packages/bzrlib/branch.py(565)fetch()
-> pb=pb)
  /usr/lib/python2.5/site-packages/bzrlib/repository.py(1544)fetch()
-> find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  /usr/lib/python2.5/site-packages/bzrlib/decorators.py(192)write_locked()
-> result = unbound(self, *args, **kwargs)
  /usr/lib/python2.5/site-packages/bzrlib/repository.py(3188)fetch()
-> pb=pb, find_ghosts=find_ghosts)
  /usr/lib/python2.5/site-packages/bzrlib/fetch.py(79)__init__()
-> self.__fetch()
  /usr/lib/python2.5/site-packages/bzrlib/fetch.py(105)__fetch()
-> self._fetch_everything_for_search(search)
  /usr/lib/python2.5/site-packages/bzrlib/fetch.py(133)_fetch_everything_for_search()
-> stream, from_format, [])
  /usr/lib/python2.5/site-packages/bzrlib/repository.py(3957)insert_stream()
-> return self._locked_insert_stream(stream, src_format, is_resume)
  /usr/lib/python2.5/site-packages/bzrlib/repository.py(3986)_locked_insert_stream()
-> for substream_type, substream in stream:
  /usr/lib/python2.5/site-packages/bzrlib/remote.py(1797)missing_parents_chain()
-> for kind, stream in self._get_stream(sources[0], search):
  /usr/lib/python2.5/site-packages/bzrlib/smart/repository.py(491)record_stream()
-> for bytes in byte_stream:
  /usr/lib/python2.5/site-packages/bzrlib/smart/message.py(336)read_streamed_body()
-> self._read_more()
  /usr/lib/python2.5/site-packages/bzrlib/smart/message.py(277)_read_more()
-> bytes = self._medium_request.read_bytes(next_read_size)
  /usr/lib/python2.5/site-packages/bzrlib/smart/medium.py(456)read_bytes()
-> return self._read_bytes(count)
  /usr/lib/python2.5/site-packages/bzrlib/smart/medium.py(468)_read_bytes()
-> return self._medium.read_bytes(count)
  /usr/lib/python2.5/site-packages/bzrlib/smart/medium.py(149)read_bytes()
-> return self._read_bytes(bytes_to_read)
  /usr/lib/python2.5/site-packages/bzrlib/smart/medium.py(886)_read_bytes()
-> self._socket.recv, count, self._report_activity)
  /usr/lib/python2.5/site-packages/bzrlib/smart/medium.py(933)_read_bytes_from_socket()
-> bytes = osutils.until_no_eintr(sock, _MAX_READ_SIZE)
  /usr/lib/python2.5/site-packages/bzrlib/osutils.py(1803)until_no_eintr()
-> return f(*a, **kw)
> /usr/lib/python2.5/site-packages/bzrlib/breakin.py(33)_debug()
-> signal.signal(signal.SIGQUIT, _debug)
(Pdb)