Hi,

I'm having this problem and have been unable to find any information about 
what might be causing the core dumps. Using the -P flag doesn't help 
because it dumps before it goes to the debugger.

It's definitely something specific to certain files within my module, but 
it happens on import of the file that it is attempting to build. Other 
pages are successfully built before the specific submodule in question and 
if I remove that submodule it will continue until the next core dump. It is 
not all but quite a few of my submodules that cause it. 

Verbose information only gives:

reading sources... [  4%] modules/pocs.camera
[app] emitting event: 'env-purge-doc'(<sphinx.environment.BuildEnvironment 
object at 0x7f1afbf84ba8>, 'modules/pocs.camera')
[app] emitting event: 'source-read'('modules/pocs.camera', ['pocs.camera 
package\n===================\n\n.. automodule:: pocs.camera\n 
[autodoc] /var/panoptes/POCS/docs/modules/pocs.camera.rst:4: input:
.. automodule:: pocs.camera
    :members:
    :undoc-members:
    :show-inheritance:

[autodoc] import pocs.camera
[1]    10294 segmentation fault (core dumped)  sphinx-build -vvv -P . _build

The file in question is here 
<https://github.com/panoptes/POCS/blob/develop/pocs/camera/camera.py>.

Any tips appreciated. Thanks!

On Saturday, March 11, 2017 at 8:06:13 PM UTC+11, Komiya Takeshi wrote:
>
> Hi, 
>
> You can use -vvv or -P option for debugging. 
> If you feel this is bug of Sphinx-core, please report to github issues. 
>
> Thanks, 
>
> 2017-03-11 6:05 GMT+09:00 Anh Nguyen <[email protected] <javascript:>>: 
> > Anybody run into this or know how to debug the source of the core dump? 
> I'm 
> > using sphinx 1.5.3 and python 2.7. 
> > 
> > $ sphinx-build -b html source build 
> > Running Sphinx v1.5.3 
> > loading pickled environment... not yet created 
> > building [mo]: targets for 0 po files that are out of date 
> > building [html]: targets for 4 source files that are out of date 
> > updating environment: 4 added, 0 changed, 0 removed 
> > Segmentation fault (core dumped) 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "sphinx-users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/sphinx-users. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to