[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Svn core dump

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-02-10 16:49:53 CET

Hello,

I'm getting a core dump on make check on both Solaris and RedHat 7.2 when
compiling with gcc -g -O2. Below is a stack trace and the output from the
failed tests in tests.log.

The core only happens when optimization is used, but it happens on both
gcc 3.0.3 and 2.95.3 on Solaris and Linux, which suggests that this may
not be just a compiler problem.

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
gdb ./subversion/clients/cmdline/svn ./subversion/tests/clients/cmdline/xmltests/t2/core
#0  find_entry (ht=0x0, key=0x74130, klen=12, val=0x0) at apr_hash.c:276
276         for (hep = &ht->array[hash & ht->max], he = *hep;
(gdb) bt
#0  find_entry (ht=0x0, key=0x74130, klen=12, val=0x0) at apr_hash.c:276
#1  0x000639ac in apr_hash_get (ht=0x0, key=0x74130, klen=12) at apr_hash.c:338
#2  0x000262b0 in svn_wc_install_file (file_path=0xa7e88 "./A/mu", new_revision=2, new_text_path=0xa8ce8 "./A/.svn/tmp/text-base/mu.svn-base", props=0x0,
    is_full_proplist=0, new_URL=0x0, pool=0xa7d80) at subversion/libsvn_wc/get_editor.c:1549
#3  0x00026d18 in close_file (file_baton=0xa7e50) at subversion/libsvn_wc/get_editor.c:2114
#4  0x0002d994 in close_file (file_baton=0x97660) at subversion/libsvn_delta/compose_editors.c:206
#5  0x000307ec in do_close_file (digger=0x9f5b0) at subversion/libsvn_delta/xml_parse.c:617
#6  0x00031374 in xml_handle_end (userData=0x9f5b0, name=0xa3539 "text-delta") at subversion/libsvn_delta/xml_parse.c:1273
#7  0x0004c2f8 in doContent (parser=0x9c3f0, startTagLevel=0, enc=0x7da88,
    s=0xffbef1e8 "</text-delta>\n<text-delta\n   id=\"2\">U1ZOAAAWQAMqFgCqCmZvciBjb21taXQgcmV2Miwgc2Vjb25kIGxpbmUgaW4gQS9EL0cvcGkK\n</text-delta>\n<text-delta\n   id=\"3\">U1ZOAAAAHQQZlkQOg1RoaXMgaXMgYWRkZWQgZmlsZSBuZXcxLgo=\n</"..., end=0xffbef2c0 "���\b", nextPtr=0xffbeed5c) at expat-lite/xmlparse.c:1346
#8  0x0004d7bc in prologProcessor (parser=0x9c3f0,
    s=0xffbeeee7 "<delta-pkg\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"A\">\n<dir\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"mu\">\n<file\n   base-rev=\"1\">\n<text-delta-ref\n   id=\"1\"/>\n</file>\n</open>\n<open\n   name=\"D\">"..., end=0xffbef2c0 "���\b", nextPtr=0xffbeed5c)
    at expat-lite/xmlparse.c:2034
#9  0x0004b580 in XML_Parse (parser=0x9c3f0,
    s=0xffbeeec0 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<delta-pkg\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"A\">\n<dir\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"mu\">\n<file\n   base-rev=\"1\">\n<text-delta-ref\n   id=\""..., len=1024, isFinal=0) at expat-lite/xmlparse.c:783
#10 0x0004a640 in svn_xml_parse (svn_parser=0xa15b8,
    buf=0xffbeeec0 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<delta-pkg\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"A\">\n<dir\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"mu\">\n<file\n   base-rev=\"1\">\n<text-delta-ref\n   id=\""..., len=1024, is_final=0) at subversion/libsvn_subr/xml.c:273
#11 0x00031564 in svn_delta_xml_parsebytes (
    buffer=0xffbeeec0 "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<delta-pkg\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"A\">\n<dir\n   base-rev=\"1\">\n<tree-delta>\n<open\n   name=\"mu\">\n<file\n   base-rev=\"1\">\n<text-delta-ref\n   id=\""..., len=1024, isFinal=0, delta_parser=0x9f650)
    at subversion/libsvn_delta/xml_parse.c:1484
