QCAD Bugtracker

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
  • Operating System OpenSUSE Linux
  • Severity Low
  • Priority Very Low
  • Reported Version 3.0.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Pascal VOLAT - 10.08.2012
Last edited by Andrew - 10.08.2012

FS#668 - QCAD sefaulting under OpenSUSE 12.1 64bit (wrong or broken package installed?)

I installed the professional edition of QCAD 3.0 on a fresh OpenSUSE 12.1/x86_64 system. After installing the 32bit freeglut (freeglut-32bit-100529-8.1.2.x86_64) package, the application still won’t start and fails with a sefault :

/opt/qcad-3.0.0-prof-linux-x86> ./qcad
./qcad : line 38 : 5843 Segmentation fault LD_LIBRARY_PATH=”$DIR” “$binary” $OPT1 $OPT2 “$@”

/opt/qcad-3.0.0-prof-linux-x86> LD_LIBRARY_PATH=. ./qcad-bin -style plastic
Segmentation fault

Here is a gdb backtrace, hoping that it may help diagnose the problem :
(gdb) bt
#0 0x09af5d81 in ?? ()
#1 0xf4b2ddbf in FT_Has_PS_Glyph_Names () from /usr/lib/libfreetype.so.6
#2 0xf4babe44 in ?? () from /usr/lib/libfontconfig.so.1
#3 0xf4bac91e in FcFreeTypeCharSetAndSpacing () from /usr/lib/libfontconfig.so.1
#4 0xf4badf53 in FcFreeTypeQueryFace () from /usr/lib/libfontconfig.so.1
#5 0xf4bae654 in FcFreeTypeQuery () from /usr/lib/libfontconfig.so.1
#6 0xf4ba9509 in ?? () from /usr/lib/libfontconfig.so.1
#7 0xf4ba987d in ?? () from /usr/lib/libfontconfig.so.1
#8 0xf4ba9a57 in ?? () from /usr/lib/libfontconfig.so.1
#9 0xf4ba59d1 in ?? () from /usr/lib/libfontconfig.so.1
#10 0xf4ba5c86 in FcConfigBuildFonts () from /usr/lib/libfontconfig.so.1
#11 0xf4baebac in FcInitLoadConfigAndFonts () from /usr/lib/libfontconfig.so.1
#12 0xf4baee1d in FcInit () from /usr/lib/libfontconfig.so.1
#13 0xf53537e1 in qt_init(QApplicationPrivate*, int, _XDisplay*, unsigned long, unsigned long) ()

 from ./libQtGui.so.4

#14 0xf52d5db8 in QApplicationPrivate::construct(_XDisplay*, unsigned long, unsigned long) ()

 from ./libQtGui.so.4

#15 0xf52d649a in QApplication::QApplication(int&, char**, bool, int) () from ./libQtGui.so.4
#16 0x08b59746 in ?? ()
#17 0x08171cd6 in ?? ()
#18 0xf4bf6003 in __libc_start_main () from /lib/libc.so.6
#19 0×08171701 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

libfreetype installed version is libfreetype6-32bit-2.4.7-6.1.x86_64

Closed by  Andrew
10.08.2012 15:03
Reason for closing:  Not a bug
Additional comments about closing:  

Issue with OTF font files / freetype.

Andrew commented on 10.08.2012 14:03

Unable to reproduce here on a fresh installation of OpenSUSE 12.1 64 bit.

Please find attached a list of 32bit packages installed on my system. Most of them were either installed by default or as dependency of these three packages I had to install manually:

Andrew commented on 10.08.2012 14:04

Note that I did NOT install any packages called "*freeglut-32bit*"

Pascal VOLAT commented on 10.08.2012 14:57

Ok, I looked a bit more into this and with strace noticed that the culprit were OTF font loaded by freetype. This looks like a distro bug, thanks for your package list and time!

Andrew commented on 10.08.2012 15:02

Thanks for the feedback on OTF fonts. This might help some other people with similar issues. I will close this task.


Available keyboard shortcuts


Task Details

Task Editing