Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36796 - mysqlcc: "Segmentation fault" when mysql is not running
Summary: mysqlcc: "Segmentation fault" when mysql is not running
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-30 03:28 UTC by Toralf Förster
Modified: 2004-02-24 02:25 UTC (History)
2 users (show)

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 Toralf Förster gentoo-dev 2003-12-30 03:28:36 UTC
mysqlcc tried to connect to mysql using connections previously defined in.mysqlcc/connections/ but when mysql is not running mysqlcc gives an "segmenation fault".

$ qpkg -I -v mysqlcc
dev-db/mysqlcc-0.9.3 *


Reproducible: Always
Steps to Reproduce:
1. start mysql
2. start mysqlcc, create a new connection and save it
3. stop mysqlcc
4. stop mysql
5. start mysqlcc



$ emerge info 
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.4.23-grsec-1.9.13) 
================================================================= 
System uname: 2.4.23-grsec-1.9.13 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.3.10p1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="http://gentoo.linux.no/ http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg libg++ libwww 
mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xv zlib 
gdbm berkdb slang readline arts svga tcltk java mysql X sdl gpm tcpd pam ssl 
perl python esd imlib oggvorbis qt kde motif opengl apache2 gd innodb jbig lcms 
mbox pcmcia slp snmp tiff usb wmf -gtk -gnome -xmms linguas_de"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-12-30 03:56:40 UTC
could you try 0.9.4 as this is a bugfix release
Comment 2 Toralf Förster gentoo-dev 2003-12-30 05:32:48 UTC
Yes, fixed in 0.9.4, but during emerge I got :

install: cannot stat `information.wav': No such file or directory

Does this wave-File not exist yet ?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-12-30 07:26:12 UTC
no wave in both releases

45k     /var/tmp/portage/mysqlcc-0.9.3/work/mysqlcc-0.9.3-src/error.wav
43k     /var/tmp/portage/mysqlcc-0.9.3/work/mysqlcc-0.9.3-src/warning.wav
45k     /var/tmp/portage/mysqlcc-0.9.4/work/mysqlcc-0.9.4-src/error.wav
43k     /var/tmp/portage/mysqlcc-0.9.4/work/mysqlcc-0.9.4-src/warning.wav
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-02-24 02:25:43 UTC
closing with 0.9.4