Bug#609705: to "edit metadata" cause calibre to freeze
Package: calibre Version: 0.7.44+dfsg-1 Severity: normal I have the same problem. I can edit the author and title but anything else when I click ok the window stays unresponsive and the CPU load skyrockets consuming one of the CPUs to 100%. stracing the process when it is stuck like this shows continuous streams of: futex(0xa73d70, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xa73d70, FUTEX_WAKE_PRIVATE, 1) = 0 futex(0xa73d70, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) futex(0xa73d70, FUTEX_WAKE_PRIVATE, 1) = 1 Both calibre -v and calibre-debug -g give no output either during or just before the program hangs. I found I can consistently lock it up but opening the edit metadata window and clicking next. Actually now i had to load ipython and friends to make calibre-debug work I just have to attempt to open the edit metadata window for it to lockup. - Craig -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages calibre depends on: ii calibre-bin0.7.44+dfsg-1 e-book converter and library manag ii imagemagick8:6.6.0.4-3 image manipulation programs ii python 2.6.6-3+squeeze5 interactive high-level object-orie ii python-beautifulsoup 3.2.0-1 error-tolerant HTML parser for Pyt ii python-cherrypy3 3.1.2-1 Python web development framework - ii python-cssutils0.9.7~b2-2CSS Cascading Style Sheets parser ii python-dateutil1.4.1-3 powerful extensions to the standar ii python-dbus0.83.1-1 simple interprocess messaging syst ii python-django-tagging 0.3.1-1 A generic tagging application for ii python-encutils0.9.7~b2-2Encoding detection collection for ii python-imaging 1.1.7-2 Python Imaging Library ii python-lxml2.2.8-2 pythonic binding for the libxml2 a ii python-mechanize 0.1.11-1.1stateful programmatic web browsing ii python-pkg-resources 0.6.14-4 Package Discovery and Resource Acc ii python-pyparsing 1.5.2-2 Python parsing module ii python-pypdf 1.12-3PDF toolkit implemented solely in ii python-pythonmagick0.9.1-3+b1Object-oriented Python interface t ii python-qt4 4.7.3-1+b1Python bindings for Qt4 ii python-routes 1.12.3-1 Routing Recognition and Generation ii ttf-liberation 1.06.0.20100721-1 Fonts with the same metrics as Tim ii xdg-utils 1.1.0~rc1-2 desktop integration utilities from Versions of packages calibre recommends: ii python-dnspython 1.8.0-1DNS toolkit for Python calibre suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#609705: to "edit metadata" cause calibre to freeze
Package: calibre Version: 0.7.42+dfsg-1 Severity: normal -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I also encountered this problem. I used gdb to attach the running process, found it kept looping in the function EditorWidget.fset in the file /usr/lib/calibre/calibre/gui2/comments_editor.py, line 257 def fset(self, val): self.setHtml(val) f = QFontInfo(QApplication.font(self)).pixelSize() style = 'font-size: %dpx;' % (f,) for body in self.page().mainFrame().documentElement().findAll('body'): body.setAttribute('style', style) self.page().setContentEditable(True) If I remove the suspicious parts, the metadata editor does not freeze again. #kanru - -- System Information: Debian Release: 6.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages calibre depends on: ii calibre-bin0.7.42+dfsg-1 e-book converter and library manag ii imagemagick8:6.6.0.4-3 image manipulation programs ii python 2.6.6-3+squeeze5 interactive high-level object-orie ii python-beautifulsoup 3.1.0.1-2 error-tolerant HTML parser for Pyt ii python-cherrypy3 3.1.2-1 Python web development framework - ii python-cssutils0.9.7~b2-2CSS Cascading Style Sheets parser ii python-dateutil1.4.1-3 powerful extensions to the standar ii python-dbus0.83.1-1 simple interprocess messaging syst ii python-django-tagging 0.3.1-1 A generic tagging application for ii python-encutils0.9.7~b2-2Encoding detection collection for ii python-imaging 1.1.7-2 Python Imaging Library ii python-lxml2.2.8-2 pythonic binding for the libxml2 a ii python-mechanize 0.1.11-1.1stateful programmatic web browsing ii python-pkg-resources 0.6.14-4 Package Discovery and Resource Acc ii python-pyparsing 1.5.2-2 Python parsing module ii python-pypdf 1.12-3PDF toolkit implemented solely in ii python-pythonmagick0.9.1-3+b1Object-oriented Python interface t ii python-qt4 4.7.3-1+b1Python bindings for Qt4 ii python-routes 1.12.3-1 Routing Recognition and Generation ii ttf-liberation 1.05.2.20091019-4 Fonts with the same metrics as Tim ii xdg-utils 1.1.0~rc1-1 desktop integration utilities from Versions of packages calibre recommends: pn python-dnspython (no description available) calibre suggests no packages. - -- no debconf information - -- debsums errors found: debsums: changed file /usr/lib/calibre/calibre/gui2/comments_editor.py (from calibre package) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1EC4sACgkQsbdbXzZcx6IvcQCg2tAxpQdG84s+XfNq96SA+Vfk /uUAn1VnEAqKOJaVAZzYA/SYjYeGmPzK =7NUj -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org