Re: icon view crash [3.4.2] (Re: media kioslave crashes, causes konq to crash too)

2005-09-09 Thread Martin Steigerwald
Am Freitag 09 September 2005 01:38 schrieb Daniel Andor:
> On Thursday 08 September 2005 10:20 pm, Martin Steigerwald wrote:
> > It might also make sense to try it with a bog standard KDE
> > configuration by doing "mv ~/.kde ~/.kde.off". If that "fixes" the
> > crash you could try which configuration file triggers it. Most likely
> > its one from Konqueror like konquerorrc.
>
> A bit of experimenting showed that this:
>
> [Settings]
> EnableSoundPreviews=true
>
> in the file .kde/share/config/konqiconviewrc

Hello Daniel,

I put this option in my konqiconviewrc and it works nicely here. I now 
have this in there:

[Settings]
DontPreview=
PreviewsEnabled=true
EnableSoundPreviews=true
SortDirsFirst=true
SortingCriterion=sort_nci

Maybe something is wrong with your arts setup.

Did you try directly after upgrading? amarok complained about arts not 
beeing accessible the first time I started it and told me I should try 
"killall -9 artsd" and restart amarok then. Well this did it for me.

Hmmm, wait, once I had a crash now too. But the other two times I tested 
it it worked okay. Maybe there is some race condition.

Further testing here yields that it crashes when I first use the detailed 
view, go over a mpeg file with the mouse pointer - I can hear no sound 
preview in this mode - then switch to icon mode and go over the same  
mpeg3 file with the mouse pointer. Well I do not even need to do that, 
its just enough to switch to icon mode and wait some seconds till 
Konqueror crashes. I do not get a KDE Crash manager window at all.

When I just switch to from detailed view to icon view without going over 
an mpeg3 file with the mouse pointer, and go over an mpeg3 file with the 
mouse pointer sound preview works here nicely.

Anyone able to reproduce this behavior? I do not have more time at the 
moment but will revisit the problem later. A bug report about this makes 
sense IMHO.

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: icon view crash [3.4.2] (Re: media kioslave crashes, causes konq to crash too)

2005-09-08 Thread Daniel Andor
On Thursday 08 September 2005 10:20 pm, Martin Steigerwald wrote:
> It might also make sense to try it with a bog standard KDE configuration
> by doing "mv ~/.kde ~/.kde.off". If that "fixes" the crash you could try
> which configuration file triggers it. Most likely its one from Konqueror
> like konquerorrc.

A bit of experimenting showed that this:

[Settings]
EnableSoundPreviews=true

in the file .kde/share/config/konqiconviewrc

made the iconview crash.

Removing that line (but leaving the other settings unchanged) made the 
iconview work again.

Am I the only one who gets that setting to crash konq?

Thx,
Daniel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: icon view crash [3.4.2] (Re: media kioslave crashes, causes konq to crash too)

2005-09-08 Thread Daniel Andor
On Thursday 08 September 2005 10:20 pm, Martin Steigerwald wrote:
> Am Donnerstag 08 September 2005 22:54 schrieb Daniel Andor:
> > On further investigation, it appears to crash whenever konq is using
> > the large icon view, so perhaps nothing to do with the media ioslave
> > (as hinted by the backtrace).  The backtrace is exactly the same.
> I am quite pleased with stability here in general.
>
> But well this is still day one with KDE 3.4.2 so let's see how it goes.
>
> > How do I go debugging from here?  All my packages appear to be upto
> > date, and I didn't have this problem before upgrading to 3.4.2.
>
> Maybe try "strace konqueror" to find out what Konqueror is trying to do
> when it crashes. But as strace gives lots of output it might not be easy
> to find the culprit.

The last bit of strace before it segfaults is

