From: Mat <mat...@gm...> - 2009-07-06 03:41:01
|
Hi Henry Bruce, I encountered the same problem, too. === execute result === terminate called after throwing an instance of 'DBus::Error' what(): Not enough memory Aborted ================== When I execute more times, it could connect successfully, and when I use other dbus-client to send request, like "d-feet" and "dbus-send", it works fine. So I guess the problem may caused by the client implementation. === machine === Linux localhost 2.6.30-gentoo-r1 #3 SMP Sun Jul 5 22:09:23 CST 2009 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GenuineIntel GNU/Linux gcc version 4.3.2 ============== === top === 4813 mat 20 0 132m 1584 1268 S 0 0.1 0:00.01 lt-echo-client- ========== Hope this helps, sincerely, Mat. On Fri, Jul 3, 2009 at 4:25 AM, Bruce, Henry <hen...@in...> wrote: > Andreas, > > Thanks for the reply. > > It looks like I used the default main loop. I'll look into swapping for the > glib main loop. I guess the glib sample shows me how to do this ? > > This is encouraging news, as I also have to support Visual Studio builds > (using WinDBus) and my initial port didn't go well, but it may have been the > other main loop options that caused the problems. > > FYI dbus-glib Visual Studio port went smoothly and is running fine, so I'm > tempted to go with the "bird in the hand" option. > > I'll do some digging and get back to you. > > Henry > > > -----Original Message----- > From: Andreas Volz [mailto:li...@br...] > Sent: Thursday, July 02, 2009 12:45 PM > To: dbu...@li... > Subject: Re: [dbus-cplusplus-devel] dbus-c++ echo sample fails > > Am Tue, 30 Jun 2009 12:46:17 -0700 schrieb Bruce, Henry: > > Hello Henry, > > To be honest I know this comment, but never experienced this error. And > I use Dbus-C++ for a heavy communicating application. > > Which main loop integration do you use? Try the Ecore or Glib loop. The > default one is buggy. > > regards > Andreas > > > All, > > > > I have been evaluating dbus-c++. I really like the design - it makes > > good use of C++ and is much easier to use the dbus-glib. I also like > > the use of XML service description files. When I built and ran the > > "echo" sample, the client failed after a few requests with a "not > > enough memory" exception. When I looked at the source for > > echo-client.cpp I saw the comment "For some strange reason, libdbus > > frequently dies with an OOM". Sure enough, it had. > > > > I'd really like to use dbus-c++, but it just doesn't seem stable > > enough. Has anyone root caused this behavior? > > > > Hoping that someone will save me from dbus-glib, > > > > Thanks, > > > > Henry Bruce > > > > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > dbus-cplusplus-devel mailing list > > dbu...@li... > > https://lists.sourceforge.net/lists/listinfo/dbus-cplusplus-devel > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > dbus-cplusplus-devel mailing list > dbu...@li... > https://lists.sourceforge.net/lists/listinfo/dbus-cplusplus-devel > > > ------------------------------------------------------------------------------ > _______________________________________________ > dbus-cplusplus-devel mailing list > dbu...@li... > https://lists.sourceforge.net/lists/listinfo/dbus-cplusplus-devel > |