samba-bugs at samba.org
2014-Aug-22  09:11 UTC
[Bug 10776] New: SIGSEGV in utf8_internal_loop()
https://bugzilla.samba.org/show_bug.cgi?id=10776
           Summary: SIGSEGV in utf8_internal_loop()
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: mluscon at redhat.com
         QAContact: rsync-qa at samba.org
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 .
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=10776
Wayne Davison <wayned at samba.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
--- Comment #1 from Wayne Davison <wayned at samba.org> ---
You'll need to investigate using debug symbols to try to figure out what
call
is being made that is crashing the iconv library.
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
https://bugzilla.samba.org/show_bug.cgi?id=10776 --- Comment #2 from James Stevenson <james at stev.org> --- This looks like a possible duplicate of https://bugzilla.samba.org/show_bug.cgi?id=11338 -- You are receiving this mail because: You are the QA Contact for the bug.
Maybe Matching Threads
- [Bug 11338] New: Rsync Crash - Segmentation fault
 - [Bug 9798] New: rsync crash with SIGSEGV when read time out happens
 - DO NOT REPLY [Bug 5075] New: Syncing with --iconv may yield protocol error
 - Compiling with --disable-iconv
 - [Bug 9211] New: Inconsistency between man page and help