open("/home/da209/.mcoprc", O_RDONLY|O_LARGEFILE) = 21
read(21, "GlobalComm=Arts::TmpGlobalComm\n", 8191) = 31
read(21, "", 8191)  = 0
close(21)   = 0
stat64("/usr/lib/mcop", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/mcop", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 21
fstat64(21, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(21, F_SETFD, FD_CLOEXEC)= 0
getdents64(21, /* 56 entries */, 4096)  = 2512
stat64("/usr/lib/mcop/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/lib/mcop/..", {st_mode=S_IFDIR|0755, st_size=106496, ...}) = 0
stat64("/usr/lib/mcop/kmedia2.mcoptype", {st_mode=S_IFREG|0644, 
st_size=2281, ...}) = 0
stat64("/usr/lib/mcop/Arts", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/usr/lib/mcop/Arts", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 22
fstat64(22, {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
fcntl64(22, F_SETFD, FD_CLOEXEC)= 0
getdents64(22, /* 85 entries */, 4096)  = 4056
stat64("/usr/lib/mcop/Arts/.", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
stat64("/usr/lib/mcop/Arts/..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/lib/mcop/Arts/Synth_BUS_DOWNLINK.mcopclass", {st_mode=S_IFREG|
0644, st_size=94, ...}) = 0
open("/usr/lib/mcop/Arts/Synth_BUS_DOWNLINK.mcopclass", O_RDONLY|O_LARGEFILE) 
= 23
read(23, "Buildable=true\nInterface=Arts::S"..., 8191) = 94
--- SIGSEGV (Segmentation fault) @ 0 (0) ---


> It might also make sense to try it with a bog standard KDE configuration
> by doing "mv ~/.kde ~/.kde.off". If that "fixes" the crash you could try
> which configuration file triggers it. Most likely its one from Konqueror
> like konquerorrc.

I think you're onto something - with a fresh .kde, it seems fine.  What config 
files relate to the above arts-ey stuff??

Thanks,
Daniel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: icon view crash [3.4.2] (Re: media kioslave crashes, causes konq to crash too)

2005-09-08 Thread Martin Steigerwald
Am Donnerstag 08 September 2005 22:54 schrieb Daniel Andor:

> On further investigation, it appears to crash whenever konq is using
> the large icon view, so perhaps nothing to do with the media ioslave
> (as hinted by the backtrace).  The backtrace is exactly the same.

Hello Daniel,

hmmm icon view seems to work nicely here with KDE 3.4.2. Also with media:/

I am quite pleased with stability here in general. 

But well this is still day one with KDE 3.4.2 so let's see how it goes.

> How do I go debugging from here?  All my packages appear to be upto
> date, and I didn't have this problem before upgrading to 3.4.2.

Maybe try "strace konqueror" to find out what Konqueror is trying to do 
when it crashes. But as strace gives lots of output it might not be easy 
to find the culprit. 

You may also want to search bug trackers from KDE and Debian for similar 
findings.

It might also make sense to try it with a bog standard KDE configuration 
by doing "mv ~/.kde ~/.kde.off". If that "fixes" the crash you could try 
which configuration file triggers it. Most likely its one from Konqueror 
like konquerorrc. 

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



icon view crash [3.4.2] (Re: media kioslave crashes, causes konq to crash too)

2005-09-08 Thread Daniel Andor
On Thursday 08 September 2005 8:39 pm, Daniel Andor wrote:
> On Thursday 08 September 2005 7:56 pm, David Pye wrote:
> > On Thursday 08 September 2005 15:44, Daniel Andor wrote:
> > > I set up dbus, hal, and pmount as per the thread on this list, and
> > > media:/ appears initially at least to work as expected.  However,
> > > 'doing' anything to one of the devices - even hovering over one with a
> > > mouse - causes konqueror to crash with a segmentation fault.  Even if I
> > > haven't inserted a thing into any drives, just hover over one of the
> > > mounted harddiscs.

On further investigation, it appears to crash whenever konq is using the large 
icon view, so perhaps nothing to do with the media ioslave (as hinted by the 
backtrace).  The backtrace is exactly the same.

How do I go debugging from here?  All my packages appear to be upto date, and 
I didn't have this problem before upgrading to 3.4.2.

Thanks,
Daniel.

> Backtrace:
> [New Thread -1230718080 (LWP 6839)]
> [KCrash handler]
> #3  0xb5bc0dea in __gnu_cxx::__mt_alloc __gnu_cxx::__common_pool_policy<__gnu_cxx::__pool, true>
>
> >::allocate(unsigned, void const*) ()
>
>from /usr/lib/libsoundserver_idl.so.1
> #4  0xb583a2a1 in Arts::TraderOffer_impl::TraderOffer_impl(std::string
> const&, std::string const&) () from /usr/lib/libmcop.so.1
> #5  0xb583aa25 in Arts::TraderHelper::addDirectory(std::string const&,
> std::string const&, std::map,
> bool, std::less >,
> std::allocator
> const, bool> > >*) ()
>from /usr/lib/libmcop.so.1
> #6  0xb583a96e in Arts::TraderHelper::addDirectory(std::string const&,
> std::string const&, std::map,
> bool, std::less >,
> std::allocator
> const, bool> > >*) ()
>from /usr/lib/libmcop.so.1
> #7  0xb583aff2 in Arts::TraderHelper::load() () from /usr/lib/libmcop.so.1
> #8  0xb583b1f0 in Arts::TraderHelper::TraderHelper() ()
>from /usr/lib/libmcop.so.1
> #9  0xb583b384 in Arts::TraderHelper::the() () from /usr/lib/libmcop.so.1
> #10 0xb583b3f6 in Arts::TraderQuery_impl::query() ()
> from /usr/lib/libmcop.so.1
> #11 0xb5c0698d in KonqSoundPlayerImpl::mimeTypes() ()
>from /usr/lib/kde3/konq_sound.so
> #12 0xb671da6d in KonqIconViewWidget::slotOnItem(QIconViewItem*) ()
>from /usr/lib/libkonq.so.4
> #13 0xb673b95a in KonqIconViewWidget::qt_invoke(int, QUObject*) ()
>from /usr/lib/libkonq.so.4
> #14 0xb73a3239 in QObject::activate_signal(QConnectionList*, QUObject*) ()
>from /usr/lib/libqt-mt.so.3
> #15 0xb76ee56d in QIconView::onItem(QIconViewItem*) ()
>from /usr/lib/libqt-mt.so.3
> #16 0xb75553cd in QIconView::contentsMouseMoveEvent(QMouseEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #17 0xb670f828 in KonqIconViewWidget::contentsMouseMoveEvent(QMouseEvent*)
> () from /usr/lib/libkonq.so.4
> #18 0xb74b502f in QScrollView::viewportMouseMoveEvent(QMouseEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #19 0xb74b1d5c in QScrollView::eventFilter(QObject*, QEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #20 0xb754ef24 in QIconView::eventFilter(QObject*, QEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #21 0xb73a2fea in QObject::activate_filters(QEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #22 0xb73a3074 in QObject::event(QEvent*) () from /usr/lib/libqt-mt.so.3
> #23 0xb73da142 in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
> #24 0xb7346b95 in QApplication::internalNotify(QObject*, QEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #25 0xb7347938 in QApplication::notify(QObject*, QEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #26 0xb79686fc in KApplication::notify(QObject*, QEvent*) ()
>from /usr/lib/libkdecore.so.4
> #27 0xb72e3fb8 in QETWidget::translateMouseEvent(_XEvent const*) ()
>from /usr/lib/libqt-mt.so.3
> #28 0xb72e2921 in QApplication::x11ProcessEvent(_XEvent*) ()
>from /usr/lib/libqt-mt.so.3
> #29 0xb72f5698 in QEventLoop::processEvents(unsigned) ()
>from /usr/lib/libqt-mt.so.3
> #30 0xb735c73b in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
> #31 0xb735c654 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
> #32 0xb73465cf in QApplication::exec() () from /usr/lib/libqt-mt.so.3
> #33 0xb67fd10c in kdemain () from /usr/lib/libkdeinit_konqueror.so
> #34 0xb6845550 in kdeinitmain () from /usr/lib/kde3/konqueror.so
> #35 0x0804deed in ?? ()
> #36 0x0002 in ?? ()
> #37 0x080d7ef0 in ?? ()
> #38 0xbf9e9338 in ?? ()
> #39 0x0804df11 in ?? ()
> #40 0x1000 in ?? ()
> #41 0xb7d890a4 in free () from /lib/tls/libc.so.6
> #42 0x0804e4da in ?? ()
> #43 0x080d6e2e in ?? ()
> #44 0x001e in ?? ()
> #45 0x080d7360 in ?? ()
> #46 0x0001 in ?? ()


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]