Opened 4 years ago

Last modified 4 years ago

#6301 new defect

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

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 (6)

comment:1 by Adrian Pop, 4 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, 4 years ago

@adrpo, did it work?

comment:4 by Adrian Pop, 4 years ago

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

Version 0, edited 4 years ago by Adrian Pop (next)

comment:5 by Francesco Casella, 4 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, 4 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.