This effects, qgo-1.0.2, qgo-1.0.3, and qgo-1.03-R2, etc. Here is the relevant debugging information:
glibc-2.3.5
xorg-6.8.2
qt-3.3.4
kdelibs-3.4.3
Here's the gdb output:
~ $ gdb -e qgo
Program received signal SIGSEGV, Segmentation fault.
0x080c1b31 in ?? ()
(gdb) bt
#0 0x080c1b31 in ?? ()
#1 0xbfca4970 in ?? ()
#2 0xbfca4990 in ?? ()
#3 0xbfca4980 in ?? ()
#4 0xbfca49a4 in ?? ()
#5 0x00000001 in ?? ()
#6 0xb74077d1 in _IO_list_resetlock () from /lib/libc.so.6
#7 0xb7db0386 in qWarning () from /usr/lib/libqt-mt.so.3
#8 0xb7dd8ea6 in QSettings::sync () from /usr/lib/libqt-mt.so.3
#9 0xb7dd9772 in QSettings::~QSettings () from /usr/lib/libqt-mt.so.3
#10 0xb7d990d1 in QComLibrary::createInstanceInternal () from /usr/lib/libqt-mt.so.3
#11 0xb7d99389 in QComLibrary::queryInterface () from /usr/lib/libqt-mt.so.3
#12 0xb7db0e71 in QGPluginManager::addLibrary () from /usr/lib/libqt-mt.so.3
#13 0xb7db2a08 in QGPluginManager::library () from /usr/lib/libqt-mt.so.3
#14 0xb7db3379 in QGPluginManager::queryUnknownInterface () from /usr/lib/libqt-mt.so.3
#15 0xb7dfd893 in QStyleFactory::create () from /usr/lib/libqt-mt.so.3
#16 0xb7a8107b in QApplication::style () from /usr/lib/libqt-mt.so.3
#17 0x08081afc in ?? ()
#18 0xbfca7570 in ?? ()
#19 0xbfca7600 in ?? ()
#20 0xbfca7684 in ?? ()
#21 0xbfca74c0 in ?? ()
#22 0x06859205 in ?? ()
#23 0xbfca74f0 in ?? ()
#24 0xb75e6520 in ?? ()
#25 0xb7508a09 in ?? () from /usr/lib/libstdc++.so.6
#26 0xb75b3a5c in typeinfo for std::locale::facet () from /usr/lib/libstdc++.so.6
#27 0xb75c2e57 in pthread_mutex_lock () from /lib/libpthread.so.0
#28 0xb73bbe0f in __libc_start_main () from /lib/libc.so.6
#29 0x08061541 in ?? ()
And here's the valgrind output:
~ $ valgrind --leak-check=full qgo
==22404== Memcheck, a memory error detector.
==22404== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==22404== Using LibVEX rev 1367, a library for dynamic binary translation.
==22404== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==22404== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==22404== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==22404== For more details, rerun with: -v
==22404==
==22404== Invalid read of size 4
==22404== at 0x80C1B31: (within /usr/bin/qgo)
==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x8081AFB: (within /usr/bin/qgo)
==22404== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==22404==
==22404== Process terminating with default action of signal 11 (SIGSEGV)
==22404== Access not within mapped region at address 0x0
==22404== at 0x80C1B31: (within /usr/bin/qgo)
==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x8081AFB: (within /usr/bin/qgo)
==22404==
==22404== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 74 from 3)
==22404== malloc/free: in use at exit: 246740 bytes in 5623 blocks.
==22404== malloc/free: 45082 allocs, 39459 frees, 2070400 bytes allocated.
==22404== For counts of detected errors, rerun with: -v
==22404== searching for pointers to 5623 not-freed blocks.
==22404== checked 955452 bytes.
==22404==
==22404==
==22404== 216 bytes in 1 blocks are definitely lost in loss record 272 of 355
==22404== at 0x1B8FF8A1: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so)
==22404== by 0x1C979555: _XimOpenIM (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2)
==22404== by 0x1C25C87D: (within /usr/X11R6/lib/libX11.so.6.2)
==22404== by 0x1C9790E9: _XimRegisterIMInstantiateCallback (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2)
==22404== by 0x1C25C99B: (within /usr/X11R6/lib/libX11.so.6.2)
==22404== by 0x1C22BE27: XRegisterIMInstantiateCallback (in /usr/X11R6/lib/libX11.so.6.2)
==22404== by 0x1BADCA74: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BADE0D5: qt_init(int*, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB47016: QApplication::construct(int&, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB473F4: QApplication::QApplication(int&, char**) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x8081AF6: (within /usr/bin/qgo)
==22404== by 0x1C3EBE0E: __libc_start_main (in /lib/libc-2.3.5.so)
==22404==
==22404== LEAK SUMMARY:
==22404== definitely lost: 216 bytes in 1 blocks.
==22404== possibly lost: 0 bytes in 0 blocks.
==22404== still reachable: 246524 bytes in 5622 blocks.
==22404== suppressed: 0 bytes in 0 blocks.
==22404== Reachable blocks (those to which a pointer was found) are not shown.
==22404== To see them, rerun with: --show-reachable=yes
Segmentation fault
This effects, qgo-1.0.2, qgo-1.0.3, and qgo-1.03-R2, etc. Here is the relevant debugging information:
glibc-2.3.5
xorg-6.8.2
qt-3.3.4
kdelibs-3.4.3
Here's the gdb output:
~ $ gdb -e qgo
Program received signal SIGSEGV, Segmentation fault.
0x080c1b31 in ?? ()
(gdb) bt
#0 0x080c1b31 in ?? ()
#1 0xbfca4970 in ?? ()
#2 0xbfca4990 in ?? ()
#3 0xbfca4980 in ?? ()
#4 0xbfca49a4 in ?? ()
#5 0x00000001 in ?? ()
#6 0xb74077d1 in _IO_list_resetlock () from /lib/libc.so.6
#7 0xb7db0386 in qWarning () from /usr/lib/libqt-mt.so.3
#8 0xb7dd8ea6 in QSettings::sync () from /usr/lib/libqt-mt.so.3
#9 0xb7dd9772 in QSettings::~QSettings () from /usr/lib/libqt-mt.so.3
#10 0xb7d990d1 in QComLibrary::createInstanceInternal () from /usr/lib/libqt-mt.so.3
#11 0xb7d99389 in QComLibrary::queryInterface () from /usr/lib/libqt-mt.so.3
#12 0xb7db0e71 in QGPluginManager::addLibrary () from /usr/lib/libqt-mt.so.3
#13 0xb7db2a08 in QGPluginManager::library () from /usr/lib/libqt-mt.so.3
#14 0xb7db3379 in QGPluginManager::queryUnknownInterface () from /usr/lib/libqt-mt.so.3
#15 0xb7dfd893 in QStyleFactory::create () from /usr/lib/libqt-mt.so.3
#16 0xb7a8107b in QApplication::style () from /usr/lib/libqt-mt.so.3
#17 0x08081afc in ?? ()
#18 0xbfca7570 in ?? ()
#19 0xbfca7600 in ?? ()
#20 0xbfca7684 in ?? ()
#21 0xbfca74c0 in ?? ()
#22 0x06859205 in ?? ()
#23 0xbfca74f0 in ?? ()
#24 0xb75e6520 in ?? ()
#25 0xb7508a09 in ?? () from /usr/lib/libstdc++.so.6
#26 0xb75b3a5c in typeinfo for std::locale::facet () from /usr/lib/libstdc++.so.6
#27 0xb75c2e57 in pthread_mutex_lock () from /lib/libpthread.so.0
#28 0xb73bbe0f in __libc_start_main () from /lib/libc.so.6
#29 0x08061541 in ?? ()
And here's the valgrind output:
~ $ valgrind --leak-check=full qgo
==22404== Memcheck, a memory error detector.
==22404== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==22404== Using LibVEX rev 1367, a library for dynamic binary translation.
==22404== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==22404== Using valgrind-3.0.1, a dynamic binary instrumentation framework.
==22404== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==22404== For more details, rerun with: -v
==22404==
==22404== Invalid read of size 4
==22404== at 0x80C1B31: (within /usr/bin/qgo)
==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x8081AFB: (within /usr/bin/qgo)
==22404== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==22404==
==22404== Process terminating with default action of signal 11 (SIGSEGV)
==22404== Access not within mapped region at address 0x0
==22404== at 0x80C1B31: (within /usr/bin/qgo)
==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x8081AFB: (within /usr/bin/qgo)
==22404==
==22404== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 74 from 3)
==22404== malloc/free: in use at exit: 246740 bytes in 5623 blocks.
==22404== malloc/free: 45082 allocs, 39459 frees, 2070400 bytes allocated.
==22404== For counts of detected errors, rerun with: -v
==22404== searching for pointers to 5623 not-freed blocks.
==22404== checked 955452 bytes.
==22404==
==22404==
==22404== 216 bytes in 1 blocks are definitely lost in loss record 272 of 355
==22404== at 0x1B8FF8A1: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so)
==22404== by 0x1C979555: _XimOpenIM (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2)
==22404== by 0x1C25C87D: (within /usr/X11R6/lib/libX11.so.6.2)
==22404== by 0x1C9790E9: _XimRegisterIMInstantiateCallback (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2)
==22404== by 0x1C25C99B: (within /usr/X11R6/lib/libX11.so.6.2)
==22404== by 0x1C22BE27: XRegisterIMInstantiateCallback (in /usr/X11R6/lib/libX11.so.6.2)
==22404== by 0x1BADCA74: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BADE0D5: qt_init(int*, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB47016: QApplication::construct(int&, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x1BB473F4: QApplication::QApplication(int&, char**) (in /usr/lib/libqt-mt.so.3.3.4)
==22404== by 0x8081AF6: (within /usr/bin/qgo)
==22404== by 0x1C3EBE0E: __libc_start_main (in /lib/libc-2.3.5.so)
==22404==
==22404== LEAK SUMMARY:
==22404== definitely lost: 216 bytes in 1 blocks.
==22404== possibly lost: 0 bytes in 0 blocks.
==22404== still reachable: 246524 bytes in 5622 blocks.
==22404== suppressed: 0 bytes in 0 blocks.
==22404== Reachable blocks (those to which a pointer was found) are not shown.
==22404== To see them, rerun with: --show-reachable=yes
Segmentation fault
yes, i am being serious.
with a little tweaking, i got qGo to compile on XP using ws.net2003 and qt3.2.1[nc] - and it works sweet.
now for the issues - and some of them are valid.
first compile spat out these 5 errors:
imagehandler.cpp(131) : error C2668: 'sqrt' : ambiguous call to overloaded functionimagehandler.cpp(196) : error C2668: 'sqrt' : ambiguous call to overloaded functionimagehandler.cpp(273) : error C2668: 'sqrt' : ambiguous call to overloaded function
all lines of which read :
double di, dj, d2=(double)d/2.0-5e-1, r=d2-2e-1, f=sqrt(3);
i got around this by (naively) changing it to f=sqrt(3.0).
if it compiles, it must work, right?
as well as these errors
tree.cpp(8) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directorymatrix.cpp(8) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
both of which read
#include <iostream.h>
this is a valid point - that .h shouldn't be there, so i remove it from both lines.
and compile again. this time i hit 31 errors.
matrix.cpp(83) : error C2065: 'cout' : undeclared identifier
and 29 x
matrix.cpp(84) : error C3861: 'cout': identifier not found, even with argument-dependent lookup
all lines of which try to use cout directly. i s&r with std::cout.
finally,
.\qgo.rc(1) : error RC2135 : file not found: pics/Bowl.ico
which reads
IDI_ICON1 ICON DISCARDABLE "pics/Bowl.ico"
looking in the /pics directory i notice that there is no Bowl.ico, but rather a bowl.png. i also notice a very smart qgo.ico, so i change the referance to this instead.
this time the compile goes through fine and the game runs 100%
very cool game, btw.
but hey, i'm a 31kyu so what would i know... ;)
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
so of course I get
cd .. && /home/mobtek/apps/qgo-0.2/admin/missing automake-1.4 --gnu --include-deps qgo/Makefile
WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your
why is this? the export command suggested makes no difference. I'm using automake (GNU automake) 1.8.3 on kde 3.2.2 compiled from konstruct.
cheers mob
Have Fedora Core 1 2.4.22. When run configure get error
Can't find X includes. Please check your installation and add the correct paths!
so no makefile created. Now what?
Try installing xfree86-devel rpm package, that should do it. And am I to understand that everyone else had no problem installing since noone has answered my question? :)
configure went ok but when I start make this is what happens:
bash-2.05a$ make
make all-recursive
make[1]: Entering directory `/home/mina/garage/applications/qgo-0.1.3'
Making all in qgo
make[2]: Entering directory `/home/mina/garage/applications/qgo-0.1.3/qgo'
cd .. && /home/mina/garage/applications/qgo-0.1.3/admin/missing automake-1.4 --gnu --include-deps qgo/Makefile
WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your
system. You might have modified some files without having the
proper tools for further handling them. Check the `README' file,
it often tells you about the needed prerequirements for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing `automake-1.4' program.
make[2]: *** [Makefile.in] Error 1
make[2]: Leaving directory `/home/mina/garage/applications/qgo-0.1.3/qgo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mina/garage/applications/qgo-0.1.3'
make: *** [all-recursive-am] Error 2
bash-2.05a$
I have automake-1.7 installed and I even made symlink automake-1.4 to point automake-1.7.
Any ideas? Because I don't have any, maybe because it's 6 in the morning and I haven't slept a bit.... :)
Yes, I just got this too, also with automake 1.7.
Looks like the automake version being looked for is hardcoded in the configure script, at line 688:
am__api_version="1.4"
If I change this to be "1.7" and rerun configure, then making gives me this:
$ make
make all-recursive
make[1]: Entering directory `/home/blah/qgo-0.1.3'
Making all in qgo
make[2]: Entering directory `/home/blah/qgo-0.1.3/qgo'
cd .. && automake-1.7 --gnu --include-deps qgo/Makefile
configure.in:63: error: m4_popdef: undefined macro: AC_Dest
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:63: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
configure.in: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal).
configure.in: required file `./install-sh' not found
configure.in: required file `./mkinstalldirs' not found
configure.in: required file `./missing' not found
qgo/Makefile.am: required file `./depcomp' not found
/usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
qgo/Makefile.am: C source seen but `CC' is undefined
qgo/Makefile.am:
qgo/Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC'
qgo/Makefile.am: to `configure.in' and run `autoconf' again.
make[2]: *** [Makefile.in] Error 1
make[2]: Leaving directory `/home/blah/qgo-0.1.3/qgo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/blah/qgo-0.1.3'
make: *** [all-recursive-am] Error 2
Ratings & Comments
19 Comments
Fresh qGo RPMs for Mandriva here: http://www.rpgameplace.de/rpms Btw, this is a great Go tutorial for people who have never played Go before (needs Java): http://playgo.to/interactive/
This effects, qgo-1.0.2, qgo-1.0.3, and qgo-1.03-R2, etc. Here is the relevant debugging information: glibc-2.3.5 xorg-6.8.2 qt-3.3.4 kdelibs-3.4.3 Here's the gdb output: ~ $ gdb -e qgo Program received signal SIGSEGV, Segmentation fault. 0x080c1b31 in ?? () (gdb) bt #0 0x080c1b31 in ?? () #1 0xbfca4970 in ?? () #2 0xbfca4990 in ?? () #3 0xbfca4980 in ?? () #4 0xbfca49a4 in ?? () #5 0x00000001 in ?? () #6 0xb74077d1 in _IO_list_resetlock () from /lib/libc.so.6 #7 0xb7db0386 in qWarning () from /usr/lib/libqt-mt.so.3 #8 0xb7dd8ea6 in QSettings::sync () from /usr/lib/libqt-mt.so.3 #9 0xb7dd9772 in QSettings::~QSettings () from /usr/lib/libqt-mt.so.3 #10 0xb7d990d1 in QComLibrary::createInstanceInternal () from /usr/lib/libqt-mt.so.3 #11 0xb7d99389 in QComLibrary::queryInterface () from /usr/lib/libqt-mt.so.3 #12 0xb7db0e71 in QGPluginManager::addLibrary () from /usr/lib/libqt-mt.so.3 #13 0xb7db2a08 in QGPluginManager::library () from /usr/lib/libqt-mt.so.3 #14 0xb7db3379 in QGPluginManager::queryUnknownInterface () from /usr/lib/libqt-mt.so.3 #15 0xb7dfd893 in QStyleFactory::create () from /usr/lib/libqt-mt.so.3 #16 0xb7a8107b in QApplication::style () from /usr/lib/libqt-mt.so.3 #17 0x08081afc in ?? () #18 0xbfca7570 in ?? () #19 0xbfca7600 in ?? () #20 0xbfca7684 in ?? () #21 0xbfca74c0 in ?? () #22 0x06859205 in ?? () #23 0xbfca74f0 in ?? () #24 0xb75e6520 in ?? () #25 0xb7508a09 in ?? () from /usr/lib/libstdc++.so.6 #26 0xb75b3a5c in typeinfo for std::locale::facet () from /usr/lib/libstdc++.so.6 #27 0xb75c2e57 in pthread_mutex_lock () from /lib/libpthread.so.0 #28 0xb73bbe0f in __libc_start_main () from /lib/libc.so.6 #29 0x08061541 in ?? () And here's the valgrind output: ~ $ valgrind --leak-check=full qgo ==22404== Memcheck, a memory error detector. ==22404== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==22404== Using LibVEX rev 1367, a library for dynamic binary translation. ==22404== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==22404== Using valgrind-3.0.1, a dynamic binary instrumentation framework. ==22404== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==22404== For more details, rerun with: -v ==22404== ==22404== Invalid read of size 4 ==22404== at 0x80C1B31: (within /usr/bin/qgo) ==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x8081AFB: (within /usr/bin/qgo) ==22404== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22404== ==22404== Process terminating with default action of signal 11 (SIGSEGV) ==22404== Access not within mapped region at address 0x0 ==22404== at 0x80C1B31: (within /usr/bin/qgo) ==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x8081AFB: (within /usr/bin/qgo) ==22404== ==22404== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 74 from 3) ==22404== malloc/free: in use at exit: 246740 bytes in 5623 blocks. ==22404== malloc/free: 45082 allocs, 39459 frees, 2070400 bytes allocated. ==22404== For counts of detected errors, rerun with: -v ==22404== searching for pointers to 5623 not-freed blocks. ==22404== checked 955452 bytes. ==22404== ==22404== ==22404== 216 bytes in 1 blocks are definitely lost in loss record 272 of 355 ==22404== at 0x1B8FF8A1: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==22404== by 0x1C979555: _XimOpenIM (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2) ==22404== by 0x1C25C87D: (within /usr/X11R6/lib/libX11.so.6.2) ==22404== by 0x1C9790E9: _XimRegisterIMInstantiateCallback (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2) ==22404== by 0x1C25C99B: (within /usr/X11R6/lib/libX11.so.6.2) ==22404== by 0x1C22BE27: XRegisterIMInstantiateCallback (in /usr/X11R6/lib/libX11.so.6.2) ==22404== by 0x1BADCA74: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BADE0D5: qt_init(int*, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB47016: QApplication::construct(int&, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB473F4: QApplication::QApplication(int&, char**) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x8081AF6: (within /usr/bin/qgo) ==22404== by 0x1C3EBE0E: __libc_start_main (in /lib/libc-2.3.5.so) ==22404== ==22404== LEAK SUMMARY: ==22404== definitely lost: 216 bytes in 1 blocks. ==22404== possibly lost: 0 bytes in 0 blocks. ==22404== still reachable: 246524 bytes in 5622 blocks. ==22404== suppressed: 0 bytes in 0 blocks. ==22404== Reachable blocks (those to which a pointer was found) are not shown. ==22404== To see them, rerun with: --show-reachable=yes Segmentation fault
This effects, qgo-1.0.2, qgo-1.0.3, and qgo-1.03-R2, etc. Here is the relevant debugging information: glibc-2.3.5 xorg-6.8.2 qt-3.3.4 kdelibs-3.4.3 Here's the gdb output: ~ $ gdb -e qgo Program received signal SIGSEGV, Segmentation fault. 0x080c1b31 in ?? () (gdb) bt #0 0x080c1b31 in ?? () #1 0xbfca4970 in ?? () #2 0xbfca4990 in ?? () #3 0xbfca4980 in ?? () #4 0xbfca49a4 in ?? () #5 0x00000001 in ?? () #6 0xb74077d1 in _IO_list_resetlock () from /lib/libc.so.6 #7 0xb7db0386 in qWarning () from /usr/lib/libqt-mt.so.3 #8 0xb7dd8ea6 in QSettings::sync () from /usr/lib/libqt-mt.so.3 #9 0xb7dd9772 in QSettings::~QSettings () from /usr/lib/libqt-mt.so.3 #10 0xb7d990d1 in QComLibrary::createInstanceInternal () from /usr/lib/libqt-mt.so.3 #11 0xb7d99389 in QComLibrary::queryInterface () from /usr/lib/libqt-mt.so.3 #12 0xb7db0e71 in QGPluginManager::addLibrary () from /usr/lib/libqt-mt.so.3 #13 0xb7db2a08 in QGPluginManager::library () from /usr/lib/libqt-mt.so.3 #14 0xb7db3379 in QGPluginManager::queryUnknownInterface () from /usr/lib/libqt-mt.so.3 #15 0xb7dfd893 in QStyleFactory::create () from /usr/lib/libqt-mt.so.3 #16 0xb7a8107b in QApplication::style () from /usr/lib/libqt-mt.so.3 #17 0x08081afc in ?? () #18 0xbfca7570 in ?? () #19 0xbfca7600 in ?? () #20 0xbfca7684 in ?? () #21 0xbfca74c0 in ?? () #22 0x06859205 in ?? () #23 0xbfca74f0 in ?? () #24 0xb75e6520 in ?? () #25 0xb7508a09 in ?? () from /usr/lib/libstdc++.so.6 #26 0xb75b3a5c in typeinfo for std::locale::facet () from /usr/lib/libstdc++.so.6 #27 0xb75c2e57 in pthread_mutex_lock () from /lib/libpthread.so.0 #28 0xb73bbe0f in __libc_start_main () from /lib/libc.so.6 #29 0x08061541 in ?? () And here's the valgrind output: ~ $ valgrind --leak-check=full qgo ==22404== Memcheck, a memory error detector. ==22404== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al. ==22404== Using LibVEX rev 1367, a library for dynamic binary translation. ==22404== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP. ==22404== Using valgrind-3.0.1, a dynamic binary instrumentation framework. ==22404== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al. ==22404== For more details, rerun with: -v ==22404== ==22404== Invalid read of size 4 ==22404== at 0x80C1B31: (within /usr/bin/qgo) ==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x8081AFB: (within /usr/bin/qgo) ==22404== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==22404== ==22404== Process terminating with default action of signal 11 (SIGSEGV) ==22404== Access not within mapped region at address 0x0 ==22404== at 0x80C1B31: (within /usr/bin/qgo) ==22404== by 0x1BE74385: qWarning(char const*, ...) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9CEA5: QSettings::sync() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE9D771: QSettings::~QSettings() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D0D0: QComLibrary::createInstanceInternal() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE5D388: QComLibrary::queryInterface(QUuid const&, QUnknownInterface**) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE74E70: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE76A07: QGPluginManager::library(QString const&) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BE77378: QGPluginManager::queryUnknownInterface(QString const&, QUnknownInterface**) const (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BEC1892: QStyleFactory::create(QString const&) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB4507A: QApplication::style() (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x8081AFB: (within /usr/bin/qgo) ==22404== ==22404== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 74 from 3) ==22404== malloc/free: in use at exit: 246740 bytes in 5623 blocks. ==22404== malloc/free: 45082 allocs, 39459 frees, 2070400 bytes allocated. ==22404== For counts of detected errors, rerun with: -v ==22404== searching for pointers to 5623 not-freed blocks. ==22404== checked 955452 bytes. ==22404== ==22404== ==22404== 216 bytes in 1 blocks are definitely lost in loss record 272 of 355 ==22404== at 0x1B8FF8A1: malloc (in /usr/lib/valgrind/vgpreload_memcheck.so) ==22404== by 0x1C979555: _XimOpenIM (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2) ==22404== by 0x1C25C87D: (within /usr/X11R6/lib/libX11.so.6.2) ==22404== by 0x1C9790E9: _XimRegisterIMInstantiateCallback (in /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2) ==22404== by 0x1C25C99B: (within /usr/X11R6/lib/libX11.so.6.2) ==22404== by 0x1C22BE27: XRegisterIMInstantiateCallback (in /usr/X11R6/lib/libX11.so.6.2) ==22404== by 0x1BADCA74: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BADE0D5: qt_init(int*, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB47016: QApplication::construct(int&, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x1BB473F4: QApplication::QApplication(int&, char**) (in /usr/lib/libqt-mt.so.3.3.4) ==22404== by 0x8081AF6: (within /usr/bin/qgo) ==22404== by 0x1C3EBE0E: __libc_start_main (in /lib/libc-2.3.5.so) ==22404== ==22404== LEAK SUMMARY: ==22404== definitely lost: 216 bytes in 1 blocks. ==22404== possibly lost: 0 bytes in 0 blocks. ==22404== still reachable: 246524 bytes in 5622 blocks. ==22404== suppressed: 0 bytes in 0 blocks. ==22404== Reachable blocks (those to which a pointer was found) are not shown. ==22404== To see them, rerun with: --show-reachable=yes Segmentation fault
Hi! I get segfaults immediately after launching qgo. I don't have a clue about what's wrong.
ahem, with what you give, neither do I. can you at least run 'qgo -debug' from the command line, and report by mail to the deveoppers.
Here's what I get: blaster@Raven ~ $ qgo -debug Segmentation fault
whatever the release is, i always got that error when i compile it. ============================== source='mainwin.cpp' object='mainwin.o' libtool=no \ depfile='.deps/mainwin.Po' tmpdepfile='.deps/mainwin.TPo' \ depmode=gcc3 /bin/sh ../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -fno-exceptions -fno-check-new -c -o mainwin.o `test -f 'mainwin.cpp' || echo './'`mainwin.cpp mainwin.cpp: In constructor `ClientWindow::ClientWindow(QMainWindow*, const char*, unsigned int)': mainwin.cpp:425: error: parse error before `)' token mainwin.cpp:429: error: parse error before `)' token mainwin.cpp:437: error: parse error before `)' token make[3]: *** [mainwin.o] Error 1 make[3]: Leaving directory `/home/stef/qgo-1.0.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/stef/qgo-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stef/qgo-1.0.1' make: *** [all] Error 2
yes, i am being serious. with a little tweaking, i got qGo to compile on XP using ws.net2003 and qt3.2.1[nc] - and it works sweet. now for the issues - and some of them are valid. first compile spat out these 5 errors: imagehandler.cpp(131) : error C2668: 'sqrt' : ambiguous call to overloaded function imagehandler.cpp(196) : error C2668: 'sqrt' : ambiguous call to overloaded function imagehandler.cpp(273) : error C2668: 'sqrt' : ambiguous call to overloaded function all lines of which read : double di, dj, d2=(double)d/2.0-5e-1, r=d2-2e-1, f=sqrt(3); i got around this by (naively) changing it to f=sqrt(3.0). if it compiles, it must work, right? as well as these errors tree.cpp(8) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory matrix.cpp(8) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory both of which read #include <iostream.h> this is a valid point - that .h shouldn't be there, so i remove it from both lines. and compile again. this time i hit 31 errors. matrix.cpp(83) : error C2065: 'cout' : undeclared identifier and 29 x matrix.cpp(84) : error C3861: 'cout': identifier not found, even with argument-dependent lookup all lines of which try to use cout directly. i s&r with std::cout. finally, .\qgo.rc(1) : error RC2135 : file not found: pics/Bowl.ico which reads IDI_ICON1 ICON DISCARDABLE "pics/Bowl.ico" looking in the /pics directory i notice that there is no Bowl.ico, but rather a bowl.png. i also notice a very smart qgo.ico, so i change the referance to this instead. this time the compile goes through fine and the game runs 100% very cool game, btw. but hey, i'm a 31kyu so what would i know... ;)
checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing so of course I get cd .. && /home/mobtek/apps/qgo-0.2/admin/missing automake-1.4 --gnu --include-deps qgo/Makefile WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your why is this? the export command suggested makes no difference. I'm using automake (GNU automake) 1.8.3 on kde 3.2.2 compiled from konstruct. cheers mob
now I can play go whenever and wherever I want ;-)
Sad that it is not integrated into KDE. I don't like the qt style.
As a matter of fact, it IS. It's one of the features of this release. Go into "preferences" and choose "default" in the interface style list.
This program is really looking good and I would really like to use it, however it immediatley segfaults on linux-ppc. I
We don't have ppc developpers in the team, despite our long lasting begging for ... But if you are willing to help, you are welcome.
Have Fedora Core 1 2.4.22. When run configure get error Can't find X includes. Please check your installation and add the correct paths! so no makefile created. Now what?
Try installing xfree86-devel rpm package, that should do it. And am I to understand that everyone else had no problem installing since noone has answered my question? :)
configure went ok but when I start make this is what happens: bash-2.05a$ make make all-recursive make[1]: Entering directory `/home/mina/garage/applications/qgo-0.1.3' Making all in qgo make[2]: Entering directory `/home/mina/garage/applications/qgo-0.1.3/qgo' cd .. && /home/mina/garage/applications/qgo-0.1.3/admin/missing automake-1.4 --gnu --include-deps qgo/Makefile WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `automake-1.4' program. make[2]: *** [Makefile.in] Error 1 make[2]: Leaving directory `/home/mina/garage/applications/qgo-0.1.3/qgo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mina/garage/applications/qgo-0.1.3' make: *** [all-recursive-am] Error 2 bash-2.05a$ I have automake-1.7 installed and I even made symlink automake-1.4 to point automake-1.7. Any ideas? Because I don't have any, maybe because it's 6 in the morning and I haven't slept a bit.... :)
Try doing "export WANT_AUTOMAKE=1.4" before running configure.
Yes, I just got this too, also with automake 1.7. Looks like the automake version being looked for is hardcoded in the configure script, at line 688: am__api_version="1.4" If I change this to be "1.7" and rerun configure, then making gives me this: $ make make all-recursive make[1]: Entering directory `/home/blah/qgo-0.1.3' Making all in qgo make[2]: Entering directory `/home/blah/qgo-0.1.3/qgo' cd .. && automake-1.7 --gnu --include-deps qgo/Makefile configure.in:63: error: m4_popdef: undefined macro: AC_Dest autoconf/status.m4:844: AC_CONFIG_FILES is expanded from... configure.in:63: the top level autom4te: /usr/bin/m4 failed with exit status: 1 configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). configure.in: required file `./install-sh' not found configure.in: required file `./mkinstalldirs' not found configure.in: required file `./missing' not found qgo/Makefile.am: required file `./depcomp' not found /usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL qgo/Makefile.am: C source seen but `CC' is undefined qgo/Makefile.am: qgo/Makefile.am: The usual way to define `CC' is to add `AC_PROG_CC' qgo/Makefile.am: to `configure.in' and run `autoconf' again. make[2]: *** [Makefile.in] Error 1 make[2]: Leaving directory `/home/blah/qgo-0.1.3/qgo' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/blah/qgo-0.1.3' make: *** [all-recursive-am] Error 2