Opened 10 years ago

Closed 4 years ago

#3000 closed defect (invalid)

Stack Overflow detected and not caught with OMC

Reported by: ravi.saripalli@… Owned by: Per Östlund
Priority: high Milestone: never
Component: Frontend Version: trunk
Keywords: Cc:

Description

Repository Root: https://openmodelica.org/svn/OpenModelica
Repository UUID: f25d12d1-65f4-0310-ae8a-bbce733d8d8e
Revision: 23550

Linux vishnu 3.17.2-200.fc20.x86_64 #1 SMP Tue Nov 4 18:04:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7)

======================================================================
Notification: Automatically loaded package Complex 3.2.1 due to uses annotation.
Notification: Automatically loaded package ModelicaServices 3.2.1 due to uses annotation.

Compile command: g++
Temp folder path: /tmp
Installation folder: /home/ravi/software/om/src/build
Modelica path: /home/ravi/software/om/lib/omlibrary
../plant.mo is Loaded
../summary.mo is Loaded
Checking Model
Execution failed!
Stack overflow detected and was not caught.
Send us a bug report at https://trac.openmodelica.org/OpenModelica/newticket

Include the following trace:

[bt] Execution path:
[bt] #0 /lib64/libpthread.so.0() [0x35ca60f6d0]
[bt] #1 /home/ravi/software/om/src/build/bin/../lib/omc/libgc.so.1(GC_clear_stack_inner+0x1e) [0x7fc78b9f682e]
[bt] #2..7 /home/ravi/software/om/src/build/bin/../lib/omc/libgc.so.1(GC_clear_stack_inner+0x36) [0x7fc78b9f6846]
[bt] #8 /home/ravi/software/om/src/build/bin/../lib/omc/libgc.so.1(GC_clear_stack+0x4e) [0x7fc78b9f68ae]
[bt] #9 /home/ravi/software/om/src/build/bin/../lib/omc/libgc.so.1(GC_generic_malloc_many+0x381) [0x7fc78b9f32b1]
[bt] #10 /home/ravi/software/om/src/build/bin/../lib/omc/libgc.so.1(GC_malloc+0xb9) [0x7fc78b9fae99]
[bt] #11 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeEnv_setImportTableHidden+0xe7) [0x7fc78adb4767]
[bt] #12 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeEnv_setImportsInItemHidden+0x81) [0x7fc78adb4821]
[bt] #13 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeLookup_lookupInBaseClasses3+0x10a) [0x7fc78ada2b5a]
[bt] #14 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeLookup_lookupInBaseClasses2+0x124) [0x7fc78ada2e04]
[bt] #15 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeLookup_lookupInBaseClasses+0xa0) [0x7fc78ada2fd0]
[bt] #16 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeLookup_lookupInLocalScope+0x2b4) [0x7fc78ada3d34]
[bt] #17 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeLookup_lookupNameInPackage+0xfd) [0x7fc78ada489d]
[bt] #18 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_NFSCodeLookup_lookupNameInItem+0xdd) [0x7fc78ada4cad]
/libOpenModelicaCompiler.so(omc_NFSCodeLookup_lookupInUnqualifiedImports+0x1f2) .
[
.........

meInItem+0xdd) [0x7fc78ada4cad]
[0x7fc78a700eab
[bt] #29954 /home/ravi/software/om/src/build/bin/../lib/omc/libOpenModelicaCompiler.so(omc_main+0x1f6) [0x7fc78b0ddd66]
[bt] #29955 /lib64/libc.so.6(
libc_start_main+0xf5) [0x35c9e21d65]
[bt] #29956 omc() [0x400801]

Change History (2)

comment:1 by Martin Sjölund, 10 years ago

Owner: changed from somebody to Per Östlund
Status: newassigned

I guess this is related to #2881, but it is hard to tell without the files causing the stack overflow in this case.

comment:2 by Per Östlund, 4 years ago

Milestone: Futurenever
Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.