Bug 10776 - SIGSEGV in utf8_internal_loop()
SIGSEGV in utf8_internal_loop()
Status: ASSIGNED
Product: rsync
Classification: Unclassified
Component: core
3.1.0
All All
: P5 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-22 09:11 UTC by Michal Luscon
Modified: 2015-07-12 20:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Luscon 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.