bugBKChem - Bugs: bug #26622, segfault when opening windows


bug #26622: segfault when opening windows

Submitter:  Matthias Mailänder <mailaender>
Submitted:  Tue 19 May 2009 07:28:00 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  general Status:  Fixed
Privacy:  Public Assigned to:  beda
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Jump to the original submission

Tue 26 May 2009 05:24:03 AM UTC, comment #10: 

Great, I am happy that we finally tracked it down. Thanks for your patience and relentless testing :)


p.s.- I think that the bug is probably in the fact that the BLT library is built against Tcl 8.4, but Tcl 8.5 will try to use it anyway, which leads to the behavior we witnessed.

Beda Kosata <beda>
Group administrator
Tue 26 May 2009 05:15:47 AM UTC, comment #9: 

That's it: I simply removed tcltk 8.4 with synaptics (XChat was depending on it) and the crashes are gone. I will file a bug for Ubuntu so that they add a conflict in the debian package.

Matthias Mailänder <mailaender>
Tue 26 May 2009 04:46:36 AM UTC, comment #8: 

Great, I think that the traceback from the core dump gives a clue to what is happening.
The most interesting thing is the mix of the 8.4 and 8.5 version of tcl which starts after the BLT library kicks in. I believe that this could be the reason for the crash - there is an older version of Tcl (8.4) in your system (or traces of it) which conflicts with the new 8.5 version. In my fresh system the 8.4 library does not exist and it runs fine.
Could you please try to get rid of this old library? I am not sure if it would be possible via apt-get or synaptic, but you could start by moving /usr/lib/libtcl8.4.so.0 somewhere else (so that Tcl cannot find it) and running BKChem again.
After that, we will see what happens.

Beda Kosata <beda>
Group administrator
Mon 25 May 2009 06:32:31 PM UTC, comment #7: 

I am using Xfce and do not have Compiz or any visual effects enabled. I tried to create a coredump using https://wiki.ubuntu.com/Apport The program uploaded it automatically to https://bugs.launchpad.net/ubuntu/+source/bkchem/+bug/380346 Hope this helps somehow.

Matthias Mailänder <mailaender>
Mon 25 May 2009 09:34:03 AM UTC, comment #6: 

The only thing that comes to mind is to try to create a core-dump and see what you can extract from it. However, it is not a trivial task. It would be much better if I could reproduce the problem.
I assume you use Gnome. Do you use compiz? What happens when you disable visual effects in "System->Preferences->Appearance->Visual effects"? Does it change?


Beda Kosata <beda>
Group administrator
Thu 21 May 2009 07:32:37 AM UTC, comment #5: 

Yes it does segfault when I download the source from BKChem website, unpack it, cd to bkchem-0.13.0/bkchem and do "python bkchem.py" and click "Help → About". I also tried bkchem-0.13.0-nopiddle 0.12.6, 0.12.5, 0.12.4 (0.12.3 and lower does not start) and they all segfault :/ Is there any way I can give more detailed crash information?

Matthias Mailänder <mailaender>
Wed 20 May 2009 10:32:49 AM UTC, comment #4: 

I downloaded a virtual machine with Ubuntu 9.04 and I cannot reproduce the bug - I can use both the 0.12.2 that comes with Ubuntu as well as 0.13.0 downloaded from BKChem website :(
When you download the source from BKChem website, unpack it, cd to bkchem-0.13.0/bkchem and do "python bkchem.py" does it also segfault?

Beda Kosata <beda>
Group administrator
Wed 20 May 2009 05:49:25 AM UTC, comment #3: 

OK, I will try to check it on an Ubuntu virtual machine and let you know.


Beda Kosata <beda>
Group administrator
Wed 20 May 2009 05:46:09 AM UTC, comment #2: 

Yes, the symptons are the same as described in bug #24769. I tried the BKchem version from the Ubuntu repositories and installed the latest one manually via http://packages.debian.org/de/sid/bkchem and I also tried downloading the source and start it using python bkchem.py and always get segfaults.

Matthias Mailänder <mailaender>
Wed 20 May 2009 05:06:54 AM UTC, comment #1: 

Please see the following bug:

It seems that this is the same problem with the new Ubuntu.
How did you install BKChem - from a package or from the source from http://bkchem.zirael.org?


Beda Kosata <beda>
Group administrator
Tue 19 May 2009 07:28:00 PM UTC, original submission:  

Whenever I click "file-properties", "info" or "options" I get a segmentation fault on Ubuntu 9.04 using BKchem 13.0 and 12.2

Matthias Mailänder <mailaender>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by beda (Posted a comment)
  • -email is unavailable- added by mailaender (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-05-26 beda StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2009-05-20 beda StatusNone In Progress
        Assigned toNone beda

    Back to the top

    Powered by Savane 3.13-e652.
    Corresponding source code