Re: gwenview crashing after watch videos
Carles Pina i Estany <[email protected]>
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Hello, On Aug/03/2007, Angelo Naselli wrote: > Hi, sorry for my late answer it's not late :-) > > holidays starts at saturday, thank you > me too ;) do you visit Paris like me? :-D (last year I went to Rome) > > This application is crashing after last sleep(2) in destructor! I can > > delete the mPlayerPart, etc. (and really it stops to play the video) but > > then it crashes. > Well as gwenview it doesn't crash sometimes, while it does for the most. in my computer 90% times or even more > > I think that it isn't a gwenview problem. Do you want that I report this > I start believing it isn't... i've tried to connect signals > described here: > http://api.kde.org/3.5-api/kdelibs-apidocs/kparts/html/classKParts_1_1ReadOnlyPart.html > void started (KIO::Job *) > void completed () > void canceled (const QString &errMsg) > without any good results. > the test i'd like to do is to use > bool openStream (const QString &mimeType, const KURL &url) > instead of the slot openUrl()... I have some more information. Yesterday I played with some libraries (libxineparts and so on). Now "KServiceTypeProfile::preferredService" is returning libkmplayerpartmplayer and not libxine (you can see in standard output of my application, after "Library:" Now my application is not crashing (and ops, i have not tried with gwenview, but shouldn't. I don't have access to this computer now) So, I think that libxine or libxineparts is crashing and not Kparts or gwenview. There is other call to KParts API that gives all services that opens a MIME type. We could also read the list of service and use other one that is not xine (or not xine in some versions). Googling for xine or libxine crashes gave me other applications crashing. Kphotoalbum is using this call (not blacklisting xine but using it). I think that user can change the priority in kcontrol. Users could prioritize mplayer more than xine... More ideas: check last libxine to know if there is some bug (yet), or use an application without kparts using libxine to see if it crashes. -- 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/