Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150145 - mysql qt gcc-4.4.1 stops mysql daemon
Summary: mysql qt gcc-4.4.1 stops mysql daemon
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-05 01:08 UTC by Francesc
Modified: 2006-10-06 00:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesc 2006-10-05 01:08:32 UTC
Hello, 

  I have a QT application that works with mysql. it runs perfectly in my system bu t now I runs in a new machine with the last gentoo 2006.1, so I do a new installation and when I run this application, it stops the mysql daemon. Now I decide to work with another mysql server in other machine and the mysql don't stop. So now I'm sorprised about what happens. I suspect about gcc version so I downgraded from gcc-4.4.1 to gcc-3.4.5. And now I re-emerge the mysql. Now the application goes ok and mysql daemon don't stops. I gives you emerge --info but is with gcc-3.4.5 because I don't have more time to put gcc-4.4.1. Now my clients can work. 

Another thing that I want to comment is that I don't works with QT from portage 
I install qt from trolltech, but this is not a problem. When I had this problem I tried to do a very little qt program, only a main.cpp with a very little Insert sql, and I do an Insert of value 100 for example, and then I go to a mysql console and I do a select and the sourprise is that no inserts value 100 it inserts value 198...



Portage 2.1.1 (default-linux/x86/2006.1, gcc-3.4.5, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Celeron(R) CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 06:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --del     
ete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd elibc_glibc fortran gdbm gpm input_devices_     
evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kde kernel_linux libg++ ncurses nls nptl nptlonly pam     
 pcre perl ppds pppd python qt readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode use     
rland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix vi     
deo_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_     
imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 vide     
o_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx vi     
deo_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_vi     
a video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORT     
DIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-05 01:24:38 UTC
I don't understand what you mean by "stop mysql daemon". Does it segfault or what?  Did you follow http://www.gentoo.org/doc/en/gcc-upgrading.xml ? You can't just be randomly compiling apps with 3.4 and then 4.1 and expect things to work... Plus we need some steps and code to reproduce the problem.
Comment 2 Francesc 2006-10-06 00:36:19 UTC
(In reply to comment #1)
> I don't understand what you mean by "stop mysql daemon". Does it segfault or
> what?  Did you follow http://www.gentoo.org/doc/en/gcc-upgrading.xml ? You
> can't just be randomly compiling apps with 3.4 and then 4.1 and expect things
> to work... Plus we need some steps and code to reproduce the problem.
> 

/etc/init.d/mysql is stopped when I do "insert sql" from qt application. There isn't any segmentation fault. I lose database connection. I works with qt-4.1.4 
from trolltech(no portage) and mysql-4.1.21
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-06 00:40:41 UTC
Unless you provide us with the application to reproduce the problem, there's nothing we could here.