Re: gwenview crashing after watch videos
Carles Pina i Estany <[email protected]>
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Hello,
On Jul/24/2007, Aurelien Gateau wrote:
I'm starting to hate this bug :)
> > I have taken a look about the bug that gwenview crash if there is some
> > video in the list. I have not fixed but I have some information that
> > maybe can help somebody to fix it (and tomorrow maybe I will try again).
> [snip]
> > I think that we should close the Kpart, I don't know how. I also tried
> > to stop or close this stream on destructur without luck.
> >
> > Any other suggestion?
>
> Can you try to add something like this to the destructor?
>
> if (d->mPlayerPart) {
> d->mPlayerPart->closeURL();
> }
>
> I have no idea if it would fix the problem, though :-(
this doesn't fix the problem. I already check 2 weeks ago... (now I
checked my code there...)
> > Anybody knows some other program using Kparts in readonlypart way?
>
> Konqueror? maybe not the simplest example :-). I think Krusader is using
> it for its viewer, as well as Ark.
I have not found the same way in Krusader either Ark (using:
mPlayerPart =
KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>(service,
mStack, 0, mStack, 0);
)
I have found the same structure in http://www.kphotoalbum.org (Wow, I
didn't know this program). I checked the file
kphotoalbum-3.0.2-noi18n/src/Viewer, and he/she creates the mPlayerPart
in the same way, and he/she doesn't destroy or anything.
I think (and I thought some time ago) that this is a bug in KDE Libs. I
am thinking to do a simple test case that crash to send to KDE
developers. I don't have more ideas, I spent some hours some weeks ago
trying to fix it (deleting the pointer, etc.) without result.
This nasty bug is delaying everything :-)
Ideas are welcomed...
--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/