[Bug 1492124] Re: infinite loop in parse_encoding (t1load.c)

2015-09-10 Thread Lei Zhang
Thanks for pushing out the update! I verified it fixed the infinite loop
for Google Chrome.

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

Title:
  infinite loop in parse_encoding (t1load.c)

To manage notifications about this bug go to:
https://bugs.launchpad.net/freetype/+bug/1492124/+subscriptions

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


[Bug 1492124] Re: infinite loop in parse_encoding (t1load.c)

2015-09-09 Thread Lei Zhang
>From reading [1] [2] and [3], I don't believe a CVE has been assigned.

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

Title:
  infinite loop in parse_encoding (t1load.c)

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

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


[Bug 1492124] [NEW] infinite loop in parse_encoding (t1load.c)

2015-09-04 Thread Lei Zhang
Public bug reported:

Ubuntu 14.04's libfreetype has not been patched with the fix for [1], thus 
applications that use libfreetype6 are vulnerable to infinite loops. e.g. 
Chromium / Google Chrome. [2] If you add a small patch to apply freetype commit 
df14e6 [3], that should fix the problem. I verified this locally.

I have not checked other Ubuntu releases to see if they are affected.

[1] http://savannah.nongnu.org/bugs/index.php?41590
[2] https://code.google.com/p/chromium/issues/detail?id=459050
[3] 
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=df14e6c0b9592cbb24d5381dfc6106b14f915e75

