iconv segmentation fault without sudo

Bug #781474 reported by Tomofumi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Confirmed
Undecided
Unassigned

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@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 <email address hidden>
Architecture: amd64
Source: eglibc
Version: 2.11.1-0ubuntu7.8

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in eglibc (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.