Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Ubuntu 11.10 EMEdit segmentation fault

Ubuntu 11.10 EMEdit segmentation fault

I get a segmentation fault in OMEdit running anything. It loads the model ok. Say bubblesort.mo. If you select something to plot and then click initialise. It seg faults.
i.e.
$ OMEdit
Segmentation fault

Running under gdb it gives:
New Thread 0x7fffdbdf4700 (LWP 8833)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff421c4f4 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4                                                             
(g

libqtcore4 is latest version 4.7.4-0ubuntu8

I could use some help here.

Thanks,

Paul

Re: Ubuntu 11.10 EMEdit segmentation fault

Hi,

Not sure what is causing the segmentation fault. I will look into this problem soon. Also it looks like you are using interactive simulation. Try to use static simulation.

Adeel.

Re: Ubuntu 11.10 EMEdit segmentation fault

Ok. Thanks for looking into it.

Paul

Re: Ubuntu 11.10 EMEdit segmentation fault

Running bubblesort.mo in OMShell and then plotting, produces:

/usr/share/doc/omc/testmodels$ OMShell
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x520005b

under gdb this looks like:

Reading symbols from /usr/bin/OMShell...(no debugging symbols found)...done.
(gdb) run OMShell
Starting program: /usr/bin/OMShell OMShell
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffecfd4700 (LWP 28297)]
[New Thread 0x7fffec7d3700 (LWP 28301)]
Temp.Dir cd("/tmp/OpenModelica/")
cdToTempDir: "/tmp/OpenModelica"
OMC version 1.8.0 (r10562)
OPENMODELICAHOME: /usr
[New Thread 0x7fffe8e2b700 (LWP 28304)]
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x520005b

There are 0 guests and 0 other users also viewing this topic
You are here: