Hi,<div><br></div><div>Thanks to Martinus Ady H, I've been able to build the package; however, after the installation, the segfault still happens again.</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
gdb /usr/bin/mysql-workbench-bin </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
GNU gdb (GDB) 7.1</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Copyright (C) 2010 Free Software Foundation, Inc.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
This is free software: you are free to change and redistribute it.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
There is NO WARRANTY, to the extent permitted by law. Â Type "show copying"</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
and "show warranty" for details.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
This GDB was configured as "i686-pc-linux-gnu".</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
For bug reporting instructions, please see:</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Reading symbols from /usr/bin/mysql-workbench-bin...(no debugging symbols found)...done.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
(gdb) run</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Starting program: /usr/bin/mysql-workbench-bin </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
[Thread debugging using libthread_db enabled]</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Program received signal SIGSEGV, Segmentation fault.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
0xb6122d03 in strlen () from /lib/libc.so.6</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
(gdb) bt full</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
#0 Â 0xb6122d03 in strlen () from /lib/libc.so.6</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
No symbol table info available.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
#1 Â 0x0813e5a6 in main ()</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
No symbol table info available.</blockquote>
<div><br></div>Trying to take a closer look on the error, any hint / suggestion would be very highly appreciated.</div><div><br></div><div>Thanks,</div><div><br></div><div>Hoang HUA<br><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 11:39 PM, Martinus Ady H <span dir="ltr"><<a href="mailto:mrt.itnewbies@gmail.com">mrt.itnewbies@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hii Hoang Hua, this is SlackBuild script for MySQL Workbench you want:)<br>
-- <br>
Regards,<br><font color="#888888">
<br>
Martinus Ady H.<br>
</font><br>MySQL Workbench (A visual database design tool developed by MySQL)<br>
<br>
MySQL Workbench is a cross-platform, visual database design tool<br>
developed by MySQL. It is the highly anticipated successor<br>
application of the DBDesigner4 project.<br>
<br>
This package is the Community OSS Edition.<br>
<br>#!/bin/sh<br>
<br>
# Slackware build script for mysql-workbench-oss<br>
<br>
# Copyright (c) 2009, Antonio Hernández Blas <<a href="mailto:hba.nihilismus@gmail.com">hba.nihilismus@gmail.com</a>><br>
# All rights reserved.<br>
#<br>
# Redistribution and use in source and binary forms, with or without<br>
# modification, are permitted provided that the following conditions are met:<br>
# 1.- Redistributions of source code must retain the above copyright<br>
# Â Â notice, this list of conditions and the following disclaimer.<br>
#<br>
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY<br>
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED<br>
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE<br>
# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY<br>
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES<br>
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;<br>
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND<br>
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT<br>
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br>
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br>
<br>
PRGNAM=mysql-workbench-oss<br>
VERSION=${VERSION:-5.1.18}<br>
ARCH=${ARCH:-i486}<br>
BUILD=${BUILD:-1}<br>
TAG=${TAG:-_SBo}<br>
<br>
CWD=$(pwd)<br>
TMP=${TMP:-/tmp/SBo}<br>
PKG=$TMP/package-$PRGNAM<br>
OUTPUT=${OUTPUT:-/tmp}<br>
<br>
if [ "$ARCH" = "i486" ]; then<br>
 SLKCFLAGS="-O2 -march=i486 -mtune=i686"<br>
 LIBDIRSUFFIX=""<br>
elif [ "$ARCH" = "i686" ]; then<br>
 SLKCFLAGS="-O2 -march=i686 -mtune=i686"<br>
 LIBDIRSUFFIX=""<br>
elif [ "$ARCH" = "x86_64" ]; then<br>
 SLKCFLAGS="-O2 -fPIC"<br>
 LIBDIRSUFFIX="64"<br>
fi<br>
<br>
set -e<br>
<br>
rm -rf $PKG<br>
mkdir -p $TMP $PKG $OUTPUT<br>
cd $TMP<br>
rm -rf $PRGNAM-$VERSION<br>
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz<br>
cd $PRGNAM-$VERSION<br>
chown -R root:root .<br>
find . \<br>
 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \<br>
 -exec chmod 755 {} \; -o \<br>
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \<br>
 -exec chmod 644 {} \;<br>
