Subject: python2.4: Bsddb hangs on particular calls from gramps
Package: python2.4
Version: 2.4.4-5
Severity: normal

*** Please type your report below this line ***

This bug appears when a particular combination is done in the gramps
program. It has been reported to the bug tracking system of gramps with id 1010:

http://bugs.gramps-project.org/view.php?id=1010

The conclusion was that the version of bsddb used by python (in the Mandriva distribution, but anyway) hangs in some competition situation. The problem was resolved by updating the bsddb to the latest version (haven't tried it myself though).

I have the exact same behavior now and I think to have found a precise way to reproduce the bug which is not the case in the gramps bug report. Gramps hangs when I:
1) open a dialog to add an event to a person (birth, death, ...)
2) open a dialog to add a source to the event
3) close the two dialogs clicking the repective OK buttons

Clicking the second Ok button blocks the program completely and I have to kill it. The dialogs must be closed pretty fast one after another. The time allowed between the clicks, during which the program still blocks, depends on couple of things: 1) how many references the source being added to the event has, i.e. in how many events and other object the source has been included already;
more references means longer time;
2) probably also the speed of the system affects; faster system would be naturally harder to make hang.

This makes me think that after closing the source addition the event will be added the references list of the source. Apparently the bigger the list, the longer it takes to update it. When the event dialog is closed the event will be added to the list of event of the person. If the dialogs are closed in a too short time the program hangs probably because it tries to add the same event in two different lists.

However, could you check whether the bug is really in the bsddb and, if so, whether it could be updated in Debian?

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python2.4 depends on:
ii  libbz2-1.0         1.0.3-7        high-quality block-sorting file co
ii  libc6              2.6.1-1        GNU C Library: Shared libraries
ii  libdb4.4           4.4.20-8       Berkeley v4.4 Database Libraries [
ii  libncursesw5       5.6+20070716-1 Shared libraries for terminal hand
ii  libreadline5       5.2-3          GNU readline and history libraries
ii  libssl0.9.8        0.9.8e-5       SSL shared libraries
ii  mime-support       3.39-1         MIME files 'mime.types' & 'mailcap
ii  python2.4-minimal  2.4.4-5        A minimal subset of the Python lan

python2.4 recommends no packages.

gramps version: 2.2.8-1

Versions of packages gramps depends on:
ii gconf2 2.18.0.1-3 ii librsvg2-common 2.18.0-1
ii  python-central                    0.5.14
ii  python-glade2                     2.10.6-1
ii python-gnome2 2.18.2-1
ii  scrollkeeper                      0.3.14-13
ii  yelp                              2.18.1-1

-- no debconf information

--
Mika Laari


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to