** Affects: freetype (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/1492124

Title:
  infinite loop in parse_encoding (t1load.c)

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

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


[Bug 1379340] Re: qemu-kvm guest panic for AMD smp trusty guests

2015-02-08 Thread Lei Zhang
Hi Chris, 
 I can confirm that VMs with latest kernel have no issues.  Thanks a lot!

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

Title:
  qemu-kvm guest panic for AMD smp trusty guests

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

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


[Bug 1379340] Re: qemu-kvm guest panic for AMD smp trusty guests

2015-02-04 Thread Lei Zhang
Has this bug been fixed in 3.13.0-44.73? 
I recently upgraded some of our precise compute nodes(Dell C6145  AMD 
Opteron(tm) Processor 6376) to trusty, with the latest kernel 3.13.0-45-generic 
#74-Ubuntu, but still seeing this kernel panic in vm's console log. 

Using libvirt_cpu_mode=host-model can fix it, but good to know if this
bug still in the latest kernel?

Thanks,

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

Title:
  qemu-kvm guest panic for AMD smp trusty guests

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

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


[Bug 1071315] Re: Memory leak in inflateReset2 causes follow-up problems

2013-02-05 Thread Lei Zhang
The zlib FAQ is talking about deflate. Are you sure this memory error in
inflate is what the FAQ is referring to?

The same bug on the Debian bug tracker got acknowledged as a legit bug and was 
marked fixed in 1.2.4.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577135

** Bug watch added: Debian Bug tracker #577135
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577135

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

Title:
  Memory leak in inflateReset2 causes follow-up problems

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

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


[Bug 1016470] Re: colord crashed with SIGSEGV in __opendirat()

2012-10-04 Thread Lei Zhang
I suspect this is caused by libhpmud0 not checking the return value from
libusb_init(). All the places in hplip-3.12.2/io/hpmud/musb.c that calls
usb_init() should check for return values and bail out if initialization
fails.

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

Title:
  colord crashed with SIGSEGV in __opendirat()

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

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


[Bug 1003186] [NEW] tmpreaper should avoid deleting Chromium's SingletonCookie / SingletonSocket

2012-05-22 Thread Lei Zhang
Public bug reported:

Please add the following files to the --protected list for Chromium / Google 
Chrome:
/tmp/.org.chromium.Chromium.XX/SingletonCookie
/tmp/.org.chromium.Chromium.XX/SingletonSocket
/tmp/.com.google.Chrome.XX/SingletonCookie
/tmp/.com.google.Chrome.XX/SingletonSocket

Background info:

Chromium uses a socket file so a new instance of the browser can check
for an existing instance. However, if one has an AFS home dir, as
reported in [1], then the socket creation would fail and Chromium would
not start.

To work around this issue, Chromium creates the socket as
/tmp/.org.chromium.Chromium.XX/SingletonSocket and it has a
corresponding SingletonCookie in the same dir. Similarly, Google Chrome
has the same setup, except the tmp directory is named
/tmp/.com.google.Chrome.XX instead.

Should these files ever get deleted, say, by tmpreaper, then a new
instance of Chromium would fail to see the existing running copy, and
corrupt the browser profile due to two browser instances writing to the
same profile data directory.

[1] http://code.google.com/p/chromium/issues/detail?id=44606,

** Affects: tmpreaper (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/1003186

Title:
  tmpreaper should avoid deleting Chromium's SingletonCookie /
  SingletonSocket

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

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


[Bug 767066] Re: natty distcc /usr/bin/python: can't open file '/usr/bin/include_server/include_server.py': [Errno 2] No such file or directory

2012-04-06 Thread Lei Zhang
Same problem on precise. I recommend the package maintainer try to use
the tool he's packaging.

On precise, there's a one-line /usr/bin/pump file that contains the
include_server= line that should be in /usr/bin/distcc-pump. That line
is wrong though. It refers to python2.6 whereas on Precise the default
python is 2.7.

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

Title:
  natty distcc /usr/bin/python: can't open file
  '/usr/bin/include_server/include_server.py': [Errno 2] No such file or
  directory

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

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


[Bug 975665] [NEW] distcc pump mode does not handle -I/usr/include/foo correctly

2012-04-06 Thread Lei Zhang
Public bug reported:

There's a bug in distcc 3.1 where distcc gcc -I/usr/include/foo does
not work. This was fixed soon after the distcc 3.1 over 3 years ago. [1]
Please include this in your build, or just upgrade to distcc-3.2rc1.

[1] http://code.google.com/p/distcc/source/detail?r=638

** Affects: distcc (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/975665

Title:
  distcc pump mode does not handle -I/usr/include/foo correctly

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

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


[Bug 973169] Re: FF suddenly crashes making it unusable. This happens after few minutes running and it occurs from last linux image upgrade. Same occurs but much worst with Chrome, which even does not

2012-04-04 Thread Lei Zhang
This is probably bug 972821.

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

Title:
  FF suddenly crashes making it unusable. This happens after few minutes
  running and it occurs from last linux image upgrade. Same occurs but
  much worst with Chrome, which even does not start

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

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


[Bug 972821] Re: [oneiric-proposed] linux-image-3.0.0-18-generic makes apport-gtk and chromium-browser segfault on startup

2012-04-04 Thread Lei Zhang
From Google Chrome's perspective, we are seeing a big spike in crashes,
and many of the crashes don't make much sense. It is only happening on
32-bit Ubuntu 11.10. Everyone with the crash seems to be running
3.0.0.-18.31. Both Intel and AMD CPUs are affected. Based on a random
sampple, on the Intel side, I see crashes from core2s and atom CPUs.

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

Title:
  [oneiric-proposed] linux-image-3.0.0-18-generic makes apport-gtk and
  chromium-browser segfault on startup

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

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


[Bug 972821] Re: [oneiric-proposed] linux-image-3.0.0-18-generic makes apport-gtk and chromium-browser segfault on startup

2012-04-04 Thread Lei Zhang
FYI, Firefox is affected too. See https://crash-
stats.mozilla.com/report/index/af791a35-aec2-4f5d-9feb-6e4082120403 for
example.

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

Title:
  [oneiric-proposed] linux-image-3.0.0-18-generic makes apport-gtk and
  chromium-browser segfault on startup

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

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


[Bug 966779] [NEW] X resource leak with plasma-desktop and workrave

2012-03-27 Thread Lei Zhang
Public bug reported:

This could either be a bug in the plasma-desktop package or in the
workrave package. Not sure who to blame.

Steps to reproduce:
1. Do an install of Kubuntu Precise.
2. Start up KDE, install xrestop and workrave.
3. Start xrestop, observe the 'misc' field for the plasma-desktop process is 
holding steady.
4. Start workrave.

Expected: The 'misc' field for plasma-desktop goes up by a little bit in
xrestop, and then holds steady.

Actual: With every refresh in xrestop, the 'misc' field for plasma-
desktop goes up by 2.

After a few days, the UI response will feel pretty sluggish.

** Affects: kde-workspace (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/966779

Title:
  X resource leak with plasma-desktop and workrave

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/966779/+subscriptions

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


[Bug 966779] Re: X resource leak with plasma-desktop and workrave

2012-03-27 Thread Lei Zhang
** Attachment added: This is what happens after a few days
   https://bugs.launchpad.net/bugs/966779/+attachment/2952212/+files/xrestop.png

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

Title:
  X resource leak with plasma-desktop and workrave

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/966779/+subscriptions

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


[Bug 883314] Re: Missing mimetype icons in gnome-icon-theme

2011-11-02 Thread Lei Zhang
So how are applications that need mime icons suppose to find them on a
default install of Ubuntu 11.10? All the icons are in the Humanity
folder. Are we expected to look there?

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

Title:
  Missing mimetype icons in gnome-icon-theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-icon-theme/+bug/883314/+subscriptions

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


[Bug 883314] [NEW] Missing mimetype icons in gnome-icon-theme

2011-10-28 Thread Lei Zhang
Public bug reported:

In a default install of Ubuntu 11.10 with Unity, applications that
follow the XDG icon theme spec to find icons for mime types do not work.

For instance, one such program is Chromium, which searches
/usr/share/icons/[current_theme], /usr/share/icons/gnome, and
/usr/share/icons/hicolor to look for icons. It will search these
directories for foo.ext, where ext is svg, png, or xpm. If the
mimetype is image/png, it will search for image-png.ext, gnome-mime-
image-png.ext, image-x-generic.ext, and unknown.ext.

In Ubuntu 10.04, icons like gnome-mime-image-png.svg are in the Humanity
directory, which I believe to be the default theme, so it worked. If the
user switches themes, then image-x-generic.png from
/usr/share/icons/gnome is the fallback icon, so that worked.

However, in Ubuntu 11.10, the default theme is ubuntu-mono-dark, but all
the icons are in the Humanity theme. As a result, searching in
/usr/share/icons/ubuntu-mono-dark fails. In which case, it falls back to
/usr/share/icons/gnome. However, /usr/share/icons/gnome contains very
few icons, and we end up not finding any icons.

** Affects: gnome-icon-theme (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/883314

Title:
  Missing mimetype icons in gnome-icon-theme

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-icon-theme/+bug/883314/+subscriptions

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


[Bug 794792] [NEW] cups debug library missing .debug_info section

2011-06-08 Thread Lei Zhang
Public bug reported:

Binary package hint: cupsys

I tested on 32-bit Natty with cups-dbg 1.4.6-5ubuntu1.1, haven't checked
other Ubuntu releases.

Run objdump -x /usr/;ib/debug/usr/lib/libcairo-gobject.so.2.11000.2, and
you'll see it has .debug_* sections, whereas
/usr/lib/debug/usr/lib/libcups.so.2 does not have the .debug_* sections.

This means when you run addr2line -C -f -e
/usr/lib/debug/usr/lib/libcups.so.2 to look up addresses, you only get
function names and not file / line numbers.

** Affects: cupsys (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/794792

Title:
  cups debug library missing .debug_info section

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

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


[Bug 794794] [NEW] Crash inside ippReadIO

2011-06-08 Thread Lei Zhang
Public bug reported:

Binary package hint: cupsys

A user reported this [1], and we (Google) see it on our crash server
with Google Chrome and Ubuntu 11.04:

calloc ()
_cupsStrAlloc () from /usr/lib/libcups.so.2
ippReadIO () from /usr/lib/libcups.so.2
ippRead () from /usr/lib/libcups.so.2
_post_read_response() from 
/usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so
gtk_cups_request_read_write () from 
/usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so
cups_dispatch_watch_prepare() from 
/usr/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so
g_main_context_check () from /lib/libglib-2.0.so.0
?? () from /lib/libglib-2.0.so.0
g_main_loop_run () from /lib/libglib-2.0.so.0
gtk_enumerate_printers () from /usr/lib/libgtk-x11-2.0.so.0

[1] https://code.google.com/p/chromium/issues/detail?id=83875

** Affects: cupsys (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/794794

Title:
  Crash inside ippReadIO

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

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


[Bug 791919] [NEW] Add patch to fix race condition in qsort_r to Lucid's eglibc package

2011-06-02 Thread Lei Zhang
Public bug reported:

Natty's eglibc 2.13-0ubuntu4 includes patches/any/cvs-qsort-race.diff
from upstream to fix race qsort_r().  Closes: Debian bug #614892.

Can we backport this Lucid? Chromium's thread safety tool detected this
error on Lucid: http://code.google.com/p/chromium/issues/detail?id=84726

** 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/791919

Title:
  Add patch to fix race condition in qsort_r to Lucid's eglibc package

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


[Bug 545209] Re: chromium-browser with gecko-mediaplayer hangs on KDE

2011-05-26 Thread Lei Zhang
I unblacklisted gecko-mediaplayer, but users still complain. @_@
Can we update Lucid/Maverick from 0.9.9.2 to 1.0.0 so users there get the fix 
as well?

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

Title:
  chromium-browser with gecko-mediaplayer hangs on KDE

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


[Bug 537402] Re: does not terminate at computer shutdown

2010-03-23 Thread Lei Zhang
I've observed this in a Karmic virtual machine when the host machine is
accessing the disk heavily. It looks like the cause is due to the
shutdown being too slow. I filed a bug upstream:
http://code.google.com/p/chromium/issues/detail?id=39106

** Bug watch added: code.google.com/p/chromium/issues #39106
   http://code.google.com/p/chromium/issues/detail?id=39106

-- 
does not terminate at computer shutdown
https://bugs.launchpad.net/bugs/537402
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 537402] Re: does not terminate at computer shutdown

2010-03-11 Thread Lei Zhang
What's the problem exactly? Please elaborate.

Did you get the Chromium didn't shut down correctly message on the
startup after restarting / logging back in?

-- 
does not terminate at computer shutdown
https://bugs.launchpad.net/bugs/537402
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 519576] Re: Race condition in libXext

2010-03-03 Thread Lei Zhang
Can someone reopen this please?

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

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


[Bug 519576] Re: Race condition in libXext

2010-02-26 Thread Lei Zhang
Ping. Please reopen. I realize Lucid is almost out, but Hardy will be
supported for a while longer. Please at least backport this to Hardy.

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

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


[Bug 519576] Re: Race condition in libXext

2010-02-23 Thread Lei Zhang
Umm, I know it's fixed in Lucid, which is why this bug report is asking
for the fix to be backported to Hardy - Karmic.

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

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


[Bug 519576] Re: Race condition in libXext

2010-02-11 Thread Lei Zhang
FYI, this patch may fix all the crashes for xcb_io.c:378: _XAllocID:
Assertion. There's many instances of this bug in the Ubuntu bug
database, i.e. bug 458989.

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

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


[Bug 519576] Re: Race condition in libXext

2010-02-10 Thread Lei Zhang
Hi, the requested logs are irrelevant because I cannot reproduce the
race condition on my machine. I only know about it because the
aggregated reports from Google Chrome's crash logger show this crash
happening.

This affects any application that calls XShmAttach(). The fix is pretty
clear. Please apply the trivial patch [3] from upstream.

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

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


[Bug 519576] [NEW] Race condition in libXext

2010-02-09 Thread Lei Zhang
Public bug reported:

There's a race condition in libXext that causes apps that use the X
shared memory extensions to occasionally crash. [1][2] This has been
fixed upstream with a small patch. [3] Can we cherrypick this for all
affected releases? (Hardy to Karmic)

[1] http://lists.freedesktop.org/archives/xcb/2009-October/005102.html
[2] http://crbug.com/25324
[3] 
http://cgit.freedesktop.org/xorg/lib/libXext/commit/?id=956fd30e1046e5779ac0b6c07ec4f0e87250869a

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

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

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


[Bug 513133] Re: When chromium is the only browser installed, i'm still asked to make it the default

2010-01-28 Thread Lei Zhang
@Michael Terry: what patch did you throw over the wall to xdg-utils?
URL?

Xdg-open calls gnome-open and kfmclient to open urls. Gnome-open and
kfmclient checks certain GNOME / KDE settings to figure out how to
handle urls. Xdg-settings works by checking those same settings.

Please remember the xdg/portland project is about having a standard way
of opening files, url, emails, etc on all Linux desktop environments in
all Linux distros. AFAIK, x-www-browser is a Debianism that doesn't
exist in rpm-land.

Additionally, unlike your per-user GNOME/KDE settings, x-www-browser is
a system setting that requires root to change. It seems wrong for
Chromium / xdg-settings to change x-www-browser when one user on the
system decides to set it as their default browser. What happens to x
-www-browser when Alice and Bob have different browser preferences?

As far as Chromium developers are concerned, we want to support the
majority of its users, but at the same time not be burdened with having
to deal with each individual desktop environment / distro since the
Linux desktop landscape is so diverse. Thus we use xdg-utils wherever we
can. So sort out how xdg-utils should interact with x-www-browser and go
from there.

-- 
When chromium is the only browser installed, i'm still asked to make it the 
default
https://bugs.launchpad.net/bugs/513133
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 513133] Re: When chromium is the only browser installed, i'm still asked to make it the default

2010-01-28 Thread Lei Zhang
@Michael Terry: I was mainly trying to address the x-www-browser issue.
I missed your patch in this bug report earlier. Yes, I agree sorting
this out in xdg-utils is the way to go. I've commented on the bug
upstream.

-- 
When chromium is the only browser installed, i'm still asked to make it the 
default
https://bugs.launchpad.net/bugs/513133
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 491604] [NEW] flashplugin package should depend on libcurl

2009-12-02 Thread Lei Zhang
Public bug reported:

Binary package hint: flashplugin-nonfree

The Flash plugin will crash if libcurl is not available. Flash should
depend on a package that provides libcurl. Specifically, I think it
requires libcurl3, but please double check.

** Affects: flashplugin-nonfree (Ubuntu)
 Importance: Undecided
 Status: New

-- 
flashplugin package should depend on libcurl
https://bugs.launchpad.net/bugs/491604
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 220765] Re: xdg-open should use xdg-mime instead of run-mailcap when no DE detected

2009-08-12 Thread Lei Zhang
I filed a bug upstream:
http://bugs.freedesktop.org/show_bug.cgi?id=23280

** Bug watch added: freedesktop.org Bugzilla #23280
   https://bugs.freedesktop.org/show_bug.cgi?id=23280

-- 
xdg-open should use xdg-mime instead of run-mailcap when no DE detected
https://bugs.launchpad.net/bugs/220765
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 204567] Re: downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to $HOME/Downloads

2009-08-11 Thread Lei Zhang
Michael, why do you think it's so hard for users to find their downloads
in the most obvious place for downloads ~/Downloads?

On Windows Vista, IE/Firefox saves downloads to
c:\Users\username\Downloads. There's no link to the Download folder on
the Windows desktop, yet Windows users can somehow get by. Now if we
assume Ubuntu users are just as smart as Windows users, shouldn't they
be able to figure it out? As I said many times before, all the other
Linux distros save to ~/Downloads, and their users are not crying oh
noes, where's my downloads?

-- 
downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to 
$HOME/Downloads
https://bugs.launchpad.net/bugs/204567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 204567] Re: downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to $HOME/Downloads

2009-07-10 Thread Lei Zhang
As one more reason to switch away from ~/Desktop, .desktop files are
attack vectors for malware. [3] Saving them to ~/Desktop just makes it
worse.

[3] http://cubist.cs.washington.edu/Security/2009/03/13/linux-desktop-
security-vulnerabilities/

-- 
downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to 
$HOME/Downloads
https://bugs.launchpad.net/bugs/204567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 204567] Re: downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to $HOME/Downloads

2009-06-22 Thread Lei Zhang
As I stated earlier [2] Fedora 10, OpenSUSE 11, Mandriva 2009, and
Debian Lenny all use $HOME/Downloads. Ubuntu is the weird one. ;-)

