segmentation fault on pmw dialog activate

Bug #305211 reported by Iakov Davydov
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
blt (Debian)
Fix Released
Unknown
python-pmw (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Pmw.Dialog segfaults on activate() method.

Example from /usr/share/doc/python-pmw-doc/examples/Dialog.py (python-pmw-doc package) causes segfault.

This seems to be tkinter problem because segfault actually happens on:

/usr/lib/python2.5/site-packages/Pmw/Pmw_1_3/lib/PmwBlt.py(57)busy_hold()
-> window.tk.call(_busyCommand, 'hold', window._w)

Revision history for this message
Iakov Davydov (iakov-davydov) wrote :

This bug also affects pymol:
Help->About causes segmentation fault.

/usr/share/python-support/pymol/pmg_tk/skins/normal/__init__.py

Revision history for this message
Lupine (thelupine) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in python-pmw.

For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https://wiki.ubuntu.com/ReportingBugs.

Also, I've been unable to reproduce your issue on Ubuntu 8.10. Can you reproduce this issue with an Ubuntu LIVE CD and report back if the problem still exists on Ubuntu 8.10 LIVE CD? What were the exact step you followed to reproduce this issue?

Revision history for this message
Don (dldietmeyer) wrote :

I have run into the same segfault when activating a Pmw.Dialog, and am still looking for a fix or workaround. Using show() is not a replacement for activate().

Revision history for this message
Martin Lutz (m-lutz) wrote :

I assume that this bug is related to Debian-bug 524149.

Revision history for this message
Don (dldietmeyer) wrote : Re: [Bug 305211] Re: segmentation fault on pmw dialog activate

Martin, Sorry, I don't know a thing about the Debian bug.
The problem I had is documented in the Ubuntu Forum in
a thread entitled "Segfault in Pmw.dialog."
   Don

Martin Lutz wrote:
> I assume that this bug is related to Debian-bug 524149.
>
>

--

Donald L. Dietmeyer
   2211 Waunona Way
   Madison, WI 53713-1619
   (608) 222-3663
  <email address hidden>

Revision history for this message
Martin Lutz (m-lutz) wrote :

Dear Don,

pmw calls blt, which causes the segfault. (pymol calls pmw, which calls blt,
which calls tk...)

It only occurs with version blt_2.4z-4.1. There is no problem with the old
version blt_2.4z-4. The bug causing the segfault must have been introduced in
the latest version.

If you downgrade to the old version of blt, your segfault will disappear. (Of
course downgrading is not exactly a solution...)

Best wishes,
Martin

Don wrote:
> Martin, Sorry, I don't know a thing about the Debian bug.
> The problem I had is documented in the Ubuntu Forum in
> a thread entitled "Segfault in Pmw.dialog."
> Don
>
> Martin Lutz wrote:
>> I assume that this bug is related to Debian-bug 524149.
>>
>>
>
> --
>
> Donald L. Dietmeyer
> 2211 Waunona Way
> Madison, WI 53713-1619
> (608) 222-3663
> <email address hidden>
>

Changed in blt (Debian):
status: Unknown → New
Revision history for this message
Gene Hilton (genehilton) wrote :

I am not sure it's this simple. I tried following the suggestion to
downgrade to intrepids blt. This downgrading fixes the dialog activate bug
- I tried it, but does not fix the BLT bugs. A simpler test case that
segfaults is

import Pmw
a=Pmw.Blt.Vector(1)

I think there is more going on here.

On Mon, Jun 8, 2009 at 3:51 AM, Bug Watch Updater <
<email address hidden>> wrote:

> ** Changed in: blt (Debian)
> Status: Unknown => New
>
> --
> segmentation fault on pmw dialog activate
> https://bugs.launchpad.net/bugs/305211
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “python-pmw” source package in Ubuntu: Incomplete
> Status in “blt” source package in Debian: New
>
> Bug description:
> Pmw.Dialog segfaults on activate() method.
>
> Example from /usr/share/doc/python-pmw-doc/examples/Dialog.py
> (python-pmw-doc package) causes segfault.
>
> This seems to be tkinter problem because segfault actually happens on:
>
> /usr/lib/python2.5/site-packages/Pmw/Pmw_1_3/lib/PmwBlt.py(57)busy_hold()
> -> window.tk.call(_busyCommand, 'hold', window._w)
>

Revision history for this message
viyyer (viyyer) wrote :

Any updates on this. I have the same problems.

Revision history for this message
nanotube (nanotube) wrote :

I'm Running intrepid,
running pmw's Dialog_test still causes a segfault.

Revision history for this message
Gene Hilton (genehilton) wrote :

I found a fix that works for me. The patch in https://bugs.launchpad.net/ubuntu/+source/blt/+bug/359857 fixes /usr/lib/blt2.4/pkgIndex.tc so that BLT knows about Tck/Tk 8.5 (which python tk is linked against). Now both the dialog test reported here and the BLT plotting troubles reported in https://bugs.launchpad.net/ubuntu/+source/python-pmw/+bug/305211 .

Changed in blt (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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