Opened 5 years ago

Closed 5 days ago

#6301 closed defect (fixed)

Generation of documentation gets stuck

Reported by: Adrian Pop Owned by: Adrian Pop
Priority: high Milestone:
Component: Interactive Environment Version: v1.17.0-dev
Keywords: Cc:

Description (last modified by Per Östlund)

Had to kill this one:
python /usr/bin/../share/doc/omc/testmodels/generate_icons.py --quiet --output-dir Icons Physiolibrary

My guess is that using the NF will make it stuck as before we used the OF.

Change History (7)

comment:1 by Adrian Pop, 5 years ago

OMC dies because is ran with -d=newInst by default now and no -d=nfAPI

Evaluating:   > getComponentAnnotations(Physiolibrary.Hydraulic.Components.ElasticVessel)
Limited backtrace at point of segmentation fault
/lib/x86_64-linux-gnu/libc.so.6(+0x354c0)[0x7f5b70c274c0]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_List_map2__0+0x34)[0x7f5b71da6793]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_FUnitCheck_foldEquation+0xa4)[0x7f5b71b4b357]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_List_fold1+0x67)[0x7f5b71da6048]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_FUnitCheck_algo+0xd9)[0x7f5b71b4b6d5]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_FUnitCheck_checkUnits+0x255)[0x7f5b71b4c37c]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Inst_instantiateClass+0x167)[0x7f5b720cf56a]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_buildEnvForGraphicProgramFull+0x191)[0x7f5b71f1ac69]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_buildEnvForGraphicProgram+0x1af)[0x7f5b71f1aa39]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_getComponentitemsAnnotationsElArgs+0x57e)[0x7f5b71f1c1fb]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_getComponentitemsAnnotationsFromItems+0x11e)[0x7f5b71f1bb62]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_getComponentitemsAnnotations+0x1b2)[0x7f5b71f1c826]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_getComponentAnnotationsFromElts+0xc5)[0x7f5b71f1c991]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_getComponentAnnotations+0x11d)[0x7f5b71f2a429]
/usr/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_evaluateGraphicalApi__dispatch+0x1787)[0x7f5b71f4c669]
Segmentation fault (core dumped)

comment:3 by Francesco Casella, 5 years ago

@adrpo, did it work?

comment:4 by Adrian Pop, 5 years ago

Yes. The previous Documentation job was stuck since before Christmas. The Documentation job is working fine now.
We should however keep this ticket open and see why it dies with the new front-end.

Last edited 5 years ago by Adrian Pop (previous) (diff)

comment:5 by Francesco Casella, 5 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:6 by Francesco Casella, 5 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

comment:7 by Per Östlund, 5 days ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

The workaround of using the OF has now been reverted with https://github.com/OpenModelica/OpenModelica/pull/15267, and it seems to be working fine. Since the nfAPI has been the default for a long time now I guess this got accidentally fixed at some point.

Note: See TracTickets for help on using tickets.