[Erp5-report] r22230 - /erp5/trunk/utils/oood/start.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jul 3 01:10:18 CEST 2008


Author: yo
Date: Thu Jul  3 01:10:17 2008
New Revision: 22230

URL: http://svn.erp5.org?rev=22230&view=rev
Log:
Not quite nice, but this works around double free problems which only crash a process. Suggested by kazuhiko.

Modified:
    erp5/trunk/utils/oood/start.py

Modified: erp5/trunk/utils/oood/start.py
URL: http://svn.erp5.org/erp5/trunk/utils/oood/start.py?rev=22230&r1=22229&r2=22230&view=diff
==============================================================================
--- erp5/trunk/utils/oood/start.py (original)
+++ erp5/trunk/utils/oood/start.py Thu Jul  3 01:10:17 2008
@@ -85,6 +85,7 @@
   # "'-display :%d' % config.virtual_display_id" argument is not working, that's why we use
   # environnment variable. See "man xhost" for more details.
   new_context = os.environ
+  new_context['MALLOC_CHECK_'] = '1'
   if on_top:
     args_and_env = [ BIN  # First arg is always the name of the binary software we execute
                  , '-accept=socket,host=%s,port=%d;urp;' % (config.pool_host, instance_port)




More information about the Erp5-report mailing list