[2] https://bugs.launchpad.net/ubuntu/+source/xdg-user-
dirs/+bug/204567/comments/3

-- 
downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to 
$HOME/Downloads
https://bugs.launchpad.net/bugs/204567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 220765] Re: xdg-open should use xdg-mime instead of run-mailcap when no DE detected

2009-05-20 Thread Lei Zhang
Indeed. As an example, run-mailcap doesn't know how to handle
directories. So on non-KDE/Gnome desktops, xdg-open /home fail.

The fix is simple - do what upstream xdg-open does. Rather than bailing
out when run-mailcap fails, fallback to sensible-browser. Attached are
*trivial* patches for Hardy and Jaunty/Karmic.

** Attachment added: xdg-open.patch
   http://launchpadlibrarian.net/26990568/xdg-open.patch

-- 
xdg-open should use xdg-mime instead of run-mailcap when no DE detected
https://bugs.launchpad.net/bugs/220765
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 190227] Re: ia32 apps look for libs on the wrong place

2009-03-19 Thread Lei Zhang
Still a problem with Jaunty Alpha 6.

-- 
ia32 apps look for libs on the wrong place
https://bugs.launchpad.net/bugs/190227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 204567] Re: downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to $HOME/Downloads

2009-02-25 Thread Lei Zhang
So can we drop 10_update_default_list.patch from xdg-user-dirs and fix
this already? Most other popular distros [1] use $HOME/Downloads.

