luma causes double free or corruption

Bug #81617 reported by peterdv
2
Affects Status Importance Assigned to Milestone
luma (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: luma

luma freezes after reporting:

*** glibc detected *** python: double free or corruption (out): 0x083b9b78 ***

It is not entirely clear that this problem is related to the luma package, but I do not know which component in the tool chain actually triggers the problem - hence the attribution to the luma package where it surfaces in my case.

Google reports several hits for "double free or corruption" in other components, aparently varius updated packages solved some of these problems.

My fiesty 7.04 installation should be current.

I have not yet met this problem in our in-house python code.

Starting luma from a fresh install, it initially complains (on the console):

X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 145
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode: 145
  Minor opcode: 3
  Resource id: 0x0
Failed to open device

luma displays the initial "Choose plugin" window.

Selecting "Program/Show logger" menu entry results in the console message:

QStatusBar::removeWidget(): Widget not found.

The logger window opens, and reports

11:54:59 Search filter bookmark loading failed. Reason:
[Errno 2] No such file or directory: '/home/peterdv/.luma/filterBookmarks'

Which is corrrect:

# ls -a /home/peterdv/.luma
. .. luma plugins serverlist.xml

Choosing the "Browser plugin" changes the view correctly.
Clicking on the '+' next to the server profile causes the message window to report:

LDAP bind operation successfull.
Schema information for server Local TestServer retrieved.

Transcribed by hand, as the luma application gets unresponsive, I terminate luma using "Force Quit".
The console reports:

*** glibc detected *** python: double free or corruption (out): 0x083b9b78 ***
Killed

Grabbing luma-2.4pre2 from http://luma.sourceforge.net/ gives the same result.
Running python luma-2.4pre2/install.py reports:

Luma 2.4 (C) 2003-2006 Wido Depping

Check for preinstalled modules:

python-ldap is installed...
        Installed version: 2.2.0
        Minimum version: 2.0.1

PyQt is installed...
        Installed version: 3.17
        Minimum version: 3.10

Qt version...
        Installed version: 3.3.7
        Minimum version: 3.2

WARNING: smbpasswd module is not installed.
You will be able to tun Luma, but no nthash and lmhash passwords are available.
You can get the module here: http://barryp.org/software/py-smbpasswd

# python -V
Python 2.5
#
# dpkg -l|grep luma
ii luma 2.3-1.1 gui utility for accessing and managing LDAP
#
# dpkg -l |grep libc6
ii libc6 2.5-0ubuntu8 GNU C Library: Shared libraries
ii libc6-dev 2.5-0ubuntu8 GNU C Library: Development Libraries and Hea
ii libc6-i686 2.5-0ubuntu8 GNU C Library: Shared libraries [i686 optimi
#
# dpkg -l|grep python
ii bicyclerepair 0.9-4.1ubuntu1 A refactoring tool for python
ii diveintopython 5.4-2ubuntu1 free Python book for experienced programmers
ii gimp-python 2.2.13-1ubuntu4 Python support and plugins for The GIMP
ii pylint 0.12.1-1 python code static checker
ii python 2.5-0ubuntu3 An interactive high-level object-oriented la
ii python-apport 0.44 apport crash report handling library
ii python-apt 0.6.20ubuntu1 Python interface to libapt-pkg
ii python-at-spi 0.6.1-1 Assistive Technology Service Provider Interf
ii python-cairo 1.2.0-1build1 Python bindings for the Cairo vector graphic
ii python-central 0.5.12ubuntu1 register and build utility for Python packag
ii python-dbus 0.71-3ubuntu1 simple interprocess messaging system (Python
ii python-dev 2.5-0ubuntu3 Header files and a static library for Python
ii python-egenix-mxdatetime 2.0.6ubuntu1-1ubuntu5 date and time handling routines for Python
ii python-egenix-mxtools 2.0.6ubuntu1-1ubuntu5 collection of new builtins for Python
ii python-elementtree 1.2.6-10ubuntu1 Light-weight toolkit for XML processing
ii python-gconf 2.17.2-0ubuntu2 Python bindings for GConf2
ii python-gdbm 2.4.4-1 GNU dbm database support for Python
ii python-glade2 2.10.3-0ubuntu4 GTK+ bindings: Glade support
ii python-gmenu 2.17.5-0ubuntu1 an implementation of the freedesktop menu sp
ii python-gnome2 2.17.2-0ubuntu2 Python bindings for the GNOME desktop enviro
ii python-gnome2-desktop 2.17.3-0ubuntu1 Python bindings for the GNOME desktop enviro
ii python-gnome2-extras 2.14.2-1ubuntu1 Python bindings for the GNOME desktop enviro
ii python-gnomecanvas 2.17.2-0ubuntu2 Python bindings for gnomecanvas
ii python-gnupginterface 0.3.2-9 Python interface to GnuPG (GPG)
ii python-gobject 2.12.3-0ubuntu1 Python bindings for the GObject library
ii python-gst0.10 0.10.6-1ubuntu1 generic media-playing framework (Python bind
ii python-gtk2 2.10.3-0ubuntu4 Python bindings for the GTK+ widget set
ii python-gtkhtml2 2.14.2-1ubuntu1 Python bindings for the GtkHTML2 library
ii python-json 3.4-2 a JSON (http://json.org) reader and writer i
ii python-launchpad-integration 0.1.6 library for launchpad integration
ii python-ldap 2.2.0-3 An LDAP interface module for Python
ii python-libxml2 2.6.27.dfsg-1ubuntu1 Python bindings for the GNOME XML library
ii python-logilab-astng 0.16.2-2 extend python's abstract syntax tree
ii python-logilab-common 0.21.0-2 useful miscellaneous modules used by Logilab
ii python-minimal 2.5-0ubuntu3 A minimal subset of the Python language (def
ii python-numeric 24.2-7 Numerical (matrix-oriented) Mathematics for
ii python-problem-report 0.44 python library to handle problem reports
ii python-pyorbit 2.14.1-2build1 A Python language binding for the ORBit2 COR
ii python-qt3 3.17-0ubuntu2 Qt3 bindings for Python
ii python-sip4 4.5-0ubuntu1 Python/C++ bindings generator runtime librar
ii python-support 0.5.6ubuntu1 automated rebuilding support for python modu
ii python-tk 2.4.4-1 Tkinter - Writing Tk applications with Pytho
ii python-uno 2.1-2ubuntu4 Python interface for OpenOffice.org
ii python-virtkey 0.41ubuntu1 Library to emulate keyboard keypresses.
ii python-vte 0.15.1-0ubuntu3 Python bindings for the VTE widget set
ii python-xdg 0.15-1.1ubuntu1 A python library to access freedesktop.org s
ii python-xml 0.8.4-6ubuntu1 XML tools for Python
ii python2.4 2.4.4-1ubuntu2 An interactive high-level object-oriented la
ii python2.4-minimal 2.4.4-1ubuntu2 A minimal subset of the Python language (ver
ii python2.5 2.5-5ubuntu4 An interactive high-level object-oriented la
ii python2.5-dev 2.5-5ubuntu4 Header files and a static library for Python
ii python2.5-minimal 2.5-5ubuntu4 A minimal subset of the Python language (ver

description: updated
Revision history for this message
peterdv (peter-dahl-vestergaard) wrote :

Fixed - It was not a luma problem.

The problem was fixed by one of the upgrades. It now woks based on:

$ dpkg -l|grep luma
ii luma 2.3-1.1 gui utility for accessing and managing LDAP
$ dpkg -l |grep libc6
ii libc6 2.5-0ubuntu11 GNU C Library: Shared libraries
ii libc6-dev 2.5-0ubuntu11 GNU C Library: Development Libraries and Hea
ii libc6-i686 2.5-0ubuntu11 GNU C Library: Shared libraries [i686 optimi

Changed in luma:
status: Unconfirmed → Fix Released
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.