[Bug 781474] Re: iconv segmentation fault without sudo

Launchpad Bug Tracker 781474 at bugs.launchpad.net
Sun Sep 2 06:37:34 UTC 2012


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: eglibc (Ubuntu)
       Status: New => Confirmed

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

Title:
  iconv segmentation fault without sudo

Status in “eglibc” package in Ubuntu:
  Confirmed

Bug description:
  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 at 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 at 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-discuss at lists.ubuntu.com>
  Architecture: amd64
  Source: eglibc
  Version: 2.11.1-0ubuntu7.8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/781474/+subscriptions




More information about the foundations-bugs mailing list