<br>
CFLAGS="$SLKCFLAGS" \<br>
CXXFLAGS="$SLKCFLAGS" \<br>
./autogen.sh \<br>
 --prefix=/usr \<br>
 --libdir=/usr/lib${LIBDIRSUFFIX} \<br>
 --sysconfdir=/etc \<br>
 --localstatedir=/var \<br>
 --mandir=/usr/man \<br>
 --docdir=/usr/doc/$PRGNAM-$VERSION \<br>
 --build=$ARCH-slackware-linux \<br>
 --disable-debug \<br>
 --enable-shared=yes \<br>
 --enable-static=no \<br>
 --enable-python-modules \<br>
 --enable-readline<br>
<br>
make<br>
make install DESTDIR=$PKG<br>
<br>
( cd $PKG<br>
 find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \<br>
  xargs strip --strip-unneeded 2> /dev/null || true<br>
 find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \<br>
  xargs strip --strip-unneeded 2> /dev/null<br>
)<br>
<br>
# There're not manpages<br>
if [ -d $PKG/usr/share/man ]; then<br>
 mv $PKG/usr/share/man $PKG/usr<br>
fi<br>
<br>
if [ -d $PKG/usr/man ]; then<br>
 ( cd $PKG/usr/man<br>
  find . -type f -exec gzip -9 {} \;<br>
  for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done<br>
 )<br>
fi<br>
<br>
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION<br>
cp -a \<br>
 AUTHORS ChangeLog COPYING INSTALL NEWS README samples \<br>
 $PKG/usr/doc/$PRGNAM-$VERSION<br>
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild<br>
<br>
mkdir -p $PKG/install<br>
cat $CWD/slack-desc > $PKG/install/slack-desc<br>
cat $CWD/doinst.sh > $PKG/install/doinst.sh<br>
<br>
cd $PKG<br>
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}<br>
<br>PRGNAM="mysql-workbench-oss"<br>
VERSION="5.1.18"<br>
HOMEPAGE="<a href="http://dev.mysql.com/workbench/" target="_blank">http://dev.mysql.com/workbench/</a>"<br>
DOWNLOAD="<a href="http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-oss-5.1.18.tar.gz/from/http://mirror.trouble-free.net/mysql_mirror/" target="_blank">http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-oss-5.1.18.tar.gz/from/http://mirror.trouble-free.net/mysql_mirror/</a>"<br>
MD5SUM="f136bac3e808cadda36321ac0e644399"<br>
DOWNLOAD_x86_64=""<br>
MD5SUM_x86_64=""<br>
MAINTAINER="Antonio Hernández Blas"<br>
EMAIL="<a href="mailto:hba.nihilismus@gmail.com">hba.nihilismus@gmail.com</a>"<br>
APPROVED=""<br>
<br># HOW TO EDIT THIS FILE:<br>
# The "handy ruler" below makes it easier to edit a package description. Â Line<br>
# up the first '|' above the ':' following the base package name, and the '|'<br>
# on the right side marks the last column you can put a character in. Â You must<br>
# make exactly 11 lines for the formatting to be correct. Â It's also<br>
# customary to leave one space after the ':'.<br>
<br>
       |-----handy-ruler------------------------------------------------------|<br>
mysql-workbench-oss: MySQL Workbench (A visual database design tool developed by MySQL)<br>
mysql-workbench-oss:<br>
mysql-workbench-oss: MySQL Workbench is a cross-platform, visual database design tool<br>
mysql-workbench-oss: developed by MySQL. It is the highly anticipated successor<br>
mysql-workbench-oss: application of the DBDesigner4 project.<br>
mysql-workbench-oss:<br>
mysql-workbench-oss: This package is the Community OSS Edition.<br>
mysql-workbench-oss:<br>
mysql-workbench-oss: Homepage: <a href="http://dev.mysql.com/workbench/" target="_blank">http://dev.mysql.com/workbench/</a><br>
mysql-workbench-oss:<br>
mysql-workbench-oss:<br>
<br></blockquote></div><br></div>