bugBKChem - Bugs: bug #24769, bkchem crashes in ubuntu 8.10 when...

 
 

bug #24769: bkchem crashes in ubuntu 8.10 when accessing the menu

Submitted by:  None
Submitted on:  Thu 06 Nov 2008 10:20:44 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: generalStatus: Fixed
Privacy: PublicAssigned to: Beda Kosata <beda>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 19 Nov 2008 10:13:58 AM UTC, comment #5:

Hi,

The patch fixed the problem.

Nice work and thanks again!

Bye

Tanguy <couette>
Tue 18 Nov 2008 08:32:48 AM UTC, comment #4:

Hi,

I had to get an Ubuntu virtual machine to find where the problem is, so it took me some time.
The problem is in the libBLT library which causes the segmentation fault. Because it is not possible for me to fix the problem with the BLT library, I have found a way to circumvent its use.
I am attaching a patch that has to be applied to the file Pmw.py in the distribution directory using the following command:

patch -p0 Pmw.py < Pmw.py.patch

After applying this patch, bkchem should work ok.
Please let me know if it works for you.

p.s.- I will try to find a simple example of where this crash comes from and submit a bug to ubuntu database.

(file #16875)

Beda Kosata <beda>
Project AdministratorIn charge of this item.
Fri 14 Nov 2008 05:02:26 PM UTC, comment #3:

Well, hi again

I also have the png export problem, which also comes from a segmentation fault. The test program for this issue also works fine, I get a nice triangle.png file.

pdf export works fine though...

Hope it can help to understand the problem

Bye
Thomas

PS : is there a way to edit our own post, rather than making 2 in a row?

Tanguy <couette>
Fri 14 Nov 2008 04:51:36 PM UTC, comment #2:

Hi,

I have the same problem when running BKChem 0.12.4 in Ubuntu 8.10

Tested your test program and it works fine.

In fact, drawing, opening and saving files is still possible, but when I try to access menu items like File Properties or Options for example, BKChem crashes, and it says "segmentation fault".
Oh, and I use the french translated version, my english translation of the menu items may be wrong.

Bye

Thomas

Tanguy <couette>
Fri 07 Nov 2008 01:10:01 PM UTC, comment #1:

Hi Robert,
thanks for letting me know. To me it sounds like some problem of incompatible libraries inside Ubuntu, rather than a problem of BKChem. It is very rarely that a Python program causes segmentation fault and it is usually a sign that there is something wrong with the underlying libraries.
I have attached a very basic test program to test if this really is a general Tkinter (the widget library) problem.
Could you please try to run it and let me know what the result is?

Cheers
Beda

(file #16800)

Beda Kosata <beda>
Project AdministratorIn charge of this item.
Thu 06 Nov 2008 10:20:44 PM UTC, original submission:

Hello,

after installation of bkchem in Ubuntu 8.10 (version BKChem 0.12.2), drawing is possible.

But as soon as menu-items like Help:About are accessed, the application crashes with a segmentation fault.

Remark: BK is running fine in 8.04 (0.12.0)

Greetings, Robert

My email: -unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #16875:  Pmw.py.patch added by beda (23B - application/octet-stream - this is a patch against Pmw.py that should take care of the problem)
file #16800:  test.py added by beda (1KiB - text/x-python - simple test script (taken from http://www.learningpython.com/2006/03/27/using-menus-in-tkinter/))

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by couette (Posted a comment)
  • -unavailable- added by beda (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Nov 2008 10:38:46 AM UTCbedaOpen/ClosedOpen=>Closed
    Wed 19 Nov 2008 10:38:12 AM UTCbedaStatusReady For Test=>Fixed
    Tue 18 Nov 2008 08:32:48 AM UTCbedaAttached File-=>Added Pmw.py.patch, #16875
      StatusNeed Info=>Ready For Test
    Fri 07 Nov 2008 01:10:01 PM UTCbedaStatusNone=>Need Info
      Assigned toNone=>beda
    Fri 07 Nov 2008 01:10:00 PM UTCbedaAttached File-=>Added test.py, #16800

    Back to the top


    Powered by Savane 3.1-cleanup1