could it be that gmon.out gets written only on a proper close of the app?
atm lyx with qt4 crashes on close:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220921120 (LWP 15049)]
0xb7bf7bcc in QPixmapCache::clear () from /usr/lib/libQtGui.so.4
(gdb) bt
#0 0xb7bf7bcc in QPixmapCache::clear () from /usr/lib/libQtGui.so.4
#1 0xb7bb0db5 in QApplicationPrivate::x11_initialize_style () from
/usr/lib/libQtGui.so.4
#2 0xb7b671d2 in QApplication::~QApplication () from /usr/lib/libQtGui.so.4
#3 0xb740a494 in exit () from /lib/tls/libc.so.6
#4 0x0834af33 in lyx_gui::exit () at
../../../../lyx-devel/src/frontends/qt4/lyx_gui.C:303
#5 0x0813e3fc in quitLyX (noask=false) at ../../lyx-devel/src/lyx_cb.C:219
#6 0x0815cb13 in LyXFunc::dispatch (this=0x872c3f0, [EMAIL PROTECTED])
at ../../lyx-devel/src/lyxfunc.C:1017
#7 0x08403da3 in lyx::frontend::QtView::closeEvent (this=0x872bf18)
at ../../../../lyx-devel/src/frontends/qt4/QtView.C:191
Edwin Leuven wrote:
Lars Gullik Bjønnes wrote:
| so what would be the correct way to get this working?
What do you mean?
You configure with enable-profiling, you run lyx play with it, you run
gprof to look at the generated profiling data. (found in gmon.out)
i configure as follows (config.log attached):
$ ../lyx-devel/configure --with-qt4-dir=/usr/share/qt4
--with-frontend=qt4 --disable-nls --disable-stdlib-debug --disable-pch
--enable-profiling --enable-optimization=-O2 --disable-assertions
--enable-debug --with-version-suffix=-qt4-cvs --prefix=/usr
but when i run lyx there is no gmon.out
edwin
--
http://leuven.ecodip.net