[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#219214: marked as done (scribus: Crash with get-text after opening scd file)



Your message dated Sun, 29 Feb 2004 21:32:04 -0500
with message-id <E1AxdDw-0008Sc-00@newraff.debian.org>
and subject line Bug#219214: fixed in scribus 1.2.0.cvs20040228-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Nov 2003 05:43:32 +0000
>From don_reid@comcast.net Tue Nov 04 23:43:30 2003
Return-path: <don_reid@comcast.net>
Received: from rwcrmhc12.comcast.net [216.148.227.85] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AHGS2-0006sy-00; Tue, 04 Nov 2003 23:43:30 -0600
Received: from reid1.reid.corvallis.or.us (12-203-36-27.client.attbi.com[12.203.36.27])
          by comcast.net (rwcrmhc12) with ESMTP
          id <20031105054330014001jsg4e>; Wed, 5 Nov 2003 05:43:30 +0000
Received: by reid1.reid.corvallis.or.us (Postfix, from userid 501)
	id 3743CD652; Tue,  4 Nov 2003 21:31:32 -0800 (PST)
From: family <don_reid@comcast.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: scribus: Crash with get-text after opening scd file
X-Mailer: reportbug 1.50
Date: Tue, 04 Nov 2003 21:31:32 -0800
Message-Id: <20031105053132.3743CD652@reid1.reid.corvallis.or.us>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0
	tests=HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_11_03
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_03 (1.174.2.15-2003-03-30-exp)

Package: scribus
Version: 1.0.1-1
Severity: normal

I can repaet this crash with the following:

 1) Create a new document using defaults.

 2) Save as scd file.

 3) Close.

 4) Open scd file.

 5) Add text rectangle.

 6) <right> Get Text ..., select any text file.

 7) Program crashes.

Backtrace in gdb shows null value in "fo" in util.cpp:Cwidth returned from
call to "(*doc->AllFonts)[name]" (at stack frame #2).

This code looks the same in the current CVS version.  

I don't know very much about this program or its data, so I cannot tell
if it expected that this is not null.  It is certainly good programing
practice to check before using it.


-- Detailed gbd info: 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 13290)]
0x08179841 in QMap<unsigned int, float>::end (this=0x18)
    at /usr/include/qt/qmap.h:639
639		return ((const Priv*)sh)->end();
(gdb) bt
#0  0x08179841 in QMap<unsigned int, float>::end (this=0x18)
    at /usr/include/qt/qmap.h:639
#1  0x081795b0 in QMap<unsigned int, float>::contains (this=0x18, 
    k=@0xbfffe908) at /usr/include/qt/qmap.h:727
#2  0x081762f6 in Cwidth (doc=0x83a3100, p=0xbffff09c, name=
      {static null = {static null = <same as static member of an already seen type>, d = 0x825cf90, static shared_null = 0x825cf90}, d = 0xbfffee5c, static shared_null = 0x825cf90}, ch=
      {static null = {static null = <same as static member of an already seen type>, d = 0x825cf90, static shared_null = 0x825cf90}, d = 0xbfffee58, static shared_null = 0x825cf90}, Siz=12, ch2=
      {static null = {static null = <same as static member of an already seen type>, d = 0x825cf90, static shared_null = 0x825cf90}, d = 0xbfffee68, static shared_null = 0x825cf90}) at util.cpp:696
#3  0x081e3df7 in PageItem::paintObj (this=0x83abaf0, e=
      {x1 = 38, y1 = 146, x2 = 607, y2 = 411}, ppX=0x0) at pageitem.cpp:749
#4  0x080e8b31 in Page::DrawPageItems (this=0x839ade0, e=0xbffff734)
    at page.cpp:500
#5  0x080ea302 in Page::paintEvent (this=0x839ade0, e=0xbffff734)
    at page.cpp:695
#6  0x402e0ea5 in QWidget::event () from /usr/lib/libqt-mt.so.3
#7  0x40257763 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#8  0x40257604 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#9  0x40208bb3 in QETWidget::translatePaintEvent () from /usr/lib/libqt-mt.so.3
#10 0x40203f7d in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#11 0x40202e0e in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.3
#12 0x40258b8f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#13 0x40202d7b in QApplication::exec () from /usr/lib/libqt-mt.so.3
#14 0x0823180c in main (argc=1, argv=0xbffffb74) at main.cpp:152
(gdb) f 2
#2  0x081762f6 in Cwidth (doc=0x839dcb0, p=0xbffff03c, name=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x825cf90, static shared_null = 0x825cf90}, d =
0xbfffedfc, static shared_null = 0x825cf90}, ch=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x825cf90, static shared_null = 0x825cf90}, d =
0xbfffedf8, static shared_null = 0x825cf90}, Siz=12, ch2=
      {static null = {static null = <same as static member of an already
seen type>, d = 0x825cf90, static shared_null = 0x825cf90}, d =
0xbfffee08, static shared_null = 0x825cf90}) at util.cpp:696
696		if (fo->CharWidth.contains(c1))
(gdb) p fo
$1 = (Foi *) 0x0


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux reid1 2.4.21 #3 SMP Mon Oct 20 19:50:08 PDT 2003 i686
Locale: LANG=C, LC_CTYPE=

