I've done some testing on current cvs texmacs and the situation is the
following:
- linking with qt4.4.3 release version leads to crash (gdb session
attached below).
- linking with qt4.4.3 debug version works fine
- linking with qt4.3.5 debug or release works fine
So current hypothesis is that it is a problem with the release version
of 4.4.3. Moreover I just commited some patches which should allow
correct visualization of characters under Linux (at least for me works
on Red Hat Enterprise with Linux 2.6.9-78.0.1.ELsmp)
Massimiliano
GNU gdb Red Hat Linux (6.3.0.0-1.159.el4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".
(gdb) run -debug-events
Starting program: /hd1/home1/mgubi/t/src/TeXmacs/bin/texmacs.bin -debug-events
[Thread debugging using libthread_db enabled]
[New Thread -1208232256 (LWP 16579)]
Detaching after fork from child process 16598.
Detaching after fork from child process 16599.
Detaching after fork from child process 16600.
Detaching after fork from child process 16602.
Detaching after fork from child process 16603.
Detaching after fork from child process 16605.
Detaching after fork from child process 16606.
Detaching after fork from child process 16608.
Detaching after fork from child process 16609.
Detaching after fork from child process 16611.
Detaching after fork from child process 16612.
Detaching after fork from child process 16614.
Detaching after fork from child process 16615.
Detaching after fork from child process 16617.
Detaching after fork from child process 16618.
Detaching after fork from child process 16620.
TeXmacs] With linked TrueType support
Detaching after fork from child process 16621.
Detaching after fork from child process 16624.
Detaching after fork from child process 16625.
Detaching after fork from child process 16628.
Detaching after fork from child process 16629.
Detaching after fork from child process 16632.
Detaching after fork from child process 16633.
Detaching after fork from child process 16636.
qt_window_widget_rep::send SLOT_SIZE
qt_window_widget_rep::send SLOT_POSITION
Moving to (0,40)
qt_window_widget_rep::send SLOT_VISIBILITY
[qt_simple_widget_rep] qt_view_widget_rep::query SLOT_IDENTIFIER
[qt_simple_widget_rep] qt_view_widget_rep::send SLOT_INVALIDATE_ALL
qt_tm_widget_rep::write SLOT_CANVAS
qt_tm_widget_rep::query SLOT_IDENTIFIER
qt_view_widget_rep::query SLOT_IDENTIFIER
qt_tm_widget_rep::write SLOT_MAIN_MENU
qt_tm_widget_rep::write SLOT_MAIN_ICONS
qt_tm_widget_rep::write SLOT_CONTEXT_ICONS
qt_tm_widget_rep::write SLOT_USER_ICONS
qt_tm_widget_rep::send SLOT_NAME
qt_view_widget_rep::send SLOT_NAME
qt_tm_widget_rep::query SLOT_VISIBLE_PART
Visible Region (0,0,0,0)
[qt_simple_widget_rep] qt_view_widget_rep::query SLOT_IDENTIFIER
qt_tm_widget_rep::send SLOT_SCROLLBARS_VISIBILITY
qt_view_widget_rep::send SLOT_SCROLLBARS_VISIBILITY
[qt_simple_widget_rep] qt_view_widget_rep::query SLOT_IDENTIFIER
[qt_simple_widget_rep] qt_view_widget_rep::send SLOT_INVALIDATE
Invalidating rect (21,73,4,11)
qt_tm_widget_rep::send SLOT_EXTENTS
qt_tm_widget_rep::query SLOT_VISIBLE_PART
Visible Region (0,0,755,158)
qt_tm_widget_rep::send SLOT_SCROLL_POSITION
Position (-353,4)
[qt_simple_widget_rep] qt_view_widget_rep::send SLOT_INVALIDATE_ALL
[qt_simple_widget_rep] qt_view_widget_rep::send SLOT_INVALIDATE
Invalidating rect (-3,-3,5,6)
[qt_simple_widget_rep] qt_view_widget_rep::send SLOT_INVALIDATE
Invalidating rect (20,73,5,13)
[qt_simple_widget_rep] qt_view_widget_rep::send SLOT_INVALIDATE_ALL
Detaching after fork from child process 16637.
Detaching after fork from child process 16638.
[qt_simple_widget_rep] qt_view_widget_rep::send SLOT_MOUSE_POINTER
qt_tm_widget_rep::write SLOT_MAIN_ICONS
qt_tm_widget_rep::write SLOT_CONTEXT_ICONS
qt_tm_widget_rep::send SLOT_LEFT_FOOTER
qt_tm_widget_rep::send SLOT_RIGHT_FOOTER
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208232256 (LWP 16579)]
qt_memfill32_sse2 (dest=0x97cd760, value=19, count=34) at
/usr/lib/gcc/i386-redhat-linux/3.4.6/include/emmintrin.h:607
607 __u.__a[3] = __Z;
(gdb) bt
#0 qt_memfill32_sse2 (dest=0x97cd760, value=19, count=34) at
/usr/lib/gcc/i386-redhat-linux/3.4.6/include/emmintrin.h:607
#1 0x00a90e68 in QImage::fill (this=0xbfeff04c, pixel=19) at
../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_p.h:1445
#2 0x00d1e02d in QWindowsStyle::drawPrimitive (this=0x9276cf8,
pe=QStyle::PE_IndicatorArrowDown, opt=0xbff00a9c, p=0xbff0297c, w=0x979a4e0)
at styles/qwindowsstyle.cpp:1390
#3 0x00ce492e in QPlastiqueStyle::drawPrimitive (this=0x9276cf8,
element=QStyle::PE_IndicatorArrowDown, option=0xbff00a9c, painter=0xbff0297c,
widget=0x979a4e0) at styles/qplastiquestyle.cpp:2006
#4 0x00c92e16 in QCommonStyle::drawComplexControl (this=0x9276cf8,
cc=QStyle::CC_ToolButton, opt=0xbff0291c, p=0xbff0297c, widget=0x979a4e0)
at styles/qcommonstyle.cpp:3119
#5 0x00d26b5c in QWindowsStyle::drawComplexControl (this=0x9276cf8,
cc=QStyle::CC_ToolButton, opt=0xbff0291c, p=0xbff0297c, widget=0x979a4e0)
at styles/qwindowsstyle.cpp:3173
#6 0x00cedefe in QPlastiqueStyle::drawComplexControl (this=0x9276cf8,
control=QStyle::CC_ToolButton, option=0xbff0291c, painter=0xbff0297c,
widget=0x979a4e0) at styles/qplastiquestyle.cpp:4966
#7 0x00e15c57 in QToolButton::paintEvent (this=0x979a4e0) at
../../include/QtGui/../../src/gui/painting/qstylepainter.h:90
#8 0x00a3e544 in QWidget::event (this=0x979a4e0, event=0xbff02fcc) at
kernel/qwidget.cpp:7301
#9 0x00d3a8cc in QAbstractButton::event (this=0x979a4e0, e=0xbff02fcc) at
widgets/qabstractbutton.cpp:1072
#10 0x00e14376 in QToolButton::event (this=0x979a4e0, e=0xbff02fcc) at
widgets/qtoolbutton.cpp:1103
#11 0x009ed68e in QApplicationPrivate::notify_helper (this=0x91f13f8,
receiver=0x979a4e0, e=0xbff02fcc) at kernel/qapplication.cpp:3803
#12 0x009ed864 in QApplication::notify (this=0x922c358, receiver=0x979a4e0,
e=0xbff02fcc) at kernel/qapplication.cpp:3768
#13 0x005e47de in QCoreApplication::notifyInternal (this=0x922c358,
receiver=0x979a4e0, event=0xbff02fcc) at kernel/qcoreapplication.cpp:587
#14 0x00a49077 in qt_sendSpontaneousEvent (receiver=0x979a4e0, event=0x2) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#15 0x00a42c91 in QWidgetPrivate::drawWidget (this=0x978a590, pdev=0x93c795c,
[EMAIL PROTECTED], [EMAIL PROTECTED], flags=4, sharedPainter=0x972e908)
at kernel/qwidget.cpp:4636
#16 0x00a436f7 in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=4, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
../../include/QtGui/../../src/gui/kernel/qwidget.h:139
#17 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=5, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#18 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=6, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#19 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=7, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#20 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=8, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#21 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=9, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#22 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=10, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#23 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=11, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#24 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=12, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#25 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=13, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#26 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=14, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#27 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=15, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#28 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=16, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#29 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=17, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
---Type <return> to continue, or q <return> to quit---
#30 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=18, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#31 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=19, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#32 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=20, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#33 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=21, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#34 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=22, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#35 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=23, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#36 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=24, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#37 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=25, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#38 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=26, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#39 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=27, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#40 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=28, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#41 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=29, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#42 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=30, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#43 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x93be1b0,
pdev=0x93c795c, [EMAIL PROTECTED], index=31, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#44 0x00a429b3 in QWidgetPrivate::drawWidget (this=0x93be1b0, pdev=0x93c795c,
[EMAIL PROTECTED], [EMAIL PROTECTED], flags=4, sharedPainter=0x972e908)
at ../../include/QtCore/../../src/corelib/tools/qlist.h:113
#45 0x00a436f7 in QWidgetPrivate::paintSiblingsRecursive (this=0x92da5d8,
pdev=0x93c795c, [EMAIL PROTECTED], index=4, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
../../include/QtGui/../../src/gui/kernel/qwidget.h:139
#46 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x92da5d8,
pdev=0x93c795c, [EMAIL PROTECTED], index=5, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#47 0x00a435ba in QWidgetPrivate::paintSiblingsRecursive (this=0x92da5d8,
pdev=0x93c795c, [EMAIL PROTECTED], index=6, [EMAIL PROTECTED],
[EMAIL PROTECTED], flags=4, sharedPainter=0x972e908) at
kernel/qwidget.cpp:4721
#48 0x00a429b3 in QWidgetPrivate::drawWidget (this=0x92da5d8, pdev=0x93c795c,
[EMAIL PROTECTED], [EMAIL PROTECTED], flags=4, sharedPainter=0x972e908)
at ../../include/QtCore/../../src/corelib/tools/qlist.h:113
#49 0x00baf376 in QWidgetBackingStore::cleanRegion (this=0x93c7940, [EMAIL
PROTECTED], widget=0x93aea78, recursiveCopyToScreen=true)
at ../../include/QtGui/../../src/gui/kernel/qwidget.h:139
#50 0x00baf498 in qt_syncBackingStore (widget=0x93aea78) at
painting/qbackingstore.cpp:313
#51 0x00a3de88 in QWidget::event (this=0x93aea78, event=0xbff0601c) at
kernel/qwidget.cpp:7447
#52 0x00da3c3f in QMainWindow::event (this=0x93aea78, event=0xbff0601c) at
widgets/qmainwindow.cpp:1268
#53 0x009ed68e in QApplicationPrivate::notify_helper (this=0x91f13f8,
receiver=0x93aea78, e=0xbff0601c) at kernel/qapplication.cpp:3803
#54 0x009ed864 in QApplication::notify (this=0x922c358, receiver=0x93aea78,
e=0xbff0601c) at kernel/qapplication.cpp:3768
#55 0x005e47de in QCoreApplication::notifyInternal (this=0x922c358,
receiver=0x93aea78, event=0xbff0601c) at kernel/qcoreapplication.cpp:587
#56 0x00a6bd92 in QWidgetPrivate::dirtyWidget_sys (this=0x92da5d8, [EMAIL
PROTECTED], updateImmediately=true)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#57 0x00bacd2a in QWidgetBackingStore::dirtyRegion (this=0x93c7940, [EMAIL
PROTECTED], widget=0x93aec10, updateImmediately=false)
at ../../include/QtGui/../../src/gui/kernel/qwidget.h:139
---Type <return> to continue, or q <return> to quit---
#58 0x00bae4b5 in QWidget::repaint (this=0x93aec10, [EMAIL PROTECTED]) at
painting/qbackingstore.cpp:1140
#59 0x00a342c5 in QWidget::repaint (this=0x93aec10) at kernel/qwidget.cpp:8933
#60 0x00df44b6 in QStatusBar::reformat (this=0x93aec10) at
widgets/qstatusbar.cpp:530
#61 0x00df4d6a in QStatusBar::event (this=0x93aec10, e=0x9726e48) at
widgets/qstatusbar.cpp:761
#62 0x009ed68e in QApplicationPrivate::notify_helper (this=0x91f13f8,
receiver=0x93aec10, e=0x9726e48) at kernel/qapplication.cpp:3803
#63 0x009ed864 in QApplication::notify (this=0x922c358, receiver=0x93aec10,
e=0x9726e48) at kernel/qapplication.cpp:3768
#64 0x005e47de in QCoreApplication::notifyInternal (this=0x922c358,
receiver=0x93aec10, event=0x9726e48) at kernel/qcoreapplication.cpp:587
#65 0x005e837f in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
event_type=0, data=0x91f4860) at kernel/qcoreapplication.h:209
#66 0x005e8517 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1091
#67 0x082e16f7 in qt_gui_rep::event_loop (this=0x9289000) at
/home1/mgubi/t/local/include/QtCore/qcoreapplication.h:214
#68 0x082e1dce in gui_start_loop () at ./Plugins/Qt/qt_gui.cpp:631
#69 0x0832ccba in TeXmacs_main (argc=2, argv=0xbff06d64) at
./Texmacs/Texmacs/texmacs.cpp:234
#70 0x081d3a06 in new_call_back (closure=0x0, argc=2, argv=0xbff06d64) at
./Guile/Scheme/evaluate.cpp:29
#71 0x003ee06c in invoke_main_func (body_data=0xbff06c50) at init.c:367
#72 0x003c71c3 in c_body (d=0xbff06bd0) at continuations.c:350
#73 0x00426cc9 in scm_c_catch (tag=0x104, body=0x3c71b4 <c_body>,
body_data=0xbff06bd0, handler=0x3c71d0 <c_handler>, handler_data=0xbff06bd0,
pre_unwind_handler=0x4274a0 <scm_handle_by_message_noexit>,
pre_unwind_handler_data=0x0) at throw.c:200
#74 0x003c7193 in scm_i_with_continuation_barrier (body=0x3c71b4 <c_body>,
body_data=0xbff06bd0, handler=0x3c71d0 <c_handler>,
handler_data=0xbff06bd0, pre_unwind_handler=0x4274a0
<scm_handle_by_message_noexit>, pre_unwind_handler_data=0x0) at
continuations.c:326
#75 0x003c7223 in scm_c_with_continuation_barrier (func=0, data=0x0) at
continuations.c:368
#76 0x00424ec4 in scm_i_with_guile_and_parent (func=0x3ee03c
<invoke_main_func>, data=0xbff06c50, parent=0x0) at threads.c:695
#77 0x00424f0c in scm_with_guile (func=0x3ee03c <invoke_main_func>,
data=0xbff06c50) at threads.c:683
#78 0x003ee01f in scm_boot_guile (argc=2, argv=0xbff06d64, main_func=0x81d39f0
<new_call_back>, closure=0x0) at init.c:350
#79 0x081d3a2c in start_guile (argc=2, argv=0xbff06d64, call_back=0x832ae1c
<TeXmacs_main(int, char**)>) at ./Guile/Scheme/evaluate.cpp:37
#80 0x0832d652 in main (argc=2, argv=0xbff06d64) at
./Texmacs/Texmacs/texmacs.cpp:301
On 30 sept. 08, at 18:39, Juan Pablo Romero Méndez wrote:
Ok, now I've set TEXMACS_PATH and GUILE_LOAD_PATH properly and
compiled with --enable-debug
I'm using Qt 4.4.0
gcc: 4.2.1
KDE 4.1.1
Attached is the output of gdb.
On Tue, Sep 30, 2008 at 6:29 AM, <[EMAIL PROTECTED]> wrote:
Thanks,
On 30 sept. 08, at 08:25, Juan Pablo Romero Méndez wrote:
Now it compiles with just one change:
in src/Plugins/Qt/QTMGuiHelper.hpp
line 45:
virtual int QTMStyle::pixelMetric(PixelMetric metric, const
QStyleOption *opt, const QWidget *widget) const;
gcc 4.2.1 requires:
virtual int pixelMetric(PixelMetric metric, const QStyleOption *opt,
const QWidget *widget) const;
The problem is in execution; it seg faults with any keystroke.
I've tried debugging it, but I'm not sure how. I tried launching
"gdb
texmacs.bin procID"
this is the result of "bt":
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program:
/home/jpablo/extra/texmacs-cvs/libexec/TeXmacs/bin/texmacs.bin
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6efb9b0 (LWP 12021)]
TeXmacs] couldn't concretize ? (none)
TeXmacs] couldn't concretize ? (none)
TeXmacs] couldn't concretize ? (concat, xxx, ? (concat, fonts,
type1))
TeXmacs] couldn't concretize ? (concat, xxx, ? (concat, fonts,
type1))
TeXmacs]
TeXmacs] Installation problem: please send a bug report.
TeXmacs] The initialization file init-texmacs.scm could not be
found.
TeXmacs] Please check the values of the environment variables
TeXmacs] TEXMACS_PATH and GUILE_LOAD_PATH. init-texmacs.scm should
TeXmacs] be readable and in the directory $TEXMACS_PATH/progs
TeXmacs] or in the directory $GUILE_LOAD_PATH
TeXmacs]
Fatal error: Guile could not be found in 'init_guile'
See file : init_texmacs.cpp
Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6efb9b0 (LWP 12021)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb70568f5 in raise () from /lib/libc.so.6
#2 0xb70581e1 in abort () from /lib/libc.so.6
#3 0x08421b85 in FT_Select_Charmap ()
#4 0x085ba300 in ?? ()
#5 0x085950fd in ?? ()
#6 0x00000001 in ?? ()
#7 0xbfccac7c in ?? ()
#8 0x00000018 in ?? ()
#9 0x00000018 in ?? ()
#10 0x0000000a in ?? ()
#11 0x0841fdb0 in FT_Select_Charmap ()
#12 0x00000020 in ?? ()
#13 0x0863bc01 in ?? ()
#14 0x705ba300 in ?? ()
#15 0xbfccac7c in ?? ()
#16 0xbfccac78 in ?? ()
#17 0xbfccac74 in ?? ()
#18 0xbfccac98 in ?? ()
#19 0x083237d8 in FT_Select_Charmap ()
#20 0xbfccac7c in ?? ()
#21 0xbfccac78 in ?? ()
#22 0xbfccac74 in ?? ()
#23 0xbfccac68 in ?? ()
#24 0xb7095179 in free () from /lib/libc.so.6
Backtrace stopped: previous frame inner to this frame (corrupt
stack?)
(gdb)
If you want to debug by calling directly the executable I think you
should
properly set TEXMACS_PATH and GUILE_LOAD_PATH before.
Also, what verision of Qt do you have?
massimiliano
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev
<gdb-texmacs-qt.txt>_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev
_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev