Package: subversion Version: 1.7.5-1 Severity: normal Today I tried to svn update my openwrt repository. It got to recent commits and then crashed (SIGABRT). Now every time I try to update, I get a crash. This only happens with my openwrt checkout and only happens with the svn update command. After recompiling subversion with debug symbols, I get the below traceback. svn cleanup doesn't help and svn revert -R . doesn't either. I did a new checkout in a separate directory and I don't get the crash, so I guess something about my checkout must be corrupted. It would be nice if svn could warn me about that instead of crashing.
pabs@chianamo ~/openwrt $ gdb --args svn update GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/svn...done. (gdb) r Starting program: /usr/bin/svn update [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Updating '.': /tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c:1583: (apr_err=235000) svn: E235000: In file '/tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c' line 1583: assertion failed (action == svn_wc_conflict_action_edit || action == svn_wc_conflict_action_delete || action == svn_wc_conflict_action_replace) Program received signal SIGABRT, Aborted. 0x00007ffff6849475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007ffff6849475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007ffff684c6f0 in *__GI_abort () at abort.c:92 #2 0x00007ffff701ffa2 in svn_error_abort_on_malfunction (can_return=1, file=0x7ffff7946f08 "/tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c", line=1583, expr=0x7ffff79472e0 "action == svn_wc_conflict_action_edit || action == svn_wc_conflict_action_delete || action == svn_wc_conflict_action_replace") at /tmp/buildd/subversion-1.7.5/subversion/libsvn_subr/error.c:648 #3 0x00007ffff701fff3 in svn_error__malfunction (can_return=1, file=0x7ffff7946f08 "/tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c", line=1583, expr=0x7ffff79472e0 "action == svn_wc_conflict_action_edit || action == svn_wc_conflict_action_delete || action == svn_wc_conflict_action_replace") at /tmp/buildd/subversion-1.7.5/subversion/libsvn_subr/error.c:671 #4 0x00007ffff78ff3de in check_tree_conflict (pconflict=0x7fffffffccd0, eb=0x7ffff7f9e120, local_abspath=0x7ffff7f4a1b0 "/home/pabs/openwrt/tools/firmware-utils/src/bcm_tag.h", working_status=svn_wc__db_status_added, working_kind=svn_wc__db_kind_file, exists_in_repos=1, action=svn_wc_conflict_action_add, their_node_kind=svn_node_file, their_relpath=0x7ffff7f4a210 "trunk/tools/firmware-utils/src/bcm_tag.h", result_pool=0x7ffff7f4a028, scratch_pool=0x7ffff7f4a028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c:1581 #5 0x00007ffff7905e66 in close_file (file_baton=0x7ffff7f4a0a0, expected_md5_digest=0x7ffff7f90250 "230e8fc0c3b6d393dc40625e2a3c3079", pool=0x7ffff7f90028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c:4085 #6 0x00007ffff7483512 in close_file (file_baton=0x7ffff7f9c0d0, text_checksum=0x7ffff7f90250 "230e8fc0c3b6d393dc40625e2a3c3079", pool=0x7ffff7f90028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_delta/cancel.c:234 #7 0x00007ffff5939869 in ra_svn_handle_close_file (conn=0x7ffff7fa0028, pool=0x7ffff7f90028, params=0x7ffff7f90148, ds=0x7fffffffcfc0) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_ra_svn/editorp.c:772 #8 0x00007ffff5939e97 in svn_ra_svn_drive_editor2 (conn=0x7ffff7fa0028, pool=0x7ffff7fac028, editor=0x7ffff7fad030, edit_baton=0x7ffff7fad0b0, aborted=0x0, for_replay=0) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_ra_svn/editorp.c:916 #9 0x00007ffff592b960 in ra_svn_finish_report (baton=0x7ffff7fad290, pool=0x7ffff7fac028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_ra_svn/client.c:299 #10 0x00007ffff78b3c2b in svn_wc_crawl_revisions5 (wc_ctx=0x7ffff7feda40, local_abspath=0x7ffff7fac1d0 "/home/pabs/openwrt", reporter=0x7ffff5b43d20, report_baton=0x7ffff7fad290, restore_files=1, depth=svn_depth_unknown, honor_depth_exclude=1, depth_compatibility_trick=0, use_commit_times=0, cancel_func=0x41310f <svn_cl__check_cancel>, cancel_baton=0x0, notify_func=0x419f25 <svn_cl__check_externals_failed_notify_wrapper>, notify_baton=0x7fffffffd780, scratch_pool=0x7ffff7fac028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/adm_crawler.c:865 #11 0x00007ffff7bcf26c in update_internal (result_rev=0x7fffffffd6c8, local_abspath=0x7ffff7fac1d0 "/home/pabs/openwrt", anchor_abspath=0x7ffff7faca18 "/home/pabs/openwrt", revision=0x7fffffffd5e0, depth=svn_depth_unknown, depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, timestamp_sleep=0x7fffffffd6d4, notify_summary=1, ctx=0x7ffff7fed988, pool=0x7ffff7fac028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_client/update.c:401 #12 0x00007ffff7bcf83b in svn_client__update_internal (result_rev=0x7fffffffd6c8, local_abspath=0x7ffff7fac1d0 "/home/pabs/openwrt", revision=0x7fffffffd958, depth=svn_depth_unknown, depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, make_parents=0, innerupdate=0, timestamp_sleep=0x7fffffffd6d4, ctx=0x7ffff7fed988, pool=0x7ffff7fac028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_client/update.c:543 #13 0x00007ffff7bcfacd in svn_client_update4 (result_revs=0x7fffffffd778, paths=0x7ffff7fb43e0, revision=0x7fffffffd958, depth=svn_depth_unknown, depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, make_parents=0, ctx=0x7ffff7fed988, pool=0x7ffff7fed028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_client/update.c:600 #14 0x0000000000421fcc in svn_cl__update (os=0x7ffff7fed280, baton=0x7fffffffd930, scratch_pool=0x7ffff7fed028) at /tmp/buildd/subversion-1.7.5/subversion/svn/update-cmd.c:157 #15 0x0000000000415c70 in main (argc=2, argv=0x7fffffffdcd8) at /tmp/buildd/subversion-1.7.5/subversion/svn/main.c:2659 (gdb) thread apply all bt full Thread 1 (Thread 0x7ffff7fb7760 (LWP 18271)): #0 0x00007ffff6849475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 pid = <optimized out> selftid = <optimized out> #1 0x00007ffff684c6f0 in *__GI_abort () at abort.c:92 act = {__sigaction_handler = {sa_handler = 0x7ffff6ffbf28, sa_sigaction = 0x7ffff6ffbf28}, sa_mask = {__val = {140737337715264, 4, 140737335101358, 206158430256, 140737354100896, 140737329093536, 140737332764672, 140737488341504, 4294967295, 0, 1, 2574712, 0, 4294967294, 0, 140737337311232}}, sa_flags = -136402446, sa_restorer = 0x7fff00000001} sigs = {__val = {32, 0 <repeats 15 times>}} #2 0x00007ffff701ffa2 in svn_error_abort_on_malfunction (can_return=1, file=0x7ffff7946f08 "/tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c", line=1583, expr=0x7ffff79472e0 "action == svn_wc_conflict_action_edit || action == svn_wc_conflict_action_delete || action == svn_wc_conflict_action_replace") at /tmp/buildd/subversion-1.7.5/subversion/libsvn_subr/error.c:648 err = 0x7ffff7f340a0 #3 0x00007ffff701fff3 in svn_error__malfunction (can_return=1, file=0x7ffff7946f08 "/tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c", line=1583, expr=0x7ffff79472e0 "action == svn_wc_conflict_action_edit || action == svn_wc_conflict_action_delete || action == svn_wc_conflict_action_replace") at /tmp/buildd/subversion-1.7.5/subversion/libsvn_subr/error.c:671 No locals. #4 0x00007ffff78ff3de in check_tree_conflict (pconflict=0x7fffffffccd0, eb=0x7ffff7f9e120, local_abspath=0x7ffff7f4a1b0 "/home/pabs/openwrt/tools/firmware-utils/src/bcm_tag.h", working_status=svn_wc__db_status_added, working_kind=svn_wc__db_kind_file, exists_in_repos=1, action=svn_wc_conflict_action_add, their_node_kind=svn_node_file, their_relpath=0x7ffff7f4a210 "trunk/tools/firmware-utils/src/bcm_tag.h", result_pool=0x7ffff7f4a028, scratch_pool=0x7ffff7f4a028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c:1581 svn_err__temp = 0x7ffff6dce62e reason = svn_wc_conflict_reason_replaced locally_replaced = 1 modified = 0 all_mods_are_deletes = 0 #5 0x00007ffff7905e66 in close_file (file_baton=0x7ffff7f4a0a0, expected_md5_digest=0x7ffff7f90250 "230e8fc0c3b6d393dc40625e2a3c3079", pool=0x7ffff7f90028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/update_editor.c:4085 svn_err__temp = 0x7fffffffce40 tree_conflict = 0x0 local_is_link = 1 incoming_is_link = 0 i = 0 fb = 0x7ffff7f4a0a0 eb = 0x7ffff7f9e120 content_state = svn_wc_notify_state_inapplicable prop_state = svn_wc_notify_state_inapplicable lock_state = svn_wc_notify_lock_state_unchanged expected_md5_checksum = 0x7ffff7f4a4d0 new_base_props = 0x0 new_actual_props = 0x0 entry_prop_changes = 0x7ffff7f4a4f0 dav_prop_changes = 0x7ffff7f4a520 regular_prop_changes = 0x7ffff7f4a550 current_base_props = 0x7ffff7f4a9f8 current_actual_props = 0x7ffff7f4a738 local_actual_props = 0x7ffff7f4a738 all_work_items = 0x0 work_item = 0x7ffff7f900d0 scratch_pool = 0x7ffff7f4a028 keep_recorded_info = 0 #6 0x00007ffff7483512 in close_file (file_baton=0x7ffff7f9c0d0, text_checksum=0x7ffff7f90250 "230e8fc0c3b6d393dc40625e2a3c3079", pool=0x7ffff7f90028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_delta/cancel.c:234 fb = 0x7ffff7f9c0d0 eb = 0x7ffff7fad0b0 #7 0x00007ffff5939869 in ra_svn_handle_close_file (conn=0x7ffff7fa0028, pool=0x7ffff7f90028, params=0x7ffff7f90148, ds=0x7fffffffcfc0) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_ra_svn/editorp.c:772 svn_err__temp = 0x7ffff7f90028 token = 0x7ffff7f901c8 "c43" entry = 0x7ffff7f9c0a0 text_checksum = 0x7ffff7f90250 "230e8fc0c3b6d393dc40625e2a3c3079" #8 0x00007ffff5939e97 in svn_ra_svn_drive_editor2 (conn=0x7ffff7fa0028, pool=0x7ffff7fac028, editor=0x7ffff7fad030, edit_baton=0x7ffff7fad0b0, aborted=0x0, for_replay=0) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_ra_svn/editorp.c:916 state = {editor = 0x7ffff7fad030, edit_baton = 0x7ffff7fad0b0, tokens = 0x7ffff7f9af78, aborted = 0x0, done = 0, pool = 0x7ffff7fac028, file_pool = 0x7ffff7f9c028, file_refs = 1, for_replay = 0} subpool = 0x7ffff7f90028 cmd = 0x7ffff7f90130 "close-file" i = 14 err = 0x0 write_err = 0x7ffff7fac028 params = 0x7ffff7f90148 #9 0x00007ffff592b960 in ra_svn_finish_report (baton=0x7ffff7fad290, pool=0x7ffff7fac028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_ra_svn/client.c:299 svn_err__temp = 0x419f25 b = 0x7ffff7fad290 #10 0x00007ffff78b3c2b in svn_wc_crawl_revisions5 (wc_ctx=0x7ffff7feda40, local_abspath=0x7ffff7fac1d0 "/home/pabs/openwrt", reporter=0x7ffff5b43d20, report_baton=0x7ffff7fad290, restore_files=1, depth=svn_depth_unknown, honor_depth_exclude=1, depth_compatibility_trick=0, use_commit_times=0, cancel_func=0x41310f <svn_cl__check_cancel>, cancel_baton=0x0, notify_func=0x419f25 <svn_cl__check_externals_failed_notify_wrapper>, notify_baton=0x7fffffffd780, scratch_pool=0x7ffff7fac028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_wc/adm_crawler.c:865 db = 0x7ffff7feda58 fserr = 0x7ffff78a37c8 err = 0x0 target_rev = 33669 start_empty = 1 status = svn_wc__db_status_incomplete target_kind = svn_wc__db_kind_dir repos_relpath = 0x7ffff7fad2b8 "trunk" repos_root_url = 0x7ffff7fad2c0 "svn://svn.openwrt.org/openwrt" target_depth = svn_depth_infinity target_lock = 0x0 disk_kind = svn_node_dir report_depth = svn_depth_infinity #11 0x00007ffff7bcf26c in update_internal (result_rev=0x7fffffffd6c8, local_abspath=0x7ffff7fac1d0 "/home/pabs/openwrt", anchor_abspath=0x7ffff7faca18 "/home/pabs/openwrt", revision=0x7fffffffd5e0, depth=svn_depth_unknown, depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, timestamp_sleep=0x7fffffffd6d4, notify_summary=1, ctx=0x7ffff7fed988, pool=0x7ffff7fac028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_client/update.c:401 update_editor = 0x7ffff7fad030 update_edit_baton = 0x7ffff7fad0b0 reporter = 0x7ffff5b43d20 report_baton = 0x7ffff7fad290 anchor_url = 0x7ffff7facaa0 "svn://svn.openwrt.org/openwrt/trunk" corrected_url = 0x0 target = 0x7ffff7bd4cab "" repos_root = 0x7ffff7facfc8 "svn://svn.openwrt.org/openwrt" err = 0x0 revnum = 33669 use_commit_times = 0 sleep_here = 0 use_sleep = 0x7fffffffd6d4 clean_checkout = 0 diff3_cmd = 0x0 ra_session = 0x7ffff7fa60d8 preserved_exts_str = 0x7ffff7bd4cab "" preserved_exts = 0x0 dfb = {ra_session = 0x7ffff7fa60d8, target_revision = -1, anchor_url = 0x7ffff7facaa0 "svn://svn.openwrt.org/openwrt/trunk"} server_supports_depth = 1 tree_conflicted = 0 cfg = 0x7ffff7fd70f0 #12 0x00007ffff7bcf83b in svn_client__update_internal (result_rev=0x7fffffffd6c8, local_abspath=0x7ffff7fac1d0 "/home/pabs/openwrt", revision=0x7fffffffd958, depth=svn_depth_unknown, depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, make_parents=0, innerupdate=0, timestamp_sleep=0x7fffffffd6d4, ctx=0x7ffff7fed988, pool=0x7ffff7fac028) err = 0x0 peg_revision = {kind = svn_opt_revision_unspecified, value = {number = 0, date = 0}} #13 0x00007ffff7bcfacd in svn_client_update4 (result_revs=0x7fffffffd778, paths=0x7ffff7fb43e0, revision=0x7fffffffd958, depth=svn_depth_unknown, depth_is_sticky=0, ignore_externals=0, allow_unver_obstructions=0, adds_as_modification=1, make_parents=0, ctx=0x7ffff7fed988, pool=0x7ffff7fed028) at /tmp/buildd/subversion-1.7.5/subversion/libsvn_client/update.c:600 err = 0x0 result_rev = 140737351977557 local_abspath = 0x7ffff7fac1d0 "/home/pabs/openwrt" i = 0 subpool = 0x7ffff7fac028 path = 0x7ffff70581bc "" sleep = 0 #14 0x0000000000421fcc in svn_cl__update (os=0x7ffff7fed280, baton=0x7fffffffd930, scratch_pool=0x7ffff7fed028) at /tmp/buildd/subversion-1.7.5/subversion/svn/update-cmd.c:157 svn_err__temp = 0x4092d0 opt_state = 0x7fffffffd950 ctx = 0x7ffff7fed988 targets = 0x7ffff7fb43e0 depth = svn_depth_unknown depth_is_sticky = 0 nwb = {wrapped_func = 0x4178e3 <notify>, wrapped_baton = 0x7ffff7fb3538, had_externals_error = 0} result_revs = 0x7ffff7fb4408 #15 0x0000000000415c70 in main (argc=2, argv=0x7fffffffdcd8) at /tmp/buildd/subversion-1.7.5/subversion/svn/main.c:2659 err = 0x0 allocator = 0x6461c0 pool = 0x7ffff7fed028 opt_id = 32767 os = 0x7ffff7fed280 opt_state = {revision_ranges = 0x7ffff7fed258, start_revision = {kind = svn_opt_revision_unspecified, value = {number = 0, date = 0}}, end_revision = {kind = svn_opt_revision_unspecified, value = {number = 0, date = 0}}, used_change_arg = 0, used_revision_arg = 0, limit = 0, depth = svn_depth_unknown, no_unlock = 0, message = 0x0, ancestor_path = 0x0, force = 0, force_log = 0, incremental = 0, quiet = 0, non_interactive = 0, version = 0, verbose = 0, update = 0, strict = 0, filedata = 0x0, encoding = 0x0, help = 0, auth_username = 0x0, auth_password = 0x0, extensions = 0x0, targets = 0x0, xml = 0, no_ignore = 0, no_auth_cache = 0, no_diff_deleted = 0, show_copies_as_adds = 0, notice_ancestry = 0, ignore_ancestry = 0, ignore_externals = 0, stop_on_copy = 0, dry_run = 0, revprop = 0, diff_cmd = 0x0, merge_cmd = 0x0, editor_cmd = 0x0, record_only = 0, old_target = 0x0, new_target = 0x0, relocate = 0, config_dir = 0x0, config_options = 0x0, autoprops = 0, no_autoprops = 0, native_eol = 0x0, summarize = 0, remove = 0, changelists = 0x7ffff7fed2e0, changelist = 0x0, keep_changelists = 0, keep_local = 0, all_revprops = 0, no_revprops = 0, revprop_table = 0x0, parents = 0, use_merge_history = 0, accept_which = svn_cl__accept_unspecified, show_revs = svn_cl__show_revs_merged, set_depth = svn_depth_unknown, reintegrate = 0, trust_server_cert = 0, strip = 0, ignore_keywords = 0, reverse_diff = 0, ignore_whitespace = 0, show_diff = 0, internal_diff = 0, use_git_diff_format = 0, allow_mixed_rev = 0} ctx = 0x7ffff7fed988 received_opts = 0x7ffff7fed0a0 i = 0 subcommand = 0x642590 dash_m_arg = 0x0 dash_F_arg = 0x0 command_baton = {opt_state = 0x7fffffffd950, ctx = 0x7ffff7fed988} ab = 0x7ffff7fb3df8 cfg_config = 0x7ffff7fd70f0 descend = 1 interactive_conflicts = 1 changelists = 0x7ffff7fed188 -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages subversion depends on: ii libapr1 1.4.6-3 ii libc6 2.13-35 ii libsasl2-2 2.1.25.dfsg1-5 ii libsvn1 1.7.5-1 Versions of packages subversion suggests: ii db5.1-util 5.1.29-5 ii patch 2.6.1-3 ii subversion-tools 1.7.5-1 -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part