Bug 10776 - SIGSEGV in utf8_internal_loop()
Summary: SIGSEGV in utf8_internal_loop()
Status: ASSIGNED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 09:11 UTC by Michal Luscon (mail bounces back)
Modified: 2017-10-10 13:58 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Luscon (mail bounces back) 2014-08-22 09:11:52 UTC
It looks like the fix from #9798 was not sufficient and rsync can still crash after improper iconv call. Any suggestions what might have gone wrong in this case?

Version of rsync:
rsync-3.1.0

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 utf8_internal_loop at ../iconv/loop.c:331
 #1 __gconv_transform_utf8_internal at ../iconv/skeleton.c:611
 #2 __gconv at gconv.c:79
 #3 iconv at iconv.c:52
 #4 iconvbufs at rsync.c:209
 #5 rwrite at log.c:374
 #6 rprintf at log.c:433
 #7 whine_about_eof at io.c:222
 #8 read_buf at io.c:1825
 #9 read_int at io.c:1720

Full backtrace is available at https://bugzilla.redhat.com/attachment.cgi?id=913207 .
Comment 1 Wayne Davison 2015-07-12 20:44:20 UTC
You'll need to investigate using debug symbols to try to figure out what call is being made that is crashing the iconv library.
Comment 2 James Stevenson 2017-10-10 13:58:21 UTC
This looks like a possible duplicate of https://bugzilla.samba.org/show_bug.cgi?id=11338