Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On Thu, 30 Jan 2014 19:44:43 +0100, Dominique Dumont wrote: > > > ok. Here's the plan: I'm going to remove all async stuff from > > > Config::Model and Config::Model::Dpkg. This will make the code simpler, > > > well, less complicated. > > > > > > I'll use the URL above to get all required information in blocking mode > > > in C::M::Dpkg::Dependency. > > > > Sounds good. > > I've implemented the 2nd part. It does solve (or work-around) the problem > with > pinto package. > > I'm still not sure if tearing down the async part is a good idea: it does > make > the code more complex, but it's helpful in interactive mode. Ah ok, if it helps in interactive mode, that's fair enough. And I'm happy if the retrieval in the other case is faster :) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Jerry Lee Lewis: Wild One signature.asc Description: Digital signature
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On Wednesday 15 January 2014 16:52:38 you wrote: > > ok. Here's the plan: I'm going to remove all async stuff from > > Config::Model and Config::Model::Dpkg. This will make the code simpler, > > well, less complicated. > > > > > > > > I'll use the URL above to get all required information in blocking mode > > in > > C::M::Dpkg::Dependency. > > Sounds good. I've implemented the 2nd part. It does solve (or work-around) the problem with pinto package. I'm still not sure if tearing down the async part is a good idea: it does make the code more complex, but it's helpful in interactive mode. I first need to check whether I can handle the async part with Future (or Promises). Hopefully, using one of these modules will make the async code more readable without removing the benefit of async code. All the best -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org signature.asc Description: This is a digitally signed message part.
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On Wed, 15 Jan 2014 09:35:52 +0100, Dominique Dumont wrote: > On Tuesday 14 January 2014 22:59:42 you wrote: > > Do you actually need more than one query? At least rmadison on the > > command line happily accepts several packages at once: > > ... [ several seconds of dumbfounded silence ] > > ARRGGGHH > Oopsie, that was not my intention :) > Too bad I did not learn this a few months back. Sorry, I also realized this only recently. > ok. Here's the plan: I'm going to remove all async stuff from Config::Model > and Config::Model::Dpkg. This will make the code simpler, well, less > complicated. > > I'll use the URL above to get all required information in blocking mode in > C::M::Dpkg::Dependency. Sounds good. > gregoa, thanks for the wake-up call :-) You're welcome :) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Rolling Stones signature.asc Description: Digital signature
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On Tuesday 14 January 2014 22:59:42 you wrote: > Do you actually need more than one query? At least rmadison on the > command line happily accepts several packages at once: ... [ several seconds of dumbfounded silence ] ARRGGGHH I've worked countless hours to shoehorn AnyEvent and async stuff in Config::Model to run parrallel queries to madison. :-( In fact, madison API accepts several packages in a single URL like: http://qa.debian.org/cgi-bin/madison.cgi?package=perl-tk+perl&text=on This will be much faster than running several queries (even parrallel queries). Too bad I did not learn this a few months back. ok. Here's the plan: I'm going to remove all async stuff from Config::Model and Config::Model::Dpkg. This will make the code simpler, well, less complicated. I'll use the URL above to get all required information in blocking mode in C::M::Dpkg::Dependency. If I ever need to run parrallel queries. I'll use Coro or old school fork with IPC. Thoughts ? gregoa, thanks for the wake-up call :-) -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org signature.asc Description: This is a digitally signed message part.
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On Tue, 14 Jan 2014 19:11:32 +0100, Dominique Dumont wrote: > The alternative is to remove the asynchronous stuff and to run the > queries to madison in a blocking mode. Do you actually need more than one query? At least rmadison on the command line happily accepts several packages at once: % rmadison libconfig-model-perl libconfig-model-dpkg-perl libconfig-model-dpkg-perl | 2.043 | jessie | source, all libconfig-model-dpkg-perl | 2.043 | sid | source, all libconfig-model-perl | 1.205-1| squeeze | source, all libconfig-model-perl | 2.021-3+deb7u1 | wheezy | source, all libconfig-model-perl | 2.046-1| jessie | source, all libconfig-model-perl | 2.046-1| sid | source, all Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Kings of Convenience: Little Kids signature.asc Description: Digital signature
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On Saturday 11 January 2014 18:27:09 you wrote: > Yes, it up to 100% CPU and after 10-20 secs is down to 0.0. Major bummer. The trick I used to run parrallel queries to madison is fairly broken. Fixing this properly will require to change all Config::Model code to make it asynchronous. (using Future or Promises). This is a huge work :-( The alternative is to remove the asynchronous stuff and to run the queries to madison in a blocking mode. But running these queries is quite long as soon as you have a lot of dependencies (~ 1s per dependency). The caching mechanism helps a bit but it's not a silver bullet. I'm still stratching my head ... -- https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On 01/11/2014 06:10 PM, Dominique Dumont wrote: Before being killed, was the script idle or eating 100% CPU ? Yes, it up to 100% CPU and after 10-20 secs is down to 0.0. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
On Saturday 11 January 2014 18:00:45 Oleg Gashev wrote: > EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait > attempted at /usr/share/perl5/Config/Model/Dpkg/Dependency.pm line 536. Ouch. > Wait long time. Script continue to working. Killed with press Ctrl+C. Before being killed, was the script idle or eating 100% CPU ? All the best signature.asc Description: This is a digitally signed message part.
Bug#735000: libconfig-model-dpkg-perl: On exec 'cme check dpkg-control' displayed error message 'EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted'
Package: libconfig-model-dpkg-perl Version: 2.043 Severity: normal Dear Maintainer, Steps to reproduce: 1. git clone ssh://alioth.debian.org/git/pkg-perl/packages/pinto.git 2. cd pinto 3. cme check dpkg-control Displayed: loading data Reading package lists... Done Building dependency tree Reading state information... Done Connecting to qa.debian.org to check debhelper versions. Please wait... Connecting to qa.debian.org to check libmodule-build-perl versions. Please wait... Connecting to qa.debian.org to check perl versions. Please wait... Connecting to qa.debian.org to check cpanminus versions. Please wait... Connecting to qa.debian.org to check libapache-htpasswd-perl versions. Please wait... Connecting to qa.debian.org to check libapp-cmd-perl versions. Please wait... Connecting to qa.debian.org to check apache2-utils versions. Please wait... Connecting to qa.debian.org to check libjson-pp-perl versions. Please wait... checking data got info for cpanminus got info for perl got info for libmodule-build-perl got info for debhelper got info for libapache-htpasswd-perl got info for libarchive-extract-perl EV: error in callback (ignoring): AnyEvent::CondVar: recursive blocking wait attempted at /usr/share/perl5/Config/Model/Dpkg/Dependency.pm line 536. got info for libapp-cmd-perl got info for libauthen-simple-passwd-perl got info for libcapture-tiny-perl got info for libthrowable-perl got info for liburi-perl got info for libtry-tiny-perl got info for libwww-perl got info for libuuid-tiny-perl got info for starman got info for adduser got info for apache2-utils got info for libjson-pp-perl Wait long time. Script continue to working. Killed with press Ctrl+C. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (x86_64) Kernel: Linux 3.12.5 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libconfig-model-dpkg-perl depends on: ii libanyevent-http-perl 2.15-1 ii libanyevent-perl7.070-1 ii libapt-pkg-perl 0.1.29+b1 ii libconfig-model-perl2.046-1 ii liblog-log4perl-perl1.41-1.1 ii libmodule-corelist-perl 3.03-1 ii libmouse-perl 2.1.0-1 ii libnamespace-autoclean-perl 0.15-1 ii libparse-recdescent-perl1.967009+dfsg-1 ii libsoftware-license-perl0.103008-1 ii libtext-autoformat-perl 1.669004-1 ii lintian 2.5.20 ii perl5.18.1-5 ii perl-modules [libmodule-corelist-perl] 5.18.1-5 Versions of packages libconfig-model-dpkg-perl recommends: ii libconfig-model-tkui-perl 1.340-1 libconfig-model-dpkg-perl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org