[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#165899: xlibs-dbg: no unstripped libs for /usr/X11R6/lib/X11/locale/common/*



On Tue, Oct 22, 2002 at 11:08:38PM +0900, MINAMI Hirokazu wrote:
> Some i18n related libraries included are located under
> /usr/X11R6/lib/X11/locale/common/.  However, corresponding unstripped
> libraries do not present in the "xlibs-dbg" package.

You're correct.  I apologize for the oversight.

> I'm suspecting that there's some memory leaks in
> /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2 and need a debugging
> version of the library.

Your desire to find and fix memory leaks is very much appreciated, but
I'd advise you to check XFree86 CVS before undertaking this project, in
the event that someone else has already plugged the leaks.

> Would you include such a libraries in the -dbg package?

Yes.  How does this look?

  * debian/control:
[...]
    - Discuss Xlib's loadable modules for i18n in the extended package
      descriptions of xlibs and xlibs-dbg.  In xlibs-dbg's extended
      description, give tips on how to debug the i18n modules.
  * debian/xlibs-dbg.debugfiles: ship unstripped versions of Xlib's i18n
    modules in /usr/X11R6/lib/debug/X11/locale/common.

Package: xlibs
[...]
 libX11 (a.k.a. Xlib) provides the low-level functionality, dealing mostly
 with the wire protocol and in terms of basic operations such as opening and
 closing the X protocol connection, creating graphics contexts, drawing
 graphics primitives such as lines, arcs, and glyphs, handling events, and so
 forth.  A set of dynamically-loadable internationalization modules is also
 part of Xlib, though not in the libX11 shared object itself.

Package: xlibs-dbg
[...]
 Unstripped versions of Xlib's internationalization loadable modules are
 provided in /usr/X11R6/lib/debug/X11/locale/common.  Note that if you wish
 to debug these modules, you will need to set XLOCALEDIR to
 /usr/X11R6/lib/debug/X11/locale.  Also note that for security reasons,
 unprivileged users are unable to override XLOCALEDIR in this way, so you
 may have to perform your debugging of the Xlib modules as root.

As long as everything tests all right, this fix will be in the next
release.

-- 
G. Branden Robinson                |     One man's "magic" is another man's
Debian GNU/Linux                   |     engineering.  "Supernatural" is a
branden@debian.org                 |     null word.
http://people.debian.org/~branden/ |     -- Robert Heinlein

Attachment: pgpHFVDhKPpCY.pgp
Description: PGP signature


Reply to: