Release build of moose crashes when python help() is invoked.
xyz@localhost:~/src/moose/python$ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import moose
on node 0, numNodes = 1, numCores = 8, numComputeThreads = 8
Info: Time to define moose classes:0
Info: Time to initialize module:0.09
help(moose)
Segmentation fault
Reported by: subhacom
Designs
Child items
...
Linked items
0
Link issues together to show that they're related.
Learn more.
Status: open
Labels: PyMOOSE
Created: Mon Apr 29, 2013 04:12 PM UTC by Subhasis Ray
Last Updated: Mon Apr 29, 2013 04:12 PM UTC
Owner: Subhasis Ray
Release build of moose crashes when python help() is invoked.
xyz@localhost:~/src/moose/python$ pythonPython 2.7.3 (default, Aug 1 2012, 05:14:39)[GCC 4.6.3] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import mooseon node 0, numNodes = 1, numCores = 8, numComputeThreads = 8Info: Time to define moose classes:0Info: Time to initialize module:0.09>>> help(moose)Segmentation fault
Status: open
Labels: PyMOOSE
Created: Mon Apr 29, 2013 04:12 PM UTC by Subhasis Ray
Last Updated: Mon Apr 29, 2013 04:12 PM UTC
Owner: Subhasis Ray
Release build of moose crashes when python help() is invoked.
xyz@localhost:~/src/moose/python$ pythonPython 2.7.3 (default, Aug 1 2012, 05:14:39)[GCC 4.6.3] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import mooseon node 0, numNodes = 1, numCores = 8, numComputeThreads = 8Info: Time to define moose classes:0Info: Time to initialize module:0.09>>> help(moose)Segmentation fault
Status: open
Labels: PyMOOSE
Created: Mon Apr 29, 2013 04:12 PM UTC by Subhasis Ray
Last Updated: Mon Apr 29, 2013 04:12 PM UTC
Owner: Subhasis Ray
Release build of moose crashes when python help() is invoked.
xyz@localhost:~/src/moose/python$ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import moose
on node 0, numNodes = 1, numCores = 8, numComputeThreads = 8
Info: Time to define moose classes:0
Info: Time to initialize module:0.09
help(moose)
Segmentation fault
Dear Subha,
Optimisation zero isn't too helpful, one wants to have the code optimised.
Best,
Upi
-------- Original message --------
From: Subhasis Ray subha_@users.sf.net
Date: 30/04/2013 10:40 (GMT+05:30)
To: "[moose:bugs]" 113@bugs.moose.p.re.sf.net
Subject: [moose:bugs] #113 (closed) Release build of moose crashes when python help() is invoked
This happens with optimization by GCC and goes away when -O0 option is specified at compile time.
[bugs:#113 (closed)] Release build of moose crashes when python help() is invoked
Status: open
Labels: PyMOOSE
Created: Mon Apr 29, 2013 04:12 PM UTC by Subhasis Ray
Last Updated: Mon Apr 29, 2013 04:12 PM UTC
Owner: Subhasis Ray
Release build of moose crashes when python help() is invoked.
xyz@localhost:~/src/moose/python$ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import moose
on node 0, numNodes = 1, numCores = 8, numComputeThreads = 8
Info: Time to define moose classes:0
Info: Time to initialize module:0.09
help(moose)
Segmentation fault