gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] bazaar bug #385 (Re: Stabilizing Bazaar?)


From: Robert Widhopf-Fenk
Subject: [Gnu-arch-users] bazaar bug #385 (Re: Stabilizing Bazaar?)
Date: Thu, 19 May 2005 23:05:42 +0200

On Tuesday, May 10, 2005 at 23:31:29, Matthieu Moy wrote:
> [ Cc and Reply-to set to gnu-arch-dev ]
> 
> Jérôme Marant <address@hidden> writes:
> 
> >>   what things have you run into trouble on?
> >
> > Those ones:
> >
> > http://lists.gnu.org/archive/html/gnu-arch-users/2005-05/msg00011.html
> 
> The problem here comes from the fact that a pristine tree doesn't
> contain the {arch}/++default-version file. Then, for the FROM tree,
> 
>   tree->fqversion = arch_tree_version (tree->root);
> 
> fails, and tree->fqrevision is kept NULL, and later,
> arch_parse_package_name is called with a NULL pointer as the NAME
> argument.

Well I have {arch}/++default-version file but still get this
problem.

I will keep the tree as it is in order to reproduce the bug,
just tell me who I may help.

~/<1>arched/xtla--main--0.9 > gdb --args baz merge 
address@hidden/xtla--main--0.9--patch-80
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library 
"/lib/tls/libthread_db.so.1".

(gdb) break panic
Breakpoint 1 at 0x80bed1c: file 
/building/bazaar-1.3.2/src/hackerlab/bugs/panic.c, line 43.
(gdb) r
[Thread debugging using libthread_db enabled]
[New Thread -1212424064 (LWP 11194)]
* build reference tree for address@hidden/xtla--main--0.9--patch-80
* Scanning for full-tree revision: ......
* from pristine cache: address@hidden/xtla--main--0.9--patch-75
* Applying 5 revisions: .....
Searching for best merge point
.. done
* merge by 
delta(address@hidden/xtla--main--0.9--patch-6,address@hidden/xtla--main--0.9--patch-80)[/home/fenk/prog/arched/xtla--main--0.9]
* performing merge
/building/bazaar-1.3.2/src/baz/libarch/namespace.c:437:botched invariant
    arch_valid_package_name (name, arch_maybe_archive, arch_req_package, 1)
[Switching to Thread -1212424064 (LWP 11194)]

Breakpoint 1, panic (str=0x80f73c1 "exiting on botched invariant") at 
/building/bazaar-1.3.2/src/hackerlab/bugs/panic.c:43
43      /building/bazaar-1.3.2/src/hackerlab/bugs/panic.c: Datei oder 
Verzeichnis nicht gefunden.
        in /building/bazaar-1.3.2/src/hackerlab/bugs/panic.c
(gdb) bt
#0  panic (str=0x80f73c1 "exiting on botched invariant") at 
/building/bazaar-1.3.2/src/hackerlab/bugs/panic.c:43
#1  0x080bef1a in invariant_test (condition=0, str=0x80f3300 
"arch_valid_package_name (name, arch_maybe_archive, arch_req_package, 1)", 
file=0x1 <Address 0x1 out of bounds>, line=1)
    at /building/bazaar-1.3.2/src/hackerlab/bugs/panic.c:109
#2  0x080a232b in arch_parse_package_name (type=arch_ret_archive, 
default_archive=0x0, name=0x0) at 
/building/bazaar-1.3.2/src/baz/libarch/namespace.c:437
#3  0x080a6132 in arch_tree_latest_revision (
    base_tree_root=0x82328d0 
"/home/fenk/prog/arched/xtla--main--0.9/{arch}/++pristine-trees/unlocked/xtla/xtla--main/xtla--main--0.9/address@hidden/xtla--main--0.9--patch-6")
    at /building/bazaar-1.3.2/src/baz/libarch/patch-logs.c:1163
#4  0x0809e788 in arch_merge3 (chatter_fd=1, mine_tree=0x8136270, 
base_tree=0x82b7d60, other_tree=0x84a4990, escape_classes=82080, show_noops=1)
    at /building/bazaar-1.3.2/src/baz/libarch/merge-three-way.c:63
#5  0x080a0648 in arch_star_merge (chatter_fd=1, from_arch=0x0, 
from_archive=0x819c6b8 "address@hidden", from_revision=0x0, to_tree=0x8136270, 
to_arch=0x0,
    to_archive=0x8174db0 "address@hidden", to_version=0x0, cache_dir=0x81a0b70 
"/home/fenk/prog/arched", changeset_output=0x0, use_diff3=1, forward=1, 
escape_classes=82080,
    show_points_only=0, graph_merge=1, trace=136872224) at 
/building/bazaar-1.3.2/src/baz/libarch/merge.c:785
#6  0x080569a9 in arch_cmd_merge (program_name=0x8134008 "baz merge", argc=2, 
argv=0x81a1950) at /building/bazaar-1.3.2/src/baz/commands/merge.c:335
#7  0x0804a885 in main (argc=3, argv=0xbffff8d4) at 
/building/bazaar-1.3.2/src/baz/baz/baz.c:139
#8  0xb7e35974 in __libc_start_main () from /lib/tls/libc.so.6
#9  0x0804a331 in _start () at ../sysdeps/i386/elf/start.S:102
~/<1>arched/xtla--main--0.9 > cat \{arch}/++default-version
address@hidden/xtla--main--0.9
~/<1>arched/xtla--main--0.9 > baz -V
baz Bazaar version 1.3.2 (address@hidden/dists--bazaar--1.3[bazaar--devo.cfg])
from Canonical Ltd. and other members of the arch community

Copyright 2004,2005 Canonical Ltd.
Copyright 2003 Tom Lord.
Copyright 2003-2005 Various Contributors

This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to address@hidden

Bazaar version 1.3.2 (address@hidden/dists--bazaar--1.3[bazaar--devo.cfg])
~/<1>arched/xtla--main--0.9 > apt-show-versions -r bazaar
bazaar-dbg/unstable uptodate 1.3.2-1
bazaar/unstable uptodate 1.3.2-1
bazaar-doc/testing uptodate 1.1.1-1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]