On 2015-10-21, James McCoy wrote:

> On Oct 21, 2015 12:00 PM, "Oleksandr Gavenko" <gaven...@gmail.com> wrote:
>>
>> 100% reproduced.
>>
>>   bash# svn diff -c 109
>
> Is this a public repository?
>
Sorry, no. Even "core" dump have authorisation info.

I gather another data.

On some random SVN project checkout from sf.net and gna.org I can't reproduce
bug.

http://svn.gna.org/svn/aae/trunk/ SVN server have same version as my private:

  Powered by Apache Subversion version 1.8.10 (r1615264).

and:

bash# curl -vvv --user XXX:YYY http://example.ua/

  * Hostname was NOT found in DNS cache
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  
Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     
0*   Trying 108.61.198.53...
  * Connected to example.ua (xx.xx.xxx.xx) port 80 (#0)
  * Server auth using Basic with user 'XXX'
  > GET / HTTP/1.1
  > Authorization: Basic YYY
  > User-Agent: curl/7.38.0
  > Host: example.ua
  > Accept: */*
  >
  < HTTP/1.1 200 OK
  < Date: Thu, 22 Oct 2015 10:26:22 GMT
  * Server Apache/2.4.10 (Debian) is not blacklisted
  < Server: Apache/2.4.10 (Debian)
  < Last-Modified: Wed, 21 Oct 2015 20:29:50 GMT
  < ETag: W/"113//"
  < Accept-Ranges: bytes
  < Vary: Accept-Encoding
  < Content-Length: 434
  < Content-Type: text/html; charset=UTF-8
  <
  { [data not shown]
  100   434  100   434    0     0   1122      0 --:--:-- --:--:-- --:--:--  1124
  * Connection #0 to host example.ua left intact
  <html><head><title> - Revision 113: /</title></head>
  <body>
   <h2> - Revision 113: /</h2>
   <ul>
    <li><a href="pom.xml">pom.xml</a></li>
    <li><a href="src/">src/</a></li>
   </ul>
   <hr noshade><em>Powered by <a href="http://subversion.apache.org/";>Apache 
Subversion</a> version 1.8.10 (r1615264).</em>
  </body></html>

Also I try checkout from sub-leaf. In that save and get assertion error (which
are absent in case of root checkout):

  $ svn co http://example.ua/src/main/
  $ cd main
  $ diff -c 10
  svn: 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:1734:
 svn_ra_serf__get_relative_path: Assertion `! ((session)->me_resource != ((void 
*)0))' failed.
  Aborted (core dumped)

Corresponding back-trace:

  Reading symbols from /usr/bin/svn...Reading symbols from 
/usr/lib/debug//usr/bin/svn...done.
  done.
  [New LWP 13691]
  [Thread debugging using libthread_db enabled]
  Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  Core was generated by `svn diff -c 10'.
  Program terminated with signal SIGABRT, Aborted.
  #0  0x00007ff4bd5c6107 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
  56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
  (gdb) bt
  #0  0x00007ff4bd5c6107 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
  #1  0x00007ff4bd5c74e8 in __GI_abort () at abort.c:89
  #2  0x00007ff4bd5bf226 in __assert_fail_base (fmt=0x7ff4bd6f5d08 "%s%s%s:%u: 
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ff4bc48ac70 "! 
((session)->me_resource != ((void *)0))",
      file=file@entry=0x7ff4bc48aae8 
"/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/util.c", 
line=line@entry=1734,
      function=function@entry=0x7ff4bc48aeb0 <__PRETTY_FUNCTION__.13090> 
"svn_ra_serf__get_relative_path") at assert.c:92
  #3  0x00007ff4bd5bf2d2 in __GI___assert_fail 
(assertion=assertion@entry=0x7ff4bc48ac70 "! ((session)->me_resource != ((void 
*)0))",
      file=file@entry=0x7ff4bc48aae8 
"/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/util.c", 
line=line@entry=1734,
      function=function@entry=0x7ff4bc48aeb0 <__PRETTY_FUNCTION__.13090> 
"svn_ra_serf__get_relative_path") at assert.c:101
  #4  0x00007ff4bc485f40 in svn_ra_serf__get_relative_path 
(rel_path=0x7fffd5be3560, orig_path=orig_path@entry=0x7ff4b5827770 
"/src/main/webapp/WEB-INF/views/bail/add.jsp", 
session=session@entry=0x7ff4bee11ce8,
      pool=pool@entry=0x7ff4b5826028) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:1734
  #5  0x00007ff4bc47bd7b in svn_ra_serf__get_stable_url 
(stable_url=stable_url@entry=0x7fffd5be35c0, 
latest_revnum=latest_revnum@entry=0x0, session=session@entry=0x7ff4bee11ce8,
      url=0x7ff4b5827770 "/src/main/webapp/WEB-INF/views/bail/add.jsp", 
revision=revision@entry=9, result_pool=result_pool@entry=0x7ff4b5826028, 
scratch_pool=0x7ff4b5826028)
      at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/property.c:861
  #6  0x00007ff4bc4744cc in svn_ra_serf__get_file (ra_session=<optimized out>, 
path=<optimized out>, revision=9, stream=0x7ff4b58276d0, fetched_rev=0x0, 
props=0x7ff4b58260c8, pool=0x7ff4b5826028)
      at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/get_file.c:343
  #7  0x00007ff4be9f703c in get_file_from_ra (fb=fb@entry=0x7ff4b58260a0, 
scratch_pool=scratch_pool@entry=0x7ff4b5826028, props_only=0) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_client/repos_diff.c:334
  #8  0x00007ff4be9f760b in get_file_from_ra (scratch_pool=<optimized out>, 
props_only=0, fb=0x7ff4b58260a0) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_client/repos_diff.c:958
  #9  apply_textdelta (file_baton=0x7ff4b58260a0, 
base_md5_digest=0x7ff4bec590a0 "31a941a6d5f42e61369492acbcf67802", 
pool=<optimized out>, handler=0x7ff4b582a128, handler_baton=0x7ff4b582a130)
      at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_client/repos_diff.c:917
  #10 0x00007ff4bc48232b in fetch_for_file (scratch_pool=0x7ff4bec59028, 
file=0x7ff4b582a0a0) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:1376
  #11 update_closed (xes=<optimized out>, baton=<optimized out>, 
leaving_state=<optimized out>, cdata=<optimized out>, attrs=<optimized out>, 
scratch_pool=0x7ff4bec59028)
      at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2011
  #12 0x00007ff4bc486d4d in xml_cb_end (raw_name=<optimized out>, 
xmlctx=0x7ff4bec410f8) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:832
  #13 expat_end (userData=0x7ff4bec41188, raw_name=<optimized out>) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:965
  #14 0x00007ff4bc02bd63 in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
  #15 0x00007ff4bc02c67c in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
  #16 0x00007ff4bc02a9c9 in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
  #17 0x00007ff4bc02b145 in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
  #18 0x00007ff4bc02e6e0 in XML_ParseBuffer () from 
/lib/x86_64-linux-gnu/libexpat.so.1
  #19 0x00007ff4bc48777e in parse_xml (ectx=0x7ff4bec41188, 
ectx=0x7ff4bec41188, is_final=0, len=<optimized out>, data=<optimized out>) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:893
  #20 expat_response_handler (request=<optimized out>, response=0x7ff4b585e138, 
baton=0x7ff4bec41188, scratch_pool=<optimized out>) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:1061
  #21 0x00007ff4bc48310d in process_buffer 
(request=request@entry=0x7ff4bec5b038, data=<optimized out>, len=<optimized 
out>, at_eof=at_eof@entry=0, alloc=0x7ff4bec3e0a0, pool=0x7ff4b5854028, 
udb=0x7ff4bec41298,
      udb=0x7ff4bec41298) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2400
  #22 0x00007ff4bc4832cf in update_delay_handler (request=0x7ff4bec5b038, 
response=0x7ff4b585d7b8, handler_baton=0x7ff4bec41298, 
scratch_pool=0x7ff4bec33028)
      at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2460
  #23 0x00007ff4bc485930 in handle_response (scratch_pool=0x7ff4bec33028, 
serf_status=0x7fffd5be3b34, handler=0x7ff4bec411b8, response=<optimized out>, 
request=0x7ff4bec5b038)
      at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:1415
  #24 handle_response_cb (request=0x7ff4bec5b038, response=0x7ff4b585d7b8, 
baton=0x7ff4bec411b8, response_pool=0x7ff4bec33028) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:1449
  #25 0x00007ff4ba2ce45e in serf.process_connection () from 
/usr/lib/x86_64-linux-gnu/libserf-1.so.1
  #26 0x00007ff4ba2cccee in serf_event_trigger () from 
/usr/lib/x86_64-linux-gnu/libserf-1.so.1
  #27 0x00007ff4ba2cce0c in serf_context_run () from 
/usr/lib/x86_64-linux-gnu/libserf-1.so.1
  #28 0x00007ff4bc484e61 in svn_ra_serf__context_run 
(sess=sess@entry=0x7ff4bee0e280, 
waittime_left=waittime_left@entry=0x7fffd5be3d90, 
scratch_pool=scratch_pool@entry=0x7ff4bec57028)
      at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:866
  #29 0x00007ff4bc4836b1 in process_editor_report (scratch_pool=0x7ff4bec41028, 
handler=0x7ff4bec411b8, ctx=0x7ff4bec39308) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2614
  #30 finish_report (report_baton=0x7ff4bec39308, pool=<optimized out>) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2682
  #31 0x00007ff4be9cf3a6 in diff_repos_repos (root_is_dir=0x0, 
scratch_pool=0x7ff4bee10028, result_pool=0x7ff4bee10028, ctx=0x7ff4bee138c8, 
diff_processor=0x7ff4bee11c38, text_deltas=1, ignore_ancestry=1,
      depth=svn_depth_unknown, peg_revision=0x7fffd5be41a0, 
revision2=0x7fffd5be3ea8, revision1=0x7fffd5be4000, path_or_url2=0x7ff4bde4f418 
"", path_or_url1=0x7ff4bee10750 "http://example.ua/src/main";,
      ddi=0x7fffd5be4000, root_relpath=<optimized out>) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_client/diff.c:1848
  #32 do_diff (root_relpath=root_relpath@entry=0x0, 
ddi=ddi@entry=0x7fffd5be4000, path_or_url1=path_or_url1@entry=0x7ff4bde4f418 
"", path_or_url2=path_or_url2@entry=0x7ff4bde4f418 "",
      revision1=revision1@entry=0x7fffd5be4358, 
revision2=revision2@entry=0x7fffd5be4368, peg_revision=0x7fffd5be41a0, 
depth=svn_depth_unknown, ignore_ancestry=1, changelists=0x7ff4bee24628, 
text_deltas=1,
      diff_processor=0x7ff4bee10140, ctx=0x7ff4bee138c8, 
result_pool=0x7ff4bee10028, scratch_pool=0x7ff4bee10028, root_is_dir=0x0) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_client/diff.c:2170
  #33 0x00007ff4be9d013e in svn_client_diff_peg6 (options=options@entry=0x0, 
path_or_url=0x7ff4bde4f418 "", peg_revision=peg_revision@entry=0x7fffd5be41a0, 
start_revision=start_revision@entry=0x7fffd5be4358,
      end_revision=end_revision@entry=0x7fffd5be4368, 
relative_to_dir=relative_to_dir@entry=0x0, depth=svn_depth_unknown, 
ignore_ancestry=<optimized out>, no_diff_added=0, no_diff_deleted=0, 
show_copies_as_adds=0,
      ignore_content_type=0, ignore_properties=0, properties_only=0, 
use_git_diff_format=0, header_encoding=0x1 <error: Cannot access memory at 
address 0x1>, outstream=0x7ff4bee14920, errstream=0x7ff4bee14a00,
      changelists=0x7ff4bee24628, ctx=0x7ff4bee138c8, pool=0x7ff4bee10028) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/libsvn_client/diff.c:2499
  #34 0x000000000040da38 in svn_cl__diff (os=<optimized out>, baton=<optimized 
out>, pool=0x7ff4bee24028) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/svn/diff-cmd.c:462
  #35 0x000000000041e4bd in sub_main (exit_code=exit_code@entry=0x7fffd5be4584, 
argc=argc@entry=4, argv=argv@entry=0x7fffd5be4688, 
pool=pool@entry=0x7ff4bee24028)
      at /build/subversion-BTY2MX/subversion-1.9.2/subversion/svn/svn.c:3041
  #36 0x00000000004073a3 in main (argc=4, argv=0x7fffd5be4688) at 
/build/subversion-BTY2MX/subversion-1.9.2/subversion/svn/svn.c:3126

-- 
Best regards!

Reply via email to