"Built target cxxdocs" hangs

Bug #867149 reported by Paul J. Lucas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Sorin Marian Nasoi

Bug Description

I did a clean build, make, then make doc and it gets to:

Patching output file 132/132
finished...
[100%] Built target cxxdocs

and the running zorba process hangs with 90%+ CPU. It didn't use to do this.

The reason for the high priority is that zorba hanging is serious. This is on Mac OS X (if it matters).

Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

I'm afraid I need a bit more information. I have tried on my Mac with doxygen 1.7.4 installed using the Mac installer provided by Doxygen. I didn't have any problems. Any further information you can provide on this would be really helpful.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

If I kill the process, I can see the command-line:

../../../bin/zorba --omit-xml-declaration -f -q "/Users/pjl/src/flwor/zorba/trunk-3/zorba/doc/zorba/xqdoc/src/xqdoc-main-zorbamodules-html.xq" -e "modulesPath:=/Users/pjl/src/flwor/zorba/trunk-3/zorba/modules" -e "xhtmlRequisitesPath:=/Users/pjl/src/flwor/zorba/trunk-3/zorba/doc/zorba/xqdoc" -e "xqdocBuildPath:=/Users/pjl/src/flwor/zorba/trunk-3/zorba/build/doc/zorba/xqdoc" -e "examplePath:=/Users/pjl/src/flwor/zorba/trunk-3/zorba" -e "zorbaVersion:=1.5"

Revision history for this message
Matthias Brantner (matthias-brantner) wrote :

How long did you try to let it run? More than 20 minutes? It might simply take that long.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

OK, you're right: it just takes a long time. But there is still an error:

</Users/pjl/src/flwor/zorba/trunk-3/zorba/build/URI_PATH/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq>:368,7: user-defined error [err:UE005]: xqdoc2html:gather-schemas /Users/pjl/Library/Application Support/Adobe/Adobe Device Central CS3/Devices/device-profile-1.0-coreData.xsd Message: empty sequence can not be promoted to type ""; raised at /Users/pjl/src/flwor/zorba/trunk-3/zorba/src/runtime/errors_and_diagnostics/errors_and_diagnostics_impl.cpp:77
=================================================
xqdoc2html:gather-schemas#3 <http://www.zorba-xquery.com/modules/xqdoc2xhtml/>
/Users/pjl/src/flwor/zorba/trunk-3/zorba/build/URI_PATH/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq at line 423 column 7
=================================================
xqdoc2html:copy-xhtml-requisites#4 <http://www.zorba-xquery.com/modules/xqdoc2xhtml/>
/Users/pjl/src/flwor/zorba/trunk-3/zorba/doc/zorba/xqdoc/src/xqdoc-main-zorbamodules-html.xq at line 11 column 1
make[3]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc] Error 31
make[2]: *** [doc/zorba/xqdoc/CMakeFiles/xqdoc.dir/all] Error 2
make[1]: *** [doc/CMakeFiles/doc.dir/rule] Error 2
make: *** [doc] Error 2

real8m44.672s
user6m33.292s
sys1m26.049s

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

I tried to reproduce the problem on my x64 bit Fedora machine using Zorba r11393 and I could not.

'make doc' takes long, that's true but it does not hang.

The fact that 'make doc' takes long is captured by SF bug #3300208:
https://sourceforge.net/tracker/?func=detail&aid=3300208&group_id=226244&atid=1067586

@Paul: are you sure you do not have any local changes?
I ask this because 'device-profile-1.0-coreData.xsd' shown in the error message you sent is not used by Zorba.
It is not part of Zorba trunk and it is not used by the documentation or anything AFAIK.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

There are no local changes. How can it possible be the case that zorba was accessing the file device-profile-1.0-coreData.xsd when that file is in ~/Library (which is not even within the zorba source tree)?

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

The only thing I can think of at the moment is that you also have an installed version of Zorba.
If so can you please remove it and try running 'make doc' again please?

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

I do no have an installed version of zorba.

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

Fixed in r11602
@Paul: can you please check and close the bug?

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

Now I get this:

[ 98%] Built target cxxdocs
make[1]: *** [doc/CMakeFiles/doc.dir/rule] Error 2
make: *** [doc] Error 2

Revision history for this message
Sorin Marian Nasoi (sorin.marian.nasoi) wrote :

@Paul: can you please check out the latest version of Zorba and external modules and close this bug if everything is ok?
Thanks.

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

I updated everything and did a clean build:

make -j9
make -j9 doc

and I get this:

....
Patching output file 126/127
Patching output file 127/127
finished...
[100%] Built target cxxdocs
make[1]: *** [doc/CMakeFiles/doc.dir/rule] Error 2
make: *** [doc] Error 2

Changed in zorba:
milestone: none → 2.1
Changed in zorba:
milestone: 2.1 → none
Chris Hillery (ceejatec)
tags: removed: v2.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.