Versions of packages scribus depends on:
ii  gs                    7.05-1             The Ghostscript Postscript interpr
ii  gs-esp                7.05.4-1           The Ghostscript Postscript interpr
ii  gs-esp [gs]           7.05.4-1           The Ghostscript Postscript interpr
ii  libc6                 2.3.1-9            GNU C Library: Shared libraries an
ii  libfreetype6          2.1.2-9            FreeType 2 font engine, shared lib
ii  libpng3               1.2.1-1.1.woody.3  PNG library - runtime
ii  libqt3-mt             2:3.0.3-20020329-1 Qt GUI Library (Threaded runtime v
ii  libstdc++2.10-glibc2. 1:2.95.4-11woody1  The GNU stdc++ library
ii  libtiff3g             3.5.5-6            Tag Image File Format library
ii  xlibs                 4.2.1-3            X Window System client libraries
ii  zlib1g                1:1.1.4-6          compression library - runtime


---------------------------------------
Received: (at 219214-close) by bugs.debian.org; 1 Mar 2004 02:38:03 +0000
>From katie@ftp-master.debian.org Sun Feb 29 18:38:03 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AxdJj-0007GW-00; Sun, 29 Feb 2004 18:38:03 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1AxdDw-0008Sc-00; Sun, 29 Feb 2004 21:32:04 -0500
From: Oleksandr Moskalenko <malex@tagancha.org>
To: 219214-close@bugs.debian.org
X-Katie: $Revision: 1.44 $
Subject: Bug#219214: fixed in scribus 1.2.0.cvs20040228-2
Message-Id: <E1AxdDw-0008Sc-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 29 Feb 2004 21:32:04 -0500
Delivered-To: 219214-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_27 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-bugs.debian.org_2004_02_27
X-Spam-Level: 

Source: scribus
Source-Version: 1.2.0.cvs20040228-2

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

scribus_1.2.0.cvs20040228-2.diff.gz
  to pool/main/s/scribus/scribus_1.2.0.cvs20040228-2.diff.gz
scribus_1.2.0.cvs20040228-2.dsc
  to pool/main/s/scribus/scribus_1.2.0.cvs20040228-2.dsc
scribus_1.2.0.cvs20040228-2_i386.deb
  to pool/main/s/scribus/scribus_1.2.0.cvs20040228-2_i386.deb
scribus_1.2.0.cvs20040228.orig.tar.gz
  to pool/main/s/scribus/scribus_1.2.0.cvs20040228.orig.tar.gz



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 219214@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Oleksandr Moskalenko <malex@tagancha.org> (supplier of updated scribus 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 29 Feb 2004 17:30:08 -0500
Source: scribus
Binary: scribus
Architecture: source i386
Version: 1.2.0.cvs20040228-2
Distribution: unstable
Urgency: low
Maintainer: Oleksandr Moskalenko <malex@tagancha.org>
Changed-By: Oleksandr Moskalenko <malex@tagancha.org>
Description: 
 scribus    - a free software desktop page layout program
Closes: 201801 202476 202481 202952 216829 217683 219214 226113 226348
Changes: 
 scribus (1.2.0.cvs20040228-2) unstable; urgency=low
 .
   * debian/rules: revert back to installing scribus-debian.xpm for menu icon
     as some of the more lightweight window managers have a problem with .png
   * debian/scribus.menu: Use scribus-debian.xpm as a menu icon
   * debian/scribus.desktop: Use scribus-debian.xpm as a menu icon
   * debian/lintian-overrides: remove the .png icon warning override
 .
 scribus (1.2.0.cvs20040228-1) unstable; urgency=low
 .
   * New upstream cvs release on 2004-02-27.
 .
 scribus (1.2.0.cvs20040225-2) unstable; urgency=low
 .
   * debian/rules: install distribution changelog and cvs changelog separately.
 .
 scribus (1.2.0.cvs20040225-1) unstable; urgency=low
 .
   * New upstream cvs release on 2004-02-25.
   * debian/scribus.desktop: Fixed mime-type problem.
   * debian/rules: Use scribus.png as the menu icon instead of scribus-debian.xpm.
   * debian/scribus.menu: Use scribus.png as the menu icon.
   * debian/rules: Use DEB_HOST_GNU_TYPE compile flag selection again.
 .
 scribus (1.2.0.cvs20040224-2) unstable; urgency=low
 .
   * Added "-g -Wall" CFLAGS flags per Debian Policy 10.1
 .
 scribus (1.2.0.cvs20040224-1) unstable; urgency=low
 .
   * New upstream cvs release on 2004-02-24.
   * debian/scribus.links. Changed the /usr/share/doc/scribus/en symlink to
     point to the new location of Scripter docs in /usr/share/scribus/doc/en/
 .
 scribus (1.2.0.cvs20040223-2) unstable; urgency=low
 .
   * Added lintian-overrides as the library permissions must be 755 per
     upstream policy.
   * debian/rules:
     + install:
       - Added rules to install the lintian overrides file.
     + make variables:
       - Added support for DEB_BUILD_OPTIONS (noopt and nostrip). Done with
         help from jello (Joe Nahmias) and beta3 from #debian-mentors.
 .
 scribus (1.2.0.cvs20040223-1) unstable; urgency=low
 .
   * New upstream cvs release on 2004-02-23.
   * README.Debian: Made a note about the freetype being the source of the bug
     in font outline handling.
 .
 scribus (1.2.0.cvs20040221-1) unstable; urgency=low
 .
   * New upstream cvs release on 2004-02-21.
   * scribus.uk.ts and scribus.uk.qm: Updated Ukrainian translation.
   * /usr/share/doc/scribus/changelog.gz. Combined release and cvs changelogs.
   * Added debian/README.Debian to note font outline issues.
 .
 scribus (1.2.0.cvs20040219-1) unstable; urgency=low
 .
   * New upstream cvs release on 2004-02-19 (Closes: #217683).
   * Fixed a typo in scribus/Makefile that prevented "make dist" from upstream
     cvs sources.
   * File->New if dir set in path->icc profiles crash was fixed upstream
     (Closes: #226113).
   * User defined styles can now be applied from the Properties Palette, or
     from within the Story Editor (Closes: #201801).
   * Corner radius setting now honors the default units (Closes: #202952).
   * Page menu is now accessible while editing a template (Closes: #202476).
   * Inserting text into a frame in a reopened .scd file crash has been fixed
     upstrem (Closes: #219214).
   * Default button in the Edit->Paragraph Styles... is "OK" (Closes: #202481).
   * Scribus uses fonts provided by Defoma now (Closes: #216829).
   * Added debian/debian.desktop for Gnome menu (Closes: #226348).
   * Added debian/scribus.doc-base for inclusion into doc-base per
     recommendation of Frank Lichtenheld
   * Added debian/scribus.links for proper creation of a link from
     /usr/lib/scribus/doc/en/ to /usr/share/doc/scribus/en during the build.
   * debian/rules: use ./configure --with-qt-dir as a more general way to
     include qt3 headers per recommendation of Chris Cheney on #debian-kde.
   * debian/scribus.menu: changed needs=X11 -> needs="X11" per recommendation
     of Frank Lichtenheld <djpig@debian.org>.
   * debian/rules: deleted commented lines to make file more readable per
     recommendation of Frank Lichtenheld.
   * debian/control:
     + Build-depends:
       -  gcc (>=3.2.0) instead of c++-compiler per upstream recommendation.
       -  added libfreetype6-dev (>= 3.1.3) per upstream recommendation.
       -  added autoconf (>=2.57) per upstream recommendation.
       -  added automake1.7 (>=1.7) per upstream recommendation.
     + Depends:
       -  gs (>= 7.07) instead of 5.50 per upstream recommendation.
       -  gs-aladdin (>= 7.04) instead of 5.50 per upstream recommendation.
       -  gs-esp (>= 7.07) instead of 7.05 per upstream recommendation.
   * debian/scribus.1: Rewrote the manpage. More works needs to be done, yet.
   * debian/copyright: Added instructions on CVS checkout. Updated copyright
     date from -2003 to -2004. Added translators.
Files: 
 00d3ce00be9fbfdd3449da167ca0f0a0 892 graphics optional scribus_1.2.0.cvs20040228-2.dsc
 deca170c22cb95dc34d848c8063e1d19 2680641 graphics optional scribus_1.2.0.cvs20040228.orig.tar.gz
 7e74ae53fbfd537a46b495e3c0690175 90651 graphics optional scribus_1.2.0.cvs20040228-2.diff.gz
 aa54817b0ccbd82cfee81721a015d324 2429284 graphics optional scribus_1.2.0.cvs20040228-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAQprqQbn06FtxPfARAqUGAKCiOFvw9y7k/yxw0LW2nUSjqGvBuwCg1mrY
5YF0dcxjAzsbDR/D3eC3m24=
=b4rq
-----END PGP SIGNATURE-----



Reply to: