Package: subversion
Version: 1.9.2-1
Severity: serious
100% reproduced.
bash# svn diff -c 109
Segmentation fault (core dumped)
bash# gdb /usr/bin/svn core
GNU gdb (Debian 7.10-1) 7.10
This GDB was configured as "x86_64-linux-gnu".
Reading symbols from /usr/bin/svn...Reading symbols from
/usr/lib/debug//usr/bin/svn...done.
done.
[New LWP 32211]
[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 109'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(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@entry=0x7fb7e1e3f0a0,
scratch_pool=scratch_pool@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@entry=0x7fb7e1e99038,
data=<optimized out>, len=<optimized out>, at_eof=at_eof@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@entry=0x7fb7e1ed5248,
waittime_left=waittime_left@entry=0x7ffc02178730,
scratch_pool=scratch_pool@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@entry=0x0, ddi=ddi@entry=0x7ffc021789a0,
path_or_url1=path_or_url1@entry=0x7fb7e0f16418 "",
path_or_url2=path_or_url2@entry=0x7fb7e0f16418 "",
revision1=revision1@entry=0x7ffc02178cf8,
revision2=revision2@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@entry=0x0,
path_or_url=0x7fb7e0f16418 "", peg_revision=peg_revision@entry=0x7ffc02178b40,
start_revision=start_revision@entry=0x7ffc02178cf8,
end_revision=end_revision@entry=0x7ffc02178d08,
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=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@entry=0x7ffc02178f24,
argc=argc@entry=4, argv=argv@entry=0x7ffc02179028,
pool=pool@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
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (400, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages subversion depends on:
ii libapr1 1.5.2-3
ii libaprutil1 1.5.4-1
ii libc6 2.19-22
ii libldap-2.4-2 2.4.42+dfsg-2
ii libsasl2-2 2.1.26.dfsg1-14
ii libsvn1 1.9.2-1
subversion recommends no packages.
Versions of packages subversion suggests:
pn db5.3-util <none>
ii patch 2.7.5-1
ii subversion-tools 1.9.2-1
-- no debconf information
--
Best regards!