Bazaar Explorer Hangs After Open Location

Bug #1152360 reported by psanpietro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
New
Undecided
Unassigned

Bug Description

$ cat /etc/issue
Ubuntu 12.10 \n \l

$ uname -r
3.5.0-25-generic

$ dpkg -l | grep bzr
ii bzr 2.6.0~beta2-0ubuntu1 all easy to use distributed version control system
ii bzr-explorer 1.3.0-1 all GUI application for using Bazaar
ii python-bzrlib 2.6.0~beta2-0ubuntu1 i386 distributed version control system - python library
ii qbzr 0.22.2-1 all Graphical interface for Bazaar using the Qt toolkit

$ cat .bazaar/qbzr.conf
[DEFAULT]
config_window_size = 431x300
explorer_window_size = 800x600
explorer_window_maximized = True
diff_window_size = 780x580
sysinfo_window_size = 409x314
cat_window_size = 780x580
[EXTDIFF]

$ cat /home/pablo/bazaar/DENWAPBX/trunk/.bzr/branch/branch.conf
bound_location = sftp://root@192.168.1.252/srv/bzr/DENWAPBX/trunk/
bound = True

$ du -sh /home/pablo/bazaar/DENWAPBX/trunk/
699M /home/pablo/bazaar/DENWAPBX/trunk/

Now I open Bazaar Explorer and after a little while the "check paths: None" messages start appearing.

$ tail -f ~/.bzr.log

Thu 2013-03-07 19:30:16 -0300
0.064 bazaar version: 2.6b2
0.064 bzr arguments: [u'explorer']
0.067 looking for plugins in /home/pablo/.bazaar/plugins
0.067 looking for plugins in /usr/lib/python2.7/dist-packages/bzrlib/plugins
0.094 encoding stdout as osutils.get_user_encoding() 'utf-8'
0.378 loading explorer extensions for clothes [u'Bazaar support', u'Register on Launchpad']
0.454 setting preference language to en_US.UTF-8 (was en_US.UTF-8)
0.454 setting preference status-auto-refresh to False (was False)
0.454 setting preference toolbox-on-status-view to False (was False)
0.454 setting preference location-selector-style to tree (was tree)
0.454 setting preference toolbox-style to tree (was tree)
4.250 opening working tree '/home/pablo/bazaar/DENWAPBX/trunk'
4.296 check paths: None
44.957 check paths: None
45.682 check paths: None
46.432 check paths: None
47.168 check paths: None
47.867 check paths: None
48.552 check paths: None
49.403 check paths: None
49.513 check paths: None
49.623 check paths: None
49.746 check paths: None
49.855 check paths: None
49.966 check paths: None
50.082 check paths: None
50.190 check paths: None
50.299 check paths: None
50.408 check paths: None
50.531 check paths: None
50.641 check paths: None
50.749 check paths: None
50.858 check paths: None
50.967 check paths: None
51.077 check paths: None
51.193 check paths: None
51.306 check paths: None
51.429 check paths: None
51.539 check paths: None
51.646 check paths: None
51.759 check paths: None
51.868 check paths: None
51.977 check paths: None
52.085 check paths: None
52.207 check paths: None
52.341 check paths: None
52.477 check paths: None
52.614 check paths: None
52.750 check paths: None
52.889 check paths: None
53.026 check paths: None
53.181 check paths: None
53.312 check paths: None
53.446 check paths: None
53.582 check paths: None
53.713 check paths: None
53.847 check paths: None
53.979 check paths: None
54.118 check paths: None
54.300 check paths: None
54.444 check paths: None
54.599 check paths: None
54.729 check paths: None
54.864 check paths: None
55.000 check paths: None
55.138 check paths: None
55.286 check paths: None
55.419 check paths: None
55.574 check paths: None
55.735 check paths: None
55.894 check paths: None
56.039 check paths: None
56.177 check paths: None
56.339 check paths: None
56.476 check paths: None
56.609 check paths: None
56.741 check paths: None
56.877 check paths: None
57.008 check paths: None
57.145 check paths: None
57.330 check paths: None
57.478 check paths: None
57.619 check paths: None
57.754 check paths: None
57.910 check paths: None
58.054 check paths: None
58.189 check paths: None
58.325 check paths: None
58.518 check paths: None
58.653 check paths: None
58.787 check paths: None
58.929 check paths: None
59.056 check paths: None
59.188 check paths: None
59.317 check paths: None
59.469 check paths: None
59.602 check paths: None
59.732 check paths: None
59.864 check paths: None
60.005 check paths: None
60.133 check paths: None
60.262 check paths: None
60.416 check paths: None
60.543 check paths: None
60.675 check paths: None
60.806 check paths: None
60.941 check paths: None
61.072 check paths: None
61.207 check paths: None
61.338 check paths: None
61.490 check paths: None
61.621 check paths: None
61.752 check paths: None
61.884 check paths: None
62.019 check paths: None
62.152 check paths: None
62.285 check paths: None
62.440 check paths: None
62.568 check paths: None
62.699 check paths: None
62.832 check paths: None
62.965 check paths: None
63.097 check paths: None
63.230 check paths: None
63.382 check paths: None
63.512 check paths: None

...
...

After an hour I have to kill the process because it was using 100%CPU.
I don't know what else I can add, but other co-workers work just fine with this config.

Please let me know if I can add some more information.
Thanks in advance.

Tags: hang
Revision history for this message
psanpietro (psanpietro-7) wrote :

Today when trying to figure out what could be the cause of the problem I remembered that I had a script running via crontab.
This script was changing some files owners and permissions inside the repo. After disabling this script, problem stopped. Is it possible that periodically changing permissions and owners can cause this behavior? Thanks in advance.

Revision history for this message
Dedeco (dedeco) wrote : Re: [Bug 1152360] Re: Bazaar Explorer Hangs After Open Location

psanpietro wrote:
> Today when trying to figure out what could be the cause of the problem I remembered that I had a script running via crontab.
> This script was changing some files owners and permissions inside the repo. After disabling this script, problem stopped. Is it possible that periodically changing permissions and owners can cause this behavior? Thanks in advance.
Bazaar will detect changes in permissions as it detect changes in file's
contents. I think it doesn't care about user and group information.

It is probably very very usefull if you can give us more information on
how the script was changing permissions. What files the script could
change, and what files it would not. Maybe if you help us to recreate
the problem, a fix could be planned sooner.

Revision history for this message
psanpietro (psanpietro-7) wrote :

Hi dedeco,

Here's what the script does:

chown pablo:root /usr/local/scripts/ -R -L
chmod ug+rw /usr/local/scripts/dnw/ -R
chmod +r /usr/local/scripts/dnw/ -R
chmod o-w /usr/local/scripts/dnw/ -R

chown www-data:pablo /var/www/ -R -L
chmod ug+rw /var/www/dnw/ -R
chmod +r /var/www/dnw/ -R
chmod o-w /var/www/dnw/ -R

Where /usr/local/scripts/dnw is a symbolic link to the folder /home/pablo/bazaar/DENWAPBX/trunk/scripts/ (that's inside the repo), and /var/www/dnw is a symbolic link to the folder /home/pablo/bazaar/DENWAPBX/trunk/www/ (that's also inside the repo).

Let me know if you need any additional info.
Hope it helps.

Thanks for answering.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.