Public bug reported:

Binary package hint: libc-bin

iconv simply crash with segfault when i try to convert a dictionary file
encoding. Doing an strace shows that the output file could not open with
access denied. Would it be better doing an error handling for this
without confusing an average user?

Running under lucid x64 10.04.2 fully patched. Thanks.

user@ubuntu1:/usr/share/gjiten/dics$ strace iconv -c -f EUC-JP -t UTF-8 
/usr/share/edict/enamdict -o abc
...[skipped]...
open("/usr/share/edict/enamdict", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26020705, ...}) = 0
mmap(NULL, 26020705, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb0ad9f3000
close(3)                                = 0
open("abc", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
程式記憶體區段錯誤

user@ubuntu1:/usr/share/gjiten/dics$ dpkg -s libc-bin
Package: libc-bin
Status: install ok installed
Priority: required
Section: libs
Installed-Size: 1792
Maintainer: Ubuntu Core developers <ubuntu-devel-disc...@lists.ubuntu.com>
Architecture: amd64
Source: eglibc
Version: 2.11.1-0ubuntu7.8

** Affects: eglibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/781474

Title:
  iconv segmentation fault without sudo

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to