crash in hg pull when using serf

Create issue
Issue #80 resolved
pquerna created an issue

I still have the coredump from this if it is helpful.

(freebsd 6.4, svn 1.5.5, hg 1.1.2, hgsubversion 274:a119ab6135f3)

{{{ #!c

(gdb) where #0 0x0000000800b29eec in kill () from /lib/libc.so.6 #1 0x00000008009356ae in raise () from /lib/libpthread.so.2 #2 0x0000000800b28d7d in abort () from /lib/libc.so.6 #3 0x0000000802cfe6e3 in serf_bucket_mem_free (allocator=0x12b63, block=0x6) at buckets/allocator.c:228 #4 0x0000000802cfd810 in serf_response_destroy_and_data (bucket=0x48216038) at buckets/response_buckets.c:88 #5 0x0000000802cfc1ee in serf_context_run (ctx=0xc602028, duration=2000000000, pool=0x1268b) at context.c:789 #6 0x000000080279349e in svn_ra_serfcontext_run_wait (done=0x47af935c, sess=0x47d20150, pool=0x47af9028) at subversion/libsvn_ra_serf/util.c:547 #7 0x000000080278b322 in svn_ra_serfwait_for_props (prop_ctx=0x47af92f8, sess=0x6, pool=0x1268b) at subversion/libsvn_ra_serf/property.c:609 #8 0x000000080278b3d5 in svn_ra_serfretrieve_props (prop_vals=0x12b63, sess=0x47d20150, conn=0x1268b, url=0x800b29f0c "r\001ÃH\213\r2h\022", rev=-2140144224, depth=0x7fffffffbb98 "®V\223", props=0x0, pool=0x47af9028) at subversion/libsvn_ra_serf/property.c:640 #9 0x00000008027946f5 in svn_ra_serfdiscover_root (vcc_url=0x7fffffffbdf8, rel_path=0x7fffffffbe00, session=0x47d20150, conn=0x47ce8838, orig_path=0x47af91f8 "/repos/asf/httpd/httpd/branches/2.0.x/server/.cvsignore", pool=0x47af9028) at subversion/libsvn_ra_serf/util.c:1370 #10 0x0000000802792d5f in svn_ra_serf__get_file (ra_session=0x12b63, path=0x754b85f4 "branches/2.0.x/server/.cvsignore", revision=105770, stream=0x47af90a8, fetched_rev=0xffffffff806ffda0, props=0x7fffffffbe78, pool=0x47af9028) at subversion/libsvn_ra_serf/update.c:2734 #11 0x0000000803baf1c0 in _wrap_svn_ra_get_file () from /usr/local/lib/python2.5/site-packages/libsvn/_ra.so #12 0x0000000000417a23 in PyObject_Call () #13 0x000000000046986d in PyEval_CallObjectWithKeywords () #14 0x0000000000464e35 in _PyUnicodeUCS4_IsAlpha () #15 0x000000000046e764 in PyEval_EvalFrameEx () #16 0x000000000046ff44 in PyEval_EvalCodeEx () #17 0x000000000046e728 in PyEval_EvalFrameEx () #18 0x000000000046f135 in PyEval_EvalFrameEx () #19 0x000000000046f135 in PyEval_EvalFrameEx () #20 0x000000000046ff44 in PyEval_EvalCodeEx () #21 0x00000000004ad0d6 in PyFunction_SetClosure () #22 0x0000000000417a23 in PyObject_Call () #23 0x000000000046d8a9 in PyEval_EvalFrameEx () #24 0x000000000046ff44 in PyEval_EvalCodeEx () #25 0x00000000004ad0d6 in PyFunction_SetClosure () #26 0x0000000000417a23 in PyObject_Call () #27 0x000000000046d8a9 in PyEval_EvalFrameEx () #28 0x000000000046ff44 in PyEval_EvalCodeEx () #29 0x00000000004ad0d6 in PyFunction_SetClosure () #30 0x0000000000417a23 in PyObject_Call () #31 0x000000000046d8a9 in PyEval_EvalFrameEx () #32 0x000000000046ff44 in PyEval_EvalCodeEx () #33 0x00000000004ad0d6 in PyFunction_SetClosure () #34 0x0000000000417a23 in PyObject_Call () #35 0x000000000046d8a9 in PyEval_EvalFrameEx () #36 0x000000000046ff44 in PyEval_EvalCodeEx () #37 0x000000000046e728 in PyEval_EvalFrameEx () #38 0x000000000046ff44 in PyEval_EvalCodeEx () #39 0x000000000046e728 in PyEval_EvalFrameEx () #40 0x000000000046ff44 in PyEval_EvalCodeEx () #41 0x000000000046e728 in PyEval_EvalFrameEx () #42 0x000000000046ff44 in PyEval_EvalCodeEx () #43 0x000000000046e728 in PyEval_EvalFrameEx () #44 0x000000000046f135 in PyEval_EvalFrameEx () #45 0x000000000046f135 in PyEval_EvalFrameEx () #46 0x000000000046f135 in PyEval_EvalFrameEx () #47 0x000000000046ff44 in PyEval_EvalCodeEx () #48 0x00000000004700a2 in PyEval_EvalCode () }}}

Comments (5)

  1. Augie Fackler repo owner

    Honestly, a python-side stack trace would much more useful - all the Python frames are essentially worthless. Also, what did you do to trigger this? What can I try cloning to reproduce this?

  2. pquerna reporter

    btw, i was able to work around this by switching to neon for the http library -- I guess the root problem is in serf, not with how hgsubversion is using it.

  3. Augie Fackler repo owner

    Since it looks like this was a serf bug of some kind, I'm going to go ahead and close this for now.

  4. Log in to comment