Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-23 Thread Thiago Macieira
On Sunday, 23 de January de 2011 23:20:37 Dawit A wrote: > Anyhow, after reading the response of one of the VLC developers in bug > report I listed in the original email, I am convinced that the reliance on > signals, which can so easily get cleared or worse blocked, in a library > class seems a re

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-23 Thread Dawit A
On Sun, Jan 23, 2011 at 4:41 AM, Thiago Macieira wrote: > On Saturday, 22 de January de 2011 17:16:10 Dawit A wrote: > > The above snippet of code is something I clipped from > > > http://git.videolan.org/?p=vlc.git;a=blob;f=bin/vlc.c;h=70eeed0d2299e2f3cf0c > > 2f6819120f02d0703152;hb=HEAD > > >

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-23 Thread Thiago Macieira
On Saturday, 22 de January de 2011 17:16:10 Dawit A wrote: > The above snippet of code is something I clipped from > http://git.videolan.org/?p=vlc.git;a=blob;f=bin/vlc.c;h=70eeed0d2299e2f3cf0c > 2f6819120f02d0703152;hb=HEAD > > One cannot easily tell where QCoreApplication's ctor is getting > cal

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-23 Thread Thiago Macieira
On Saturday, 22 de January de 2011 21:50:46 Michael Pyne wrote: > On Saturday, January 22, 2011 16:53:29 Thiago Macieira wrote: > > On Saturday, 22 de January de 2011 22:08:25 Christoph Bartoschek wrote: > > > Am Samstag 22 Januar 2011 schrieb Thiago Macieira: > > > > However, what I really want is

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-22 Thread Michael Pyne
On Saturday, January 22, 2011 16:53:29 Thiago Macieira wrote: > On Saturday, 22 de January de 2011 22:08:25 Christoph Bartoschek wrote: > > Am Samstag 22 Januar 2011 schrieb Thiago Macieira: > > > However, what I really want is that kernel developers give me a modern > > > way of finding out a proc

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-22 Thread Dawit A
On Sat, Jan 22, 2011 at 5:16 PM, Dawit A wrote: > On Sat, Jan 22, 2011 at 3:55 PM, Thiago Macieira wrote: >> On Saturday, 22 de January de 2011 14:25:07 Dawit A wrote: >>> Anyhow, this problem is not specific to VLC and can happen to any Qt >>> application that blocks the SIGCHLD signals from rea

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-22 Thread Dawit A
On Sat, Jan 22, 2011 at 3:55 PM, Thiago Macieira wrote: > On Saturday, 22 de January de 2011 14:25:07 Dawit A wrote: >> Anyhow, this problem is not specific to VLC and can happen to any Qt >> application that blocks the SIGCHLD signals from reaching any of the >> threads. As such I think some acti

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-22 Thread Thiago Macieira
On Saturday, 22 de January de 2011 22:08:25 Christoph Bartoschek wrote: > Am Samstag 22 Januar 2011 schrieb Thiago Macieira: > > However, what I really want is that kernel developers give me a modern > > way of finding out a process has exited. > > Hi, I do not know whether it works as desired, bu

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-22 Thread Christoph Bartoschek
Am Samstag 22 Januar 2011 schrieb Thiago Macieira: > > However, what I really want is that kernel developers give me a modern way > of finding out a process has exited. Hi, I do not know whether it works as desired, but did you look at signalfd(2)? Christoph

Re: The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-22 Thread Thiago Macieira
On Saturday, 22 de January de 2011 14:25:07 Dawit A wrote: > Anyhow, this problem is not specific to VLC and can happen to any Qt > application that blocks the SIGCHLD signals from reaching any of the > threads. As such I think some action needs to be taken to address this > issue. We can workaroun

The hidden problem with using QProcess/KProcess in kdelibs...

2011-01-22 Thread Dawit A
Hi, I have long been bothered by a problem with VLC freezing when you attempt to open the file dialog (CTRL+O). I finally decided to investigate the issue and what I discovered is something I think should be discussed here. The bug in VLC, https://bugs.kde.org/show_bug.cgi?id=260719, happens becau