Your message dated Mon, 06 Oct 2014 05:50:07 +0000
with message-id <[email protected]>
and subject line Bug#763037: fixed in xdrawchem 2.0-3
has caused the Debian Bug report #763037,
regarding xdrawchem crashes with segfault when leaving the text tool (jessie 64 
bit)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
763037: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763037
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xdrawchem
Version: 2.0-2
Severity: normal


Hi there! :-)


The xdrawchem executable crashed with a segmentation fault every time you leave the tool to insert text (no matter if you've entered text or not). Steps to reproduce:
 * Startup xdrawchem
 * Close the "welcome" dialog (if it appears) by clicking OK
* Switch to the text tool by clicking on the "T" icon (description "Draw or edit text") in the toolbar
 * Click on an empty place in the document to start inserting text
* Switch back to the selection tool by clicking on the cursor icon (description: "Select") in the toolbar
-> Crash with segmentation fault


The last output of the program on the console before the crash is:

 addText
 0
 screen
 paintEvent painter begin
 drawAll:  Drawable(0x14493d30)
 Text::Render begin
 "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
 "http://www.w3.org/TR/REC-html40/strict.dtd";>
 <html><head><meta name="qrichtext" content="1" />
 <style type="text/css">
 p, li { white-space: pre-wrap; }
 </style></head><body style=" font-family:'Helvetica';
 font-size:10pt; font-weight:400; font-style:normal;">
 <p style="-qt-paragraph-type:empty; margin-top:0px;
 margin-bottom:0px; margin-left:0px; margin-right:0px;
 -qt-block-indent:0; text-indent:0px;">
 <br /></p></body></html>"
 Text dimensions =  787 , 21


I installed the Qt debug symbols package and compiled xdrawchem from source with "DEB_BUILD_OPTIONS=nostrip" in order to get a reasonable backtrace. Here it goes:

==12730== Invalid read of size 4
==12730==    at 0x5852360: QRasterPaintEngine::penChanged()
             (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==12730==    by 0x57D604D: QPainter::setPen(QColor const&)
             (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==12730==    by 0x5193FA: Render2D::drawFillBox(QPoint, QPoint,
             QColor, bool, QColor, int) (render2d_draw.cpp:642)
==12730==    by 0x53C6E4: Text::Render() (text.cpp:554)
==12730==    by 0x49AEB7: ChemData::drawAll() (chemdata.cpp:24)
==12730==    by 0x529182: Render2D::paintEvent(QPaintEvent*)
             (render2d_event.cpp:1909)
==12730==    by 0x56DF3B7: QWidget::event(QEvent*)
             (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==12730==    by 0x568C31B: QApplicationPrivate::notify_helper
             (QObject*, QEvent*)
             (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==12730==    by 0x5692E17: QApplication::notify(QObject*, QEvent*)
             (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==12730==    by 0x6687CAC: QCoreApplication::notifyInternal
             (QObject*, QEvent*)
             (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6)
==12730==    by 0x56D9A6C: QWidgetPrivate::drawWidget
             (QPaintDevice*, QRegion const&, QPoint const&, int,
             QPainter*, QWidgetBackingStore*)
             (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==12730==    by 0x56DA534: QWidgetPrivate::paintSiblingsRecursive
             (QPaintDevice*, QList<QObject*> const&, int, QRegion const&,
             QPoint const&, int, QPainter*, QWidgetBackingStore*)
             (in /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6)
==12730==  Address 0x2b8 is not stack'd, malloc'd or (recently) free'd


Further system information:

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xdrawchem depends on:
ii  libc6           2.19-11
ii  libgcc1         1:4.9.1-4
ii  libopenbabel4   2.3.2+dfsg-1.4
ii  libqt4-network  4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqt4-xml      4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtcore4      4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libqtgui4       4:4.8.6+git64-g5dc8b2b+dfsg-2
ii  libstdc++6      4.9.1-4

xdrawchem recommends no packages.

xdrawchem suggests no packages.



I hope that helps! :-)

Cheers,
Martin

--- End Message ---
--- Begin Message ---
Source: xdrawchem
Source-Version: 2.0-3

We believe that the bug you reported is fixed in the latest version of
xdrawchem, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
[email protected] (supplier of updated xdrawchem package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 05 Oct 2014 18:30:38 +0200
Source: xdrawchem
Binary: xdrawchem
Architecture: source amd64
Version: 2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Georges Khaznadar <[email protected]>
Changed-By: [email protected]
Description:
 xdrawchem  - Chemical structures and reactions editor
Closes: 763037
Changes:
 xdrawchem (2.0-3) unstable; urgency=medium
 .
   * changed my DEBEMAIL
   * applied Martin Steghöfer's patch: Closes: #763037
   * updated debhelper's b-dependency to 9, Standards-Version to 3.9.5
   * stripped trailing white spaces in this file
   * removed extra-license-files
   * activated dpkg-buildflags to harden the code
   * fixed short names with spaces from d/copyright
Checksums-Sha1:
 a0b573454da54ebb7c78e04fa4b4ee342be2e947 1777 xdrawchem_2.0-3.dsc
 e10d5d533ed045ca089139ef9f92bf10b4498b0d 8932 xdrawchem_2.0-3.debian.tar.xz
 b7e26110585c562c709e8f961f1ccdf27f61db9c 543426 xdrawchem_2.0-3_amd64.deb
Checksums-Sha256:
 f3f60ef6f6b89a4e5d80b691fd4381a8a57b8901d304754d12687edf0d695917 1777 
xdrawchem_2.0-3.dsc
 a120976137d8e0b8a6a3c831ca4f5711df3ba38c0f848df34677f63f4d241f45 8932 
xdrawchem_2.0-3.debian.tar.xz
 2669b6d99abebc15c6a97b82f081113adbd1eea5de5617c2b549de0060bebc03 543426 
xdrawchem_2.0-3_amd64.deb
Files:
 c69f4b95562316d569d0e660dc1e051c 543426 science optional 
xdrawchem_2.0-3_amd64.deb
 d4a5cb553fd44bf9a62dd48f817a2bd0 1777 science optional xdrawchem_2.0-3.dsc
 4cad98c93766e6bf2a9385f3f58b7409 8932 science optional 
xdrawchem_2.0-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVDGTJRwoFpBxNq45AQhv6g//frwInzorgIyLAnvqf1ek2J6gz3QcNcy+
4QTm0D8BgJ+jIKoe8VQJ3yAmyzhSiBSH0UsJ0yA6SDBrg9BA5kYPtIujGirQMttd
GqLt2yp4AfEz7X4Yqtp230/jB/sMMD1Z6INqgAoMroN0sU6UiMoTtiKtr0nIH6xJ
DoYOJj2ZGipjRFDrrR4MpfC0zG2POG6DzZGj3elWCpz0ZFCQj/YeJWfHaeOHLY9e
sOr0zdM0svcjLAnHgwa8KNJxc5zFZ2GiNnktboyRqUS+ho61Z0XirSa0fntONH0a
wX63dlqSIJWlT09FORWhUyIj88v2PCX/6qFet+DX9AgxvcFwHBgVfkONH7cZP8h1
HkrrVAWI11+AD8z8EsD8l736s0V5Upx+1uXDKHBobN1sIe4JZRI27n9U3E26Obay
+R7U1mZHpWNCsseIeWJ87UhRqL3hz8WEfzPBCL5M99czq9CCAGhGNQ93Hy/P+sXd
XSYuqoS/K+q56rcmqHEGgigjVsyJEMj4/jYHjvo0twB7CPcBA9dfN22JGWPbGwO2
u10n5BNZ+e0CPRKdlqOHMVhLk/b2BMW1FKAWxbYEFJpcDKtyNY4ftHoCtwfZUs8Q
iDAatB3vmQ6ck3Zy78Y2h47K9qR2EoIEBu8hupLr2zWroZ818BN58CBccxZ4JrDT
lPWMZSioRRU=
=PAfT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to