Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70641 - qcad seg faults on load of drawing with fills
Summary: qcad seg faults on load of drawing with fills
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 01:24 UTC by Eske Christiansen
Modified: 2004-11-11 06:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
a simple qcad drawing with fill (test1.dxf,11.86 KB, text/plain)
2004-11-11 02:12 UTC, Eske Christiansen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eske Christiansen 2004-11-10 01:24:55 UTC
if a drawing contains a object with fill and the drawing is saved and qcad quit it will on open or startop seg. fault. A solution to this is run it throug gdb but then the fills is removed.

Reproducible: Always
Steps to Reproduce:
1. make a retangel
2. insert fill into it
3. save and quit
4. start qcad
5. open drawing

Actual Results:  
seg fault

Expected Results:  
well a drawing with the fills
Comment 1 Eske Christiansen 2004-11-10 02:25:19 UTC
when build direct from source on mac os x it does not crash with this error but build direct from source on gentoo makes it crash
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-11 01:38:04 UTC
I can't reproduce your problem. Perhaps it would be helpful if you could tell your "emerge info" output and the versions of QCad you are using.
Comment 3 Eske Christiansen 2004-11-11 01:59:22 UTC
emerge info gives:
amigos23 root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/data/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://rsync.gentoo.diku.dk/ http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.diku.dk/gentoo-portage"
USE="X Xaw3d aalib alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77 fam flac foomaticdb gdbm gif gnome gpm gtk gtk2 icc imagemagick imlib java jpeg junit kde libg++ libwww mad matrox mikmod motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang speex spell ssh ssl svga tcpd tetex tiff truetype x86 xml xml2 xmms xv zlib video_cards_matrox"


the version of qcad I use is:
  app-sci/qcad
      Latest version available: 2.0.3.1-r1
      Latest version installed: 2.0.3.1-r1
      Size of downloaded files: 4,571 kB
      Homepage:    http://www.ribbonsoft.com/qcad.html
      Description: A 2D CAD package based upon Qt.
      License:     GPL-2

the strange part is at if is run gdb /usr/bin/qcad.bin and open the drawing it does not sigfault but it opens the drawing without the fills.
Comment 4 Eske Christiansen 2004-11-11 02:12:04 UTC
Created attachment 43711 [details]
a simple qcad drawing with fill

I have included a simple drawing that makes qcad sig fault. it is a box with
fills
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2004-11-11 04:43:13 UTC
Could reproduce the crash with the version you mentioned. Loads fine with 2.0.4.0, tough. Please give this version a try.
Comment 6 Eske Christiansen 2004-11-11 06:05:19 UTC
yes with 2.0.4.0 i works as expected and I can not reproduce the error.