[1] Fedora 10, OpenSUSE 11, Mandriva 2009, Debian Lenny.

-- 
downloads should go to $HOME/Downloads : XDG_DOWNLOAD_DIR should be set to 
$HOME/Downloads
https://bugs.launchpad.net/bugs/204567
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 137978] Re: Wine causes process hang in kernel when running applications from FAT partition

2008-10-06 Thread Lei Zhang
Correct, it only affects Dapper.

-- 
Wine causes process hang in kernel when running applications from FAT partition
https://bugs.launchpad.net/bugs/137978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 137978] Re: Wine causes process hang in kernel when running applications from FAT partition

2008-09-03 Thread Lei Zhang
Colin's test kernel works for me with Picasa 2.7 in Wine.

-- 
Wine causes process hang in kernel when running applications from FAT partition
https://bugs.launchpad.net/bugs/137978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 190227] Re: ia32 apps look for libs on the wrong place

2008-06-23 Thread Lei Zhang
So does libgphoto2 in ia32-libs. It looks for port plugins in /usr/lib,
thus apps that depend on it cannot find any camera ports.

To reproduce:

1. verify 64-bit gphoto2 --list-ports outputs disk:/, usb:, etc
2. install lib32readline5
3. download 32-bit gphoto2 deb pkg
4. ar x gphoto2_2.4.0-1_i376.deb; tar zxf data.tar.gz
5. download 32-bit libcdk5
6. ar x libcdk5...i386.deb; ar zxf data.tar.gz
7. cd usr/bin
8. run LD_LIBRARY_PATH=../lib ./gphoto2 --list-ports

