Bazaar Explorer crash on branch creation

Bug #501597 reported by lill.LEIF
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar Explorer
New
Undecided
Unassigned

Bug Description

OS: Win7
Bzr: Version 0.8.3

In Bazzar explorer:
Select Start>Branch
In "location" select your work branch path
Leave Revision blank
Create new folder for the branch
in "To" select the new folder's path
Click OK
The branch is created but the Bazaar explorer hangs

From log:
on 2009-12-30 10:38:42 +0100
0.078 bzr arguments: [u'qcommit', u'--ui-mode']
0.106 looking for plugins in C:/Users/Henrik/AppData/Roaming/bazaar/2.0/plugins
0.106 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.275 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.385 opening working tree 'C:/Bazaar/work'
3.022 return code 1

Wed 2009-12-30 10:42:25 +0100
[ 5308] 2009-12-30 10:42:25.303 INFO: tbzrcache running...
6063.764 check paths: None
72139.430 encoding stdout as sys.stdout encoding 'cp850'

on 2009-12-30 10:42:39 +0100
0.062 bzr arguments: [u'qsubprocess', u'--bencode', u'l6:branch14:C:/Bazaar/work18:C:/Bazaar/Feature118:--use-existing-dire']
0.069 looking for plugins in C:/Users/Henrik/AppData/Roaming/bazaar/2.0/plugins
0.069 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.231 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.338 bzr arguments: [u'branch', u'C:/Bazaar/work', u'C:/Bazaar/Feature1', u'--use-existing-dir']
0.340 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.449 opening working tree 'C:/Bazaar/work'
0.515 creating branch <bzrlib.branch.BzrBranchFormat7 object at 0x02910F30> in file:///C:/Bazaar/Feature1/.bzr/
0.569 created new branch BzrBranch7('file:///C:/Bazaar/Feature1/')
[ 3664] 2009-12-30 10:42:40.516 INFO: Branched 1 revision(s).
0.586 return code 0
[ 5308] 2009-12-30 10:50:30.453 INFO: Client disconnected from pipe - closing connection
[ 5308] 2009-12-30 10:51:04.427 INFO: Client disconnected from pipe - closing connection
[ 5308] 2009-12-30 11:05:29.423 INFO: dirwatcher stopped

on 2009-12-30 11:23:40 +0100
0.086 bzr arguments: [u'explorer']

Martin Pool (mbp)
affects: bzr → bzr-explorer
Revision history for this message
Alexander Belchenko (bialix) wrote :

So it hangs or crash?

Revision history for this message
lill.LEIF (henwo442) wrote : Re: [Bug 501597] Re: Bazaar Explorer crash on branch creation

It crashes. I later saw that I did create a folder before I tried to create
a branch. So I guess the problem is that explorer is trying to create a
folder that already exists. A nice error dialog telling the user his doing
wrong would probably do the trick.

I guess it goes without saying that I'm a beginner on Bzr, but I guess more
people will do the same mistake.

2010/1/4 Alexander Belchenko <email address hidden>

