Bug#521157: base: manpages lookups vs binary lookups don't match

2009-03-25 Thread Sebastian S
Package: base
Severity: important


by default, man will first lookup manpages in /usr/share/man and after that, 
look in 
/usr/local/share/man. While for execution bash will first look in 
/usr/local/bin and then in 
/usr/bin. This creates an inconsistensy between the manpage you get and what 
you execute.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#460701: libfile-mimeinfo-perl: UTF8 Security bug and Crashes with some unicode files

2008-01-14 Thread Sebastian S
Package: libfile-mimeinfo-perl
Version: 0.13-1
Severity: important


When running mimetype on certain files i dies with the current output:
-- start output
Malformed UTF-8 character (fatal) at /usr/share/perl5/File/MimeInfo.pm line 120.
-- end output
After consulting some other perl users about this as I'm no unicode guy, 
someone concluded it was related to a known security bug with :utf8.
The bug is decribed here:
http://www.perlmonks.org/?node_id=644786
Personally I do not have the security problem and I've worked arround the 
problem by catching it with an eval{}. 
I would like to see it fixed in the long run though if this is possible.
Someone also sugested using :encoding(utf8) instead of :utf8 as this would 
atleast make it 'safe' then (the exploit wouldn't work anymore), but for me 
this resulted in a list of errors like the following:
-- start output
utf8 \xFE does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \xED does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \xFE does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \xED does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \xA4 does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \xF5 does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \xDC does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \x82 does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
utf8 \x82 does not map to Unicode at /usr/share/perl5/File/MimeInfo.pm line 
107.
-- end output
and quite a bit more.

Hopefully I've provided you with enough information, if you would like to hear 
more,or receive a sample file, please let me know.

Thanks for your package,

Sebastian

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libfile-mimeinfo-perl depends on:
ii  libfile-basedir-perl  0.03-0.1   Perl module to use the freedesktop
ii  libfile-desktopentry-perl 0.04-0.1   Perl module to handle freedesktop 
ii  perl  5.8.8-12   Larry Wall's Practical Extraction 
ii  shared-mime-info  0.22-2 FreeDesktop.org shared MIME databa

libfile-mimeinfo-perl recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#459907: rawstudio segfaults on CR2 image load

2008-01-09 Thread Sebastian S
Package: rawstudio
Version: 0.6+20071101-2
Severity: grave
Justification: renders package unusable


after a initial run rawstudio segfaults on loading images. it worked onces, but 
now even after apt-get remove --purge rawstudio  apt-get install rawstudio it 
no longer works
--- Begin output below this line.
$ rawstudio 

(rawstudio:6864): Gtk-WARNING **: Error loading icon from file 
'/usr/share/icons/rawstudio.png':
Failed to open file '/usr/share/icons/rawstudio.png': No such file or 
directory

(rawstudio:6864): Gtk-WARNING **: gtk_scrolled_window_add(): cannot add non 
scrollable widget use gtk_scrolled_window_add_with_viewport() instead

(rawstudio:6864): Gdk-CRITICAL **: gdk_gc_new: assertion `drawable != NULL' 
failed

(rawstudio:6864): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(rawstudio:6864): Gdk-CRITICAL **: gdk_drawable_get_screen: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(rawstudio:6864): Gdk-CRITICAL **: gdk_drawable_get_depth: assertion 
`GDK_IS_DRAWABLE (drawable)' failed

(rawstudio:6864): Gdk-CRITICAL **: gdk_screen_get_rgb_colormap: assertion 
`GDK_IS_SCREEN (screen)' failed

(rawstudio:6864): Gdk-CRITICAL **: gdk_colormap_get_visual: assertion 
`GDK_IS_COLORMAP (colormap)' failed
Segmentation fault
--- End output

Last part of strace output (complete strace available on request, it's rather 
big):
--- Begin strace output
poll([{fd=3, events=POLLIN|POLLOUT, revents=POLLIN}], 1, -1) = 1
ioctl(3, FIONREAD, [32])= 0
read(3, \26om\24B\0\300\1B\0\300\1M\0\300\1\354\3\313\2\22\0\22..., 32) = 32
poll([{fd=3, events=POLLIN|POLLOUT, revents=POLLOUT}], 1, -1) = 1
writev(3, [{\255\310\326\0\256\311\327\0\256\311\327\0\257\311\327..., 
10716}], 1) = 10716
writev(3, [{\0\7\0\224\1\300\1\212\1\300\1\215\1\300\1\0\0\0\0\30..., 92}, 
{\1\2\4\267\2\2\1\267\2\3\1\10\2\2\2\10\2\2\2\0\1\2\2\0..., 43008}], 2) = 
43100
writev(3, [{\0\7\0\225\1\300\1\212\1\300\1\215\1\300\1\0\0\0\0\262..., 92}, 
{FUa\267EUb\267GWd\10HYf\10IZg\0IYi\0IYi\1IZg\0..., 43008}], 2) = 43100
write(3, \0\7\0\226\1\300\1\212\1\300\1\215\1\300\1\0\0\0\0006..., 7368) = 
7368
gettimeofday({1199884986, 71551}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8, 
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, 
events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}], 6, 0) = 0
gettimeofday({1199884986, 71874}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8, 
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, 
events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}], 6, 0) = 0
ioctl(3, FIONREAD, [0]) = 0
ioctl(3, FIONREAD, [0]) = 0
gettimeofday({1199884986, 72421}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=8, 
events=POLLIN|POLLPRI}, {fd=10, events=POLLIN|POLLPRI}, {fd=11, 
events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}], 6, 0) = 0
gettimeofday({1199884986, 72716}, NULL) = 0
writev(10, [{GIOP\1\2\1\0\235\0\0\0, 12}, 
{@r\310\277\3\0\0\0\0\0\0\0\34\0\0\0\0\0\0\0F\366\224P|..., 157}], 2) = 169
poll([{fd=6, events=POLLIN}, {fd=10, events=POLLIN|POLLPRI, revents=POLLIN}, 
{fd=11, events=POLLIN|POLLPRI}, {fd=12, events=POLLIN|POLLPRI}], 4, -1) = 1
read(10, GIOP\1\2\1\0013\0\0\0, 12)   = 12
read(10, @r\310\277\0\0\0\0\1\0\0\0\1\0\0\0\f\0\0\0\1\1\1\1\1\0..., 51) = 51
mmap2(NULL, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb6975000
stat64(/home/webmind/img/digimateIII/img_3584.cr2, {st_mode=S_IFREG|0755, 
st_size=9625106, ...}) = 0
open(/home/webmind/img/digimateIII/img_3584.cr2, O_RDONLY) = 13
mmap2(NULL, 9625106, PROT_READ, MAP_SHARED, 13, 0) = 0xb6047000
stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
stat64(/etc/localtime, {st_mode=S_IFREG|0644, st_size=2917, ...}) = 0
mmap2(NULL, 16080896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb50f1000
getcwd(0x8423b28, 16)   = -1 ERANGE (Numerical result out of 
range)
getcwd(/home/webmind/img/digimateIII, 48) = 30
stat64(/home/webmind/img/digimateIII/.badpixels, 0xbfc871b4) = -1 ENOENT (No 
such file or directory)
stat64(/home/webmind/img/.badpixels, 0xbfc871b4) = -1 ENOENT (No such file or 
directory)
stat64(/home/webmind/.badpixels, 0xbfc871b4) = -1 ENOENT (No such file or 
directory)
stat64(/home/.badpixels, 0xbfc871b4)  = -1 ENOENT (No such file or directory)
stat64(/.badpixels, 0xbfc871b4)   = -1 ENOENT (No such file or directory)
munmap(0xb6047000, 9625106) = 0
close(13)   = 0
mmap2(NULL, 16146432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb418b000
munmap(0xb50f1000, 16080896)