Expected result: same output as 64-bit gphoto2 --list-ports
Actual result: output is an empty list

-- 
ia32 apps look for libs on the wrong place
https://bugs.launchpad.net/bugs/190227
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 137978] Re: Wine causes process hang in kernel when running applications from FAT partition

2008-05-27 Thread Lei Zhang
I'd like to see the fix go into the kernel. (Who do we have to nudge for
that to happen, BTW?) Though according to Google code search, Wine is
pretty much the only project that calls that ioctl. So I guess we can
just work around it if needed.

-- 
Wine causes process hang in kernel when running applications from FAT partition
https://bugs.launchpad.net/bugs/137978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 137978] Re: Wine causes process hang in kernel when running applications from FAT partition

2008-05-20 Thread Lei Zhang
When the package maintainers backported CVE-2007-2878, [1] they made a
typo while adapting the code to kernel 2.6.15.

With [2] applied to the 2.6.15 source code, fat_ioctl_readdir() is as
follows:

...
down(inode-i_sem);
ret = -ENOENT;
if (!IS_DEADDIR(inode)) {
ret = __fat_readdir(inode, filp, buf, filldir, short_only, both);
}
down(inode-i_sem);
...

The second down() should be an up().

This only affect the dapper kernels 2.6.15-28-51, but not later kernels
used in Ubuntu 6.10+, which kept the mutex_lock() / mutex_unlock() from
the original commit in kernel 2.6.21.2.

[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2878
[2] 
http://archive.ubuntu.com/ubuntu/pool/main/l/linux-source-2.6.15/linux-source-2.6.15_2.6.15-51.66.diff.gz

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2007-2878

-- 
Wine causes process hang in kernel when running applications from FAT partition
https://bugs.launchpad.net/bugs/137978
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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