Re: gwenview crashing after watch videos

Angelo Naselli <[email protected]>
Newsgroups gmane.comp.kde.gwenview
Message-ID <[email protected]>
Alle venerdì 20 luglio 2007, Angelo Naselli ha scritto:
> Alle venerdì 20 luglio 2007, Carles Pina i Estany ha scritto:
> > 
> > Hello,
> > 
> > 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).
> > 
> > After watch any video in gwenview I have this process:
> > carles   29594  0.0  0.6  24556  7192 ?        S    01:18   0:00
> > kio_file [kdeinit] file /tmp/ksocket-carles/klauncherxJOMMa.slave-socket
> > /tmp/ksocket-carles/gwenviewvJ1c1a.slave-socket
> > 
> > While I watch the video I don't have.
> > In my computer, gwenview usually doesn't crash. But, I close gwenview
> > and doesn't really close (kio_file process is alive even after gwenview
> > is closed).
> > 
> > The line that makes it is line 156:
> >                 mPlayerPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>(service, mStack, 0, mStack, 0);
> > 
> > in gvcore/imageviewcontroller.cpp, createPlayerPart method.
> > (Well, maybe is realted with showPlayerPart?)
> > 
> > I tried, in the destructor, to delete d->mPartPlayer without any
> > success.
> > 
> > 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?
> > Anybody knows some other program using Kparts in readonlypart way?
> > Kaffine is not using it...
> > 
> > Thank you, sorry my bad English. Is just a fast mail...
> I should provide backtrace to Aurelien, since i need help here :(
> IIRC gv crashes in main() in line
> return kapplication.exec(); 
> returning from some xine functions.
> A more detailled bt will follow soon... 
[...]
gwenview: KXineWidget: New video frame size: 761x576 - aspect ratio: 1.6
gwenview: XinePart: got new frame size from xine
gwenview: XinePart: destructor
gwenview: XinePart destructor: calling saveConfig()
gwenview: XinePart: save config
gwenview: PostFilter: Get output
gwenview: PostFilter: Get input
[Thread 1140881728 (LWP 28928) exited]
gwenview: KXineWidget: Shut down xine engine
gwenview: KXineWidget: Unwire video filters
gwenview: PostFilter: Delete Postprocessing Filter: tvtime
gwenview: KXineWidget: Dispose event queue
[Thread 1132489024 (LWP 28927) exited]
gwenview: KXineWidget: Dispose stream
[Thread 1124096320 (LWP 28926) exited]
[Thread 1115703616 (LWP 28925) exited]
gwenview: KXineWidget: Close audio driver
[Thread 1107310912 (LWP 28924) exited]
[Thread 1098918208 (LWP 28923) exited]
gwenview: KXineWidget: Close video driver
[Thread 1090525504 (LWP 28922) exited]
gwenview: KXineWidget: Set CD/VCD/DVD path back
gwenview: KXineWidget: Save xine config to: /home/angelo/.kde/share/apps/kaffeine/xine-config
gwenview: KXineWidget: Close xine engine
[Thread 1082132800 (LWP 28921) exited]
gwenview: KXineWidget: Close xine display
gwenview: KXineWidget: xine closed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47309703194336 (LWP 28915)]
0x00002b072359b01d in pthread_mutex_lock () from /lib64/libpthread.so.0
Current language:  auto; currently c
(gdb) bt
#0  0x00002b072359b01d in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00002b07239ffb33 in XrmDestroyDatabase () from /usr/lib64/libX11.so.6
#2  0x00002b07239e98d2 in _XFreeDisplayStructure () from /usr/lib64/libX11.so.6
#3  0x00002b07239d5d2b in XCloseDisplay () from /usr/lib64/libX11.so.6
#4  0x00002b07210e3c46 in qt_cleanup () from /usr/lib/qt3/lib64/libqt-mt.so.3
#5  0x00002b072114b0af in QApplication::~QApplication$base () from /usr/lib/qt3/lib64/libqt-mt.so.3
#6  0x00002b071da40bd0 in kdemain (argc=1, argv=0x7fff8d2e0238)
    at /home/angelo/src/KDE/graphics/gwenview/../gwenview/app/main.cpp:160
#7  0x0000000000400873 in main (argc=1, argv=0x7fff8d2e0238)
    at /home/angelo/src/KDE/graphics/gwenview/../gwenview/app/gwenview.la.cpp:2
(gdb) frame 6
#6  0x00002b071da40bd0 in kdemain (argc=1, argv=0x7fff8d2e0238)
    at /home/angelo/src/KDE/graphics/gwenview/../gwenview/app/main.cpp:160
160             return kapplication.exec();
Current language:  auto; currently c++
(gdb)                             


Angelo

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Gwenview-general mailing list
Gwenview-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/gwenview-general
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGoS9DqEs9DA4DquARAut/AKCUhl2j1Dz/3cTr1o0ieGVJ+euURQCdHwM7
BzhJeIJa4XFDxD7vmc2j1cM=
=E7ff
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.