Package: bazaar
Version: 1.4.2-1
Severity: important

Running baz rbrowse -s; segfaults here [the archive doesn't have
anything exciting in it, which could be the reason why everyone
doesn't see it.]

(gdb) bt full
#0  arch_archive_categories (arch=0x0) at 
/build/buildd/bazaar-1.4.2/src/baz/libarch/archive.c:747
        answer = 0x0
#1  0x0805976e in arch_cmd_rbrowse (program_name=0x814c040 "baz rbrowse", 
argc=1, argv=0x0)
    at /build/buildd/bazaar-1.4.2/src/baz/commands/rbrowse.c:286
        y = -1073744268
        arch = (struct arch_archive *) 0x0
        categories = 0x0
        x = -1207990059
        z = 1
        shown_archive = 0
        o = 0
        w = 0
        all_archives = 0
        snap_force = 0
        summarized_headers = 4
        want_logs = 1
        unhide_sealed = 0
        log_reverse = 0
        option = (struct opt_parsed *) 0x814c898
        patch_regex_needle = {re_nsub = 1, pattern = 0x814cbd4, subexps = 0x0, 
icase = 0, translate = 0x0, 
  newline_anchor = 0 '\0', is_left_anchored = 0, is_right_anchored = 0, 
is_nullable = 1 '\001', no_sub = 0 '\0', 
  fastmap = '\001' <repeats 256 times>, small_p = 0, owner_data = 0x0}
        limit_regex_needle = {re_nsub = 1, pattern = 0x814cac4, subexps = 0x0, 
icase = 0, translate = 0x0, 
  newline_anchor = 0 '\0', is_left_anchored = 0, is_right_anchored = 0, 
is_nullable = 1 '\001', no_sub = 0 '\0', 
  fastmap = '\001' <repeats 256 times>, small_p = 0, owner_data = 0x0}
        snap_file = (t_uchar *) 0x0
        since_filename = (t_uchar *) 0x0
        archive_name = (t_uchar *) 0x814c9e8 "[EMAIL PROTECTED]"
        patch_regex = (t_uchar *) 0x814c938 ".*"
        limit_regex = (t_uchar *) 0x814c8b0 ".*"
        since_output = 0x0
        saved_since = 0x0
        archive_list = 0x814ccfc
#2  0x0804ab93 in main (argc=3, argv=0xbffffa64) at 
/build/buildd/bazaar-1.4.2/src/baz/baz/baz.c:145
        full_program_name = (t_uchar *) 0x814c040 "baz rbrowse"
        e = (struct exception *) 0x814c040
        answer = 1


rel_table
arch_archive_categories (struct arch_archive * arch)
{
  rel_table answer = 0;

  answer = arch->vtable->categories (arch); <-- ;-)
  rel_sort_table_by_field (0, answer, 0);

  return answer;
}

[in rbrowse.c]

      arch = arch_archive_connect_branch (archive_list[w][0], NULL);

      categories = arch_archive_categories(arch);


Hrm... I wonder what happens when arch_archive_connect_branch returns 0?

[If you actually need the rest of the corefile, I can supply it.]


Don Armstrong

-- 
Three little words. (In decending order of importance.)
I
love
you
 -- hugh macleod http://www.gapingvoid.com/graphics/batch35.php

http://www.donarmstrong.com              http://rzlab.ucr.edu

Attachment: signature.asc
Description: Digital signature

Reply via email to