#12 0x0003162c in svn_delta_xml_auto_parse (source=0x97630, editor=0x400, edit_baton=0x0, base_path=0x9f650 "", base_revision=2, pool=0x95bb0)
    at subversion/libsvn_delta/xml_parse.c:1545
#13 0x0001bde0 in svn_client_update (before_editor=0x0, before_edit_baton=0x0, after_editor=0x96590, after_edit_baton=0x96588, auth_baton=0x95d70,
    path=0x95d90, xml_src=0x95d28, revision=0xffbef540, recurse=1, notify_func=0x13980 <svn_cl__notify_func>, notify_baton=0x95bb0, pool=0x95bb0)
    at subversion/libsvn_client/update.c:185
#14 0x00016fac in svn_cl__update (os=0x0, opt_state=0xffbef540, pool=0x95bb0) at subversion/clients/cmdline/update-cmd.c:76
#15 0x00014f8c in main (argc=613296, argv=0x16e94) at subversion/clients/cmdline/main.c:1014
START: svn-test2.sh
Checking out t1.
A  t1/iota
A  t1/A
A  t1/A/mu
A  t1/A/B
A  t1/A/B/lambda
A  t1/A/B/E
A  t1/A/B/E/alpha
A  t1/A/B/E/beta
A  t1/A/B/F
A  t1/A/C
A  t1/A/D
A  t1/A/D/gamma
A  t1/A/D/G
A  t1/A/D/G/pi
A  t1/A/D/G/rho
A  t1/A/D/G/tau
A  t1/A/D/H
A  t1/A/D/H/chi
A  t1/A/D/H/psi
A  t1/A/D/H/omega
Updating t1/iota with properties.  (up2.xml)
_U ./iota
Updating t1/A/ with properties.  (up5.xml)
_U ./A
Properties on t1/A:
Properties on 't1/A':
  ninja : hamster
  wings : airplane
Properties on t1/iota:
Properties on 't1/iota':
  ocean : atlantic
  bat : ball
  color : blue
Making local changes to these properties.
property `ninja' set  on 't1/A'
property `wings' set  on 't1/A'
property `window' set  on 't1/A'
property `door' set  on 't1/A'
property `bat' set  on 't1/iota'
property `lexicon' set  on 't1/iota'
property `yowza' set  on 't1/A'
Making local text changes on pi and rho.
Status of directory:
_M     t1/A
M      t1/A/D/G/pi
M      t1/A/D/G/rho
_M     t1/iota
Updating with (conflicting) properties.  (up-props.xml)
_G ./iota
_G ./A
Updating with (conflicting) text.  (pipatch.xml)
Oops, problem: 10
END: svn-test2.sh
START: svn-test.sh
Checking out t1.
A  t1/iota
A  t1/A
A  t1/A/mu
A  t1/A/B
A  t1/A/B/lambda
A  t1/A/B/E
A  t1/A/B/E/alpha
A  t1/A/B/E/beta
A  t1/A/B/F
A  t1/A/C
A  t1/A/D
A  t1/A/D/gamma
A  t1/A/D/G
A  t1/A/D/G/pi
A  t1/A/D/G/rho
A  t1/A/D/G/tau
A  t1/A/D/H
A  t1/A/D/H/chi
A  t1/A/D/H/psi
A  t1/A/D/H/omega
Modifying t1/A/D/G/pi.
Modifying t1/A/mu.
Adding t1/newfile1.
A          t1/newfile1
Adding t1/A/B/E/newfile2.
A          t1/A/B/E/newfile2
Deleting versioned file A/D/H/omega, with --force.
D  t1/A/D/H/omega
Deleting added files A/B/E/newfile2, without --force.
D  t1/A/B/E/newfile2
Committing changes in t1.
Deleting        /tmp/bzajac/s/subversion/tests/clients/cmdline/xmltests/t1/A/D/H/omega
Sending         /tmp/bzajac/s/subversion/tests/clients/cmdline/xmltests/t1/A/mu
Sending         /tmp/bzajac/s/subversion/tests/clients/cmdline/xmltests/t1/A/D/G/pi
Adding          /tmp/bzajac/s/subversion/tests/clients/cmdline/xmltests/t1/newfile1
Committed revision 2.
Updating t2 from changes in t1.
Oops, problem: 7
END: svn-test.sh
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.