According to a Debian user[0], 1.9.2 crashes when running
“svn diff -c #” while 1.8.10 works well. The repository isn't
publically available, but it appears to be an issue with accessing a
repository that's rooted at the top-level of a web server.
[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802611
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007fb7e0eb9786 in svn_path_join_internal (base=0x0, component=0x7fb7e1e3f148 "src/main/java/net/domain/Bail.java", pool=0x7fb7e1e3f028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_subr/path.c:115
#2 0x00007fb7e0ebaa9f in svn_path_url_add_component2 (url=<optimized out>, component=<optimized out>, pool=<optimized out>) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_subr/path.c:1085
#3 0x00007fb7df53c3f6 in svn_ra_serf__get_file (ra_session=<optimized out>, path=<optimized out>, revision=108, stream=0x7fb7e1e406e0, fetched_rev=0x0, props=0x7fb7e1e3f0c8, pool=0x7fb7e1e3f028)
at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/get_file.c:334
#4 0x00007fb7e1abe03c in get_file_from_ra (fb=fb_at_entry=0x7fb7e1e3f0a0, scratch_pool=scratch_pool_at_entry=0x7fb7e1e3f028, props_only=0) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_client/repos_diff.c:334
#5 0x00007fb7e1abe60b in get_file_from_ra (scratch_pool=<optimized out>, props_only=0, fb=0x7fb7e1e3f0a0) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_client/repos_diff.c:958
#6 apply_textdelta (file_baton=0x7fb7e1e3f0a0, base_md5_digest=0x7fb7e1e9f0a0 "443d586ac513f84d4947c6edcd0cb6ae", pool=<optimized out>, handler=0x7fb7e1e43128, handler_baton=0x7fb7e1e43130)
at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_client/repos_diff.c:917
#7 0x00007fb7df54a32b in fetch_for_file (scratch_pool=0x7fb7e1e9f028, file=0x7fb7e1e430a0) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:1376
#8 update_closed (xes=<optimized out>, baton=<optimized out>, leaving_state=<optimized out>, cdata=<optimized out>, attrs=<optimized out>, scratch_pool=0x7fb7e1e9f028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2011
#9 0x00007fb7df54ed4d in xml_cb_end (raw_name=<optimized out>, xmlctx=0x7fb7e1ed30f8) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:832
#10 expat_end (userData=0x7fb7e1ed3188, raw_name=<optimized out>) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:965
#11 0x00007fb7df0f3d53 in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
#12 0x00007fb7df0f466c in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
#13 0x00007fb7df0f29b9 in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
#14 0x00007fb7df0f3135 in ?? () from /lib/x86_64-linux-gnu/libexpat.so.1
#15 0x00007fb7df0f66d0 in XML_ParseBuffer () from /lib/x86_64-linux-gnu/libexpat.so.1
#16 0x00007fb7df54f77e in parse_xml (ectx=0x7fb7e1ed3188, ectx=0x7fb7e1ed3188, is_final=0, len=<optimized out>, data=<optimized out>) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:893
#17 expat_response_handler (request=<optimized out>, response=0x7fb7e1e91138, baton=0x7fb7e1ed3188, scratch_pool=<optimized out>) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/xml.c:1061
#18 0x00007fb7df54b10d in process_buffer (request=request_at_entry=0x7fb7e1e99038, data=<optimized out>, len=<optimized out>, at_eof=at_eof_at_entry=0, alloc=0x7fb7e1ec20a0, pool=0x7fb7e1e79028, udb=0x7fb7e1ed3298, udb=0x7fb7e1ed3298)
at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2400
#19 0x00007fb7df54b2cf in update_delay_handler (request=0x7fb7e1e99038, response=0x7fb7e1e907b8, handler_baton=0x7fb7e1ed3298, scratch_pool=0x7fb7e1e8e028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2460
#20 0x00007fb7df54d930 in handle_response (scratch_pool=0x7fb7e1e8e028, serf_status=0x7ffc021784d4, handler=0x7fb7e1ed31b8, response=<optimized out>, request=0x7fb7e1e99038) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:1415
#21 handle_response_cb (request=0x7fb7e1e99038, response=0x7fb7e1e907b8, baton=0x7fb7e1ed31b8, response_pool=0x7fb7e1e8e028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:1449
#22 0x00007fb7dd39445e in serf.process_connection () from /usr/lib/x86_64-linux-gnu/libserf-1.so.1
#23 0x00007fb7dd392cee in serf_event_trigger () from /usr/lib/x86_64-linux-gnu/libserf-1.so.1
#24 0x00007fb7dd392e0c in serf_context_run () from /usr/lib/x86_64-linux-gnu/libserf-1.so.1
#25 0x00007fb7df54ce61 in svn_ra_serf__context_run (sess=sess_at_entry=0x7fb7e1ed5248, waittime_left=waittime_left_at_entry=0x7ffc02178730, scratch_pool=scratch_pool_at_entry=0x7fb7e1e9b028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/util.c:866
#26 0x00007fb7df54b6b1 in process_editor_report (scratch_pool=0x7fb7e1ed3028, handler=0x7fb7e1ed31b8, ctx=0x7fb7e1e8b308) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2614
#27 finish_report (report_baton=0x7fb7e1e8b308, pool=<optimized out>) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_ra_serf/update.c:2682
#28 0x00007fb7e1a963a6 in diff_repos_repos (root_is_dir=0x0, scratch_pool=0x7fb7e1edb028, result_pool=0x7fb7e1edb028, ctx=0x7fb7e1ed9f20, diff_processor=0x7fb7e1edb140, text_deltas=1, ignore_ancestry=1, depth=svn_depth_unknown, peg_revision=0x7ffc02178b40,
revision2=0x7ffc02178848, revision1=0x7ffc021789a0, path_or_url2=0x7fb7e0f16418 "", path_or_url1=0x2 <error: Cannot access memory at address 0x2>, ddi=0x7ffc021789a0, root_relpath=<optimized out>)
at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_client/diff.c:1848
#29 do_diff (root_relpath=root_relpath_at_entry=0x0, ddi=ddi_at_entry=0x7ffc021789a0, path_or_url1=path_or_url1_at_entry=0x7fb7e0f16418 "", path_or_url2=path_or_url2_at_entry=0x7fb7e0f16418 "", revision1=revision1_at_entry=0x7ffc02178cf8, revision2=revision2_at_entry=0x7ffc02178d08,
peg_revision=0x7ffc02178b40, depth=svn_depth_unknown, ignore_ancestry=1, changelists=0x7fb7e1eeb628, text_deltas=1, diff_processor=0x7fb7e1edb140, ctx=0x7fb7e1ed9f20, result_pool=0x7fb7e1edb028, scratch_pool=0x7fb7e1edb028, root_is_dir=0x0)
at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_client/diff.c:2170
#30 0x00007fb7e1a9713e in svn_client_diff_peg6 (options=options_at_entry=0x0, path_or_url=0x7fb7e0f16418 "", peg_revision=peg_revision_at_entry=0x7ffc02178b40, start_revision=start_revision_at_entry=0x7ffc02178cf8, end_revision=end_revision_at_entry=0x7ffc02178d08,
relative_to_dir=relative_to_dir_at_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=0x7fb7e1edac68, errstream=0x7fb7e1edad48, changelists=0x7fb7e1eeb628, ctx=0x7fb7e1ed9f20, pool=0x7fb7e1edb028)
at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/libsvn_client/diff.c:2499
#31 0x000000000040da38 in svn_cl__diff (os=<optimized out>, baton=<optimized out>, pool=0x7fb7e1eeb028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/svn/diff-cmd.c:462
#32 0x000000000041e4bd in sub_main (exit_code=exit_code_at_entry=0x7ffc02178f24, argc=argc_at_entry=4, argv=argv_at_entry=0x7ffc02179028, pool=pool_at_entry=0x7fb7e1eeb028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/svn/svn.c:3041
#33 0x00000000004073a3 in main (argc=4, argv=0x7ffc02179028) at /build/subversion-Ld6m6I/subversion-1.9.2/subversion/svn/svn.c:3126
(gdb) quit
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>pom.xml</li>
<li>src/</li>
</ul>
<hr noshade><em>Powered by Apache Subversion version 1.8.10 (r1615264).</em>
</body></html>
Cheers,
--
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan_at_debian.org>
Received on 2015-10-23 05:13:39 CEST