- Index
- » Users
- » paulne
- » Profile
Posts
Posts
Thank you for the help with configuring OM under Ubuntu 11.10
Compiling with the flags -g -O0 -fno-inline -fno-eliminate-unused-debug-types
I still get the seg fault in OMEdit when plotting Bubblesort.mo
running under gdb, a stack backtrace gives:
#0 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
#1 0x00007ffff4606094 in QAbstractSocket::disconnectFromHost() () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#2 0x00007ffff4609938 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#3 0x00007ffff45f8551 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#4 0x00007ffff4a83424 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5 0x00007ffff4a88291 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6 0x00007ffff4212afc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff423d5b7 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff1c1da5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9 0x00007ffff1c1e258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff1c1e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff423ded6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#12 0x00007ffff4b2b07e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffff4211cf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007ffff4211ef7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffff4216789 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#16 0x000000000042e9e3 in main ()
Some suggestions where to look would speed things up and be seriously appreciated.
Again thanks for the help.
Paul
While compiling qtclients for 64 bit Kubuntu 11.10 per the instructions in README.Linux.txt from a svc from today I get the following error:
..-I. -I. -o main.o ../main.cpp
In file included from ../GUI/Tabs/TabProject.h:50:0,
from ../GUI/MainWindow.h:50,
from ../main.cpp:43:
../GUI/Plots/MOOptPlot.h:78:55: error: ‘QwtDoublePoint’ does not name a type
Adding:
#include <qwt_interval.h>
#include <qwt_point_3d.h>
#include <qwt_compat.h>
to MOOptPlot.h allows the compile to proceed until:
In file included from ../GUI/Tabs/TabProject.h:50:0,
from ../GUI/MainWindow.h:50,
from ../main.cpp:43:
../GUI/Plots/MOOptPlot.h:93:42: error: ‘QwtPlotPrintFilter’ does not name a type
Looking at the doc and in /usr/include/qwt/ I cannot find QwtPlotPrintFilter in version qwt 6.0.0
What version of qwt is qtclients compiled against
Some suggestions for this would be appreciated.
Paul
allows this compile tp proceed
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
Ok. Thanks for looking into it.
Paul
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
omc r 10506
make[2]: Entering directory `/home/paul/mod2/Compiler/omc_release'
...
CodegenC.mo:1.3-1.5 Error: syntax error: deleting LT_INT LT_INT LT_INT
Error: ParseError
Compiled r 10469 for Kubuntu v 11.10 64 bit ok. Had about 10 test failures. Would you like the details?
Version r 10469 works in Kubuntu 11.10 now for me.
Thanks,
Paul N
I too have this problem with r 10442 and r 10460
Three things I tried:
1. In Modelica/trunk/SimulationRuntime/interactive
file: Makefile.in
line 10: change -I../c/math-support
to: -I../c/simulation/math-support
2. In Modelica/trunk/SimulationRuntime/c/simulation/solver
file: Makefile.in
line 10: change -I../math-support
to: -I../../math-support
3. In Modelica/trunk/SimulationRuntime/c/simulation/results
file: Makefile.in
line 10: change -I../math-support
to: -I../../math-support
While this allowed the compiles to proceed, alas things died again on:
ar: creating libSimulationCRuntime.a
ar: ./simulation/math-support/bigden.o: No such file or directory
make[1]: *** [libSimulationCRuntime.a] Error 1
make[1]: Leaving directory Modelica/trunk/SimulationRuntime/c'
Some help would be appreciated.
Paul Neelands
- Index
- » Users
- » paulne
- » Profile