LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-01-2010, 06:47 PM   #1
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Rep: Reputation: 15
Dolphin crashes


Hi,
I've installed slackware64 up to date and have a annoying problem:
Dolphin crashes many times. As i'm sick of it, i decide to call for help.
Here is some debug info
************************************

Application: Dolphin (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6 0x00007faa18e95ad4 in ?? () from /usr/lib64/libdbus-1.so.3
#7 0x00007faa18ea745d in ?? () from /usr/lib64/libdbus-1.so.3
#8 0x00007faa18e9949e in ?? () from /usr/lib64/libdbus-1.so.3
#9 0x00007faa26aa48e3 in ?? () from /usr/lib64/qt/lib/libQtDBus.so.4
#10 0x00007faa26781953 in QObject::event(QEvent*) () from /usr/lib64/qt/lib/libQtCore.so.4
#11 0x00007faa2569979c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4
#12 0x00007faa2569fc8b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtGui.so.4
#13 0x00007faa2774c636 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#14 0x00007faa26771f0c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt/lib/libQtCore.so.4
#15 0x00007faa2679ec82 in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#16 0x00007faa2679b7f8 in ?? () from /usr/lib64/qt/lib/libQtCore.so.4
#17 0x00007faa2163af9e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007faa2163e958 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007faa2163ea80 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007faa2679b4c3 in QEventDispatcherGlib:rocessEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#21 0x00007faa257486ce in ?? () from /usr/lib64/qt/lib/libQtGui.so.4
#22 0x00007faa26770832 in QEventLoop:rocessEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#23 0x00007faa26770c0c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt/lib/libQtCore.so.4
#24 0x00007faa2677589b in QCoreApplication::exec() () from /usr/lib64/qt/lib/libQtCore.so.4
#25 0x00007faa19f2387f in kdemain () from /usr/lib64/libkdeinit4_dolphin.so
#26 0x0000000000407ca6 in _start ()
************************+

Thx a lot
EddY
 
Old 11-01-2010, 07:30 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
Had you tried the "Search this Forum", you would have found this
http://www.linuxquestions.org/questi...urrent-832297/
 
Old 11-01-2010, 07:39 PM   #3
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by allend View Post
Had you tried the "Search this Forum", you would have found this
http://www.linuxquestions.org/questi...urrent-832297/
Hi,
Yes, i've searched and i've read.
The 1st thing that i did was to click on find "similar threads" button.

I'm using Slackware64 and i can't find dbus>=1.3 for slack64

I'm using kdexxx-4.5.2-x86_64-1alien

Must wait for new version of DBUS? If so, sorry for my mistake and some Administrator erase this thread, please! I could't understand if that thread was for slack or slack64...

Thx
EddY

Last edited by eddygrinder; 11-01-2010 at 07:41 PM.
 
Old 11-01-2010, 09:13 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
Official Slackware still has dbus-1.2.
You need to download the source dbus-1.3.1.tar.gz from here http://cgit.freedesktop.org/dbus/dbus/ into a new subdirectory somewhere called dbus-1.3.1
Add to this subdirectory these files from your Slackware install disk or a mirror
source/a/dbus/dbus.SlackBuild
source/a/dbus/doinst.sh.gz
source/a/dbus/rc.messagebus.gz
source/a/dbus/slack-desc

Edit dbus.SlackBuild
Change line 62 so it reads
Quote:
tar xvf $CWD/$PKGNAM-$VERSION.tar.gz || exit 1
and comment out line 71 so it reads
Quote:
# zcat $CWD/dbus-1.2.x-allow_root_globally.diff.gz | patch -p1 --verbose || exit 1
Open a terminal and do 'su -'
cd to the directory containing the files
'chmod +x dbus.SlackBuild'
'BUILD="1_eddy" ./dbus.SlackBuild'

After the package is built, do
'upgradepkg /tmp/dbus-1.3.1-x86_64-1_eddy.txz

Note: These instructions will not work for dbus-1.4 as there is no configure available. Looks like cmake is the way to go here.
 
Old 11-01-2010, 09:49 PM   #5
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
I just downloaded dbus-1.4 and it does have a configure script. Now to reboot and see if there is a problem.
 
Old 11-01-2010, 09:59 PM   #6
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Seems to be just fine!
 
Old 11-02-2010, 12:24 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
I have just added another entry to my list of cockups for this week.
I will try another download of dbus-1.4.
 
Old 11-02-2010, 09:51 AM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,377

Rep: Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757Reputation: 2757
dbus-1.4.0 has an autogen.sh script instead of configure.
This dbus.SlackBuild is working for me.
Code:
#!/bin/sh

# Copyright 2007-2010  Robby Workman, Northport, Alabama, USA
# Copyright 2007-2010  Patrick Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PKGNAM=dbus
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
BUILD=${BUILD:-2}

NUMJOBS=${NUMJOBS:-" -j7 "}

# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) export ARCH=i486 ;;
    arm*) export ARCH=arm ;;
    # Unless $ARCH is already set, use uname -m for all other archs:
       *) export ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf $PKGNAM-$VERSION
