[Bug 490009] New: scanner aborts upon invalid(?) utf-8
https://bugzilla.novell.com/show_bug.cgi?id=490009 Summary: scanner aborts upon invalid(?) utf-8 Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Download Infrastructure AssignedTo: poeml@novell.com ReportedBy: poeml@novell.com QAContact: adrian@novell.com CC: lrupp@novell.com Found By: --- The scanner aborts upon some files that it encounters that have invalid (or valid?) UTF-8. What it tries to insert into the (UTF-8-clean) PostgreSQL database is rejected by the database as invalid. # mb scan dist.suse.de -d unpacked/head-i586/usr/lib/aspell-0.60 Sat Mar 28 12:46:38 2009 dist.suse.de: starting Sat Mar 28 12:46:40 2009 dist.suse.de: files in 'unpacked/head-i586/usr/lib/aspell-0.60' before scan: 350 __DIE__: (/usr/bin/scanner 1019 main::rsync_get_filelist => /usr/bin/scanner 1209 main::rsync_cb => /usr/bin/scanner 968 main::save_file) dist.suse.de: ERROR: invalid byte sequence for encoding "UTF8": 0xed736c HINT: This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding". # ls -1 /mounts/dist/unpacked/head-i586/usr/lib/aspell-0.60/*oyskt.alias | xxd 0000000: 2f6d 6f75 6e74 732f 6469 7374 2f75 6e70 /mounts/dist/unp 0000010: 6163 6b65 642f 6865 6164 2d69 3538 362f acked/head-i586/ 0000020: 7573 722f 6c69 622f 6173 7065 6c6c 2d30 usr/lib/aspell-0 0000030: 2e36 302f 66c3 b872 6f79 736b 742e 616c .60/f..royskt.al # strace -eopen locale open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib64/libc.so.6", O_RDONLY) = 3 open("/usr/lib/locale/locale-archive", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY) = 3 open("/usr/lib/locale/posix/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory) locale: Cannot set LC_CTYPE to default locale: No such file or directory open("/usr/lib/locale/posix/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory) locale: Cannot set LC_MESSAGES to default locale: No such file or directory open("/usr/lib/locale/posix/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such file or directory) locale: Cannot set LC_ALL to default locale: No such file or directory LANG=de_DE.UTF-8 LC_CTYPE="posix" LC_NUMERIC="posix" LC_TIME="posix" LC_COLLATE="posix" LC_MONETARY="posix" LC_MESSAGES="posix" LC_PAPER="posix" LC_NAME="posix" LC_ADDRESS="posix" LC_TELEPHONE="posix" LC_MEASUREMENT="posix" LC_IDENTIFICATION="posix" LC_ALL=posix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=490009
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=490009#c1
--- Comment #1 from Peter Poeml
https://bugzilla.novell.com/show_bug.cgi?id=490009
User poeml@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=490009#c2
Peter Poeml
participants (1)
-
bugzilla_noreply@novell.com