> So it hangs or crash?
>
> --
> Bazaar Explorer crash on branch creation
> https://bugs.launchpad.net/bugs/501597
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Explorer: New
>
> Bug description:
> OS: Win7
> Bzr: Version 0.8.3
>
> In Bazzar explorer:
> Select Start>Branch
> In "location" select your work branch path
> Leave Revision blank
> Create new folder for the branch
> in "To" select the new folder's path
> Click OK
> The branch is created but the Bazaar explorer hangs
>
> >From log:
> on 2009-12-30 10:38:42 +0100
> 0.078 bzr arguments: [u'qcommit', u'--ui-mode']
> 0.106 looking for plugins in
> C:/Users/Henrik/AppData/Roaming/bazaar/2.0/plugins
> 0.106 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
> 0.275 encoding stdout as osutils.get_user_encoding() 'cp1252'
> 0.385 opening working tree 'C:/Bazaar/work'
> 3.022 return code 1
>
>
> Wed 2009-12-30 10:42:25 +0100
> [ 5308] 2009-12-30 10:42:25.303 INFO: tbzrcache running...
> 6063.764 check paths: None
> 72139.430 encoding stdout as sys.stdout encoding 'cp850'
>
> on 2009-12-30 10:42:39 +0100
> 0.062 bzr arguments: [u'qsubprocess', u'--bencode',
> u'l6:branch14:C:/Bazaar/work18:C:/Bazaar/Feature118:--use-existing-dire']
> 0.069 looking for plugins in
> C:/Users/Henrik/AppData/Roaming/bazaar/2.0/plugins
> 0.069 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
> 0.231 encoding stdout as osutils.get_user_encoding() 'cp1252'
> 0.338 bzr arguments: [u'branch', u'C:/Bazaar/work', u'C:/Bazaar/Feature1',
> u'--use-existing-dir']
> 0.340 encoding stdout as osutils.get_user_encoding() 'cp1252'
> 0.449 opening working tree 'C:/Bazaar/work'
> 0.515 creating branch <bzrlib.branch.BzrBranchFormat7 object at
> 0x02910F30> in file:///C:/Bazaar/Feature1/.bzr/
> 0.569 created new branch BzrBranch7('file:///C:/Bazaar/Feature1/')
> [ 3664] 2009-12-30 10:42:40.516 INFO: Branched 1 revision(s).
> 0.586 return code 0
> [ 5308] 2009-12-30 10:50:30.453 INFO: Client disconnected from pipe -
> closing connection
> [ 5308] 2009-12-30 10:51:04.427 INFO: Client disconnected from pipe -
> closing connection
> [ 5308] 2009-12-30 11:05:29.423 INFO: dirwatcher stopped
>
> on 2009-12-30 11:23:40 +0100
> 0.086 bzr arguments: [u'explorer']
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/bzr-explorer/+bug/501597/+subscribe
>

Revision history for this message
Alexander Belchenko (bialix) wrote :

Can you show the output of `bzr plugins` command?

Revision history for this message
Gordon Tyler (doxxx) wrote :

I just encountered the same bug on Windows XP SP3 using Bazaar 2.1.0b4 installed from the Win32 installer with the following plugins:

bzrtools 2.1.0b1
    Various useful commands for working with bzr.

explorer 0.10.0
    Version Control for Human Beings.

extmerge
    external merge plugin for bzr

launchpad 2.1.0b4
    Launchpad.net integration plugin for Bazaar.

netrc_credential_store 2.1.0b4
    Use ~/.netrc as a credential store for authentication.conf.

qbzr 0.17.0
    QBzr - Qt-based frontend for Bazaar

rebase 0.5.5
    Rebase support.

svn 1.0.1
    Support for Subversion branches

upload 1.0.0dev
    Upload a working tree, incrementally.

xmloutput 0.8.5
    This plugin provides xml output for status, log, annotate, missing, info,

Looking at the error in Visual Studio's debugger it appears to be an access violation caused by a null pointer. I don't have debugger symbols so I can't really pinpoint it any more than that.

Revision history for this message
Alexander Belchenko (bialix) wrote :

Gordon Tyler пишет:
> I just encountered the same bug on Windows XP SP3 using Bazaar 2.1.0b4
> installed from the Win32 installer with the following plugins:

Thanks.

> Looking at the error in Visual Studio's debugger it appears to be an
> access violation caused by a null pointer. I don't have debugger symbols
> so I can't really pinpoint it any more than that.

I can provide you debug symbols for bzr own dlls, if it helps. Can you
say is the problem in some bzr dll or in Qt dlls?

Revision history for this message
Matthäus G. Chajdas (anteru) wrote :

Well, I'm getting a freeze, even if the branch name is not an existing directory. I simply branch using explorer, and it immediately crashes after branching (i.e. I get the dialog window, see that the branch worked, and then bzr explorer freezes. Win7 tells me to kill the process.

Revision history for this message
Matthäus G. Chajdas (anteru) wrote :

Short update, as this might be a different bug actually. On Linux, when I branch from a bound branch, I get a segfault (when using explorer). On Windows, the explorer simply freezes. The source branch is bound to a SVN repository, the target is just a local bzr branch (i.e. bzr branch trunk foo), and trunk is bound to SVN.

Revision history for this message
David Roberts (smartgpx) wrote :

I note that the OP is using very old releases, but that this appears to be a duplicate of the older bug:493644 which is apparent with recent releases and has just been confirmed by one of the explorer devs.

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.