tar xvzf $CWD/$PKGNAM-$VERSION.tar.gz || exit 1
cd $PKGNAM-$VERSION || exit 1
chown -R root:root .
find . \
 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
 -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
 -exec chmod 644 {} \;

# zcat $CWD/dbus-1.2.x-allow_root_globally.diff.gz | patch -p1 --verbose || exit 1

# dbus-1.4.0 has autogen.sh instead of configure
#./configure \
# The following two options are no longer recognized. Both shared and static libraries are built.
#  --enable-shared=yes \
#  --enable-static=no \

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./autogen.sh \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --infodir=/usr/info \
  --docdir=/usr/doc/$PKGNAM-$VERSION \
  --enable-tests=no \
  --enable-ansi=no \
  --enable-verbose-mode=no \
  --enable-asserts=no \
  --enable-xml-docs=no \
  --enable-doxygen-docs=no \
  --enable-selinux=no \
  --enable-libaudit=no \
  --enable-dnotify=no \
  --enable-inotify \
  --with-system-pid-file=/var/run/dbus/dbus.pid \
  --with-system-socket=/var/run/dbus/system_bus_socket \
  --with-init-scripts=slackware \
  --build=$ARCH-slackware-linux

make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG

find $PKG | xargs file | grep -e "executable" -e "shared object" \
  | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null

( cd $PKG/usr/man
  find . -type f -exec gzip -9 {} \;
  for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)

# Install a custom init script for dbus - the included one is not good for us
rm $PKG/etc/rc.d/*
zcat $CWD/rc.messagebus.gz > $PKG/etc/rc.d/rc.messagebus.new
chmod 0755 $PKG/etc/rc.d/rc.messagebus.new

# Let's not clobber existing config files
mv $PKG/etc/dbus-1/session.conf $PKG/etc/dbus-1/session.conf.new
mv $PKG/etc/dbus-1/system.conf $PKG/etc/dbus-1/system.conf.new

# Fix some directory ownership
chown messagebus $PKG/var/lib/dbus

# Add documentation
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \
  AUTHORS COPYING HACKING INSTALL NEWS README doc/*.{txt,html,dtd} \
  $PKG/usr/doc/$PKGNAM-$VERSION
find $PKG/usr/doc/$PKGNAM-$VERSION -type f -exec chmod 644 {} \;

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh

cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz
 
Old 11-02-2010, 10:00 AM   #9
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Rep: Reputation: 96
If Dolphin launched on my computer, I'd crash it as soon as I could! Sorry, just had to say it... I really do hope you get it fixed.
 
Old 11-02-2010, 01:51 PM   #10
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Original Poster
Rep: Reputation: 15
Hi,
Thx for your reply, i've just compiled dbus-1.4 and now i'm gonna try dolphin...

I'll give feedback soon...

Thx once again!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couldn't use DEL in dolphin bingmou Linux - Newbie 1 10-22-2010 10:43 PM
Dolphin crashes and dbus tobyl Slackware 3 10-06-2010 05:49 PM
looking for dolphin like fm in gnome odocoileus Linux - Software 4 11-09-2009 07:50 PM
Dolphin JJV Mandriva 3 08-22-2009 05:33 PM
Uncluttering Dolphin... adred SUSE / openSUSE 2 09-21-2008 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration