[texworks] TeXworks-0.4 on OpenBSD

Edd Barrett vext01 at gmail.com
Wed Apr 13 15:55:19 CEST 2011


On Wed, Apr 13, 2011 at 12:05:32PM +0100, Edd Barrett wrote:
> Hi,
> 
> I have almost finished porting 0.4 to OpenBSD, there was minor patching
> required.

Doh, i spoke too soon. TeXworks locks up every 10 minutes of so and
eventually crashes. Here is a backtrace, any ideas? I will leave this
terminal open so that I can probe deeper if anyone know how to debug
this, I don't even know which frame to begin with...

(gdb) run
Starting program: /usr/local/bin/texworks 
[New process 28077]
pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010-OpenBSD_Ports)
kpathsea version 6.0.0
Copyright 2010 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.44; using libpng 1.2.44
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with poppler version 0.14.5

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 28077, thread 0x20ca6d800]
0x00000002056e9bc5 in QPathSegments::addPath ()
   from /usr/local/lib/libQtGui.so.10.0
(gdb) bt
#0  0x00000002056e9bc5 in QPathSegments::addPath ()
   from /usr/local/lib/libQtGui.so.10.0
#1  0x00000002056ed2c3 in QWingedEdge::QWingedEdge ()
   from /usr/local/lib/libQtGui.so.10.0
#2  0x00000002056ed58f in QPathClipper::clip ()
   from /usr/local/lib/libQtGui.so.10.0
#3  0x00000002056e0e8a in QPainterPath::simplified ()
   from /usr/local/lib/libQtGui.so.10.0
#4  0x00000002056ed7dc in QPathClipper::clip ()
   from /usr/local/lib/libQtGui.so.10.0
#5  0x00000002056e0f9b in QPainterPath::subtracted ()
   from /usr/local/lib/libQtGui.so.10.0
#6  0x00000002056e1079 in QPainterPath::operator- ()
   from /usr/local/lib/libQtGui.so.10.0
#7  0x00000002056e109f in QPainterPath::operator-= ()
   from /usr/local/lib/libQtGui.so.10.0
#8  0x00000002057fa4ca in QTextLayout::draw ()
   from /usr/local/lib/libQtGui.so.10.0
#9  0x000000020582fd81 in QTextDocumentLayoutPrivate::drawBlock ()
   from /usr/local/lib/libQtGui.so.10.0
#10 0x0000000205833a50 in QTextDocumentLayoutPrivate::drawFlow ()
   from /usr/local/lib/libQtGui.so.10.0
#11 0x0000000205832736 in QTextDocumentLayoutPrivate::drawFrame ()
   from /usr/local/lib/libQtGui.so.10.0
#12 0x000000020583c9ee in QTextDocumentLayout::draw ()
   from /usr/local/lib/libQtGui.so.10.0
#13 0x00000002057d8378 in QTextControl::drawContents ()
   from /usr/local/lib/libQtGui.so.10.0
#14 0x0000000205a36e3c in QTextEditPrivate::paint ()
   from /usr/local/lib/libQtGui.so.10.0
#15 0x0000000205a36f04 in QTextEdit::paintEvent ()
   from /usr/local/lib/libQtGui.so.10.0
#16 0x00000002055caf90 in QWidget::event ()
   from /usr/local/lib/libQtGui.so.10.0
#17 0x00000002059bc37b in QFrame::event () from /usr/local/lib/libQtGui.so.10.0
#18 0x0000000205a4d8e7 in QAbstractScrollArea::viewportEvent ()
   from /usr/local/lib/libQtGui.so.10.0
#19 0x0000000205a4fae8 in QAbstractScrollAreaFilter::eventFilter ()
   from /usr/local/lib/libQtGui.so.10.0
#20 0x0000000207b28b1f in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/local/lib/libQtCore.so.9.0
#21 0x0000000205569710 in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQtGui.so.10.0
#22 0x0000000205570df5 in QApplication::notify ()
   from /usr/local/lib/libQtGui.so.10.0
#23 0x0000000207b28764 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQtCore.so.9.0
#24 0x00000002055c4cc2 in QWidgetPrivate::drawWidget ()
   from /usr/local/lib/libQtGui.so.10.0
#25 0x00000002057a4201 in QWidgetBackingStore::sync ()
   from /usr/local/lib/libQtGui.so.10.0
#26 0x00000002055bc556 in QWidgetPrivate::syncBackingStore ()
   from /usr/local/lib/libQtGui.so.10.0
#27 0x00000002055cb648 in QWidget::event ()
   from /usr/local/lib/libQtGui.so.10.0
#28 0x00000002059d9a01 in QMainWindow::event ()
   from /usr/local/lib/libQtGui.so.10.0
#29 0x00000000004a3c34 in TeXDocument::event (this=0x20b50e800, 
    event=0x20cf8fde0) at src/TeXDocument.cpp:717
#30 0x000000020556973f in QApplicationPrivate::notify_helper ()
   from /usr/local/lib/libQtGui.so.10.0
#31 0x0000000205570df5 in QApplication::notify ()
   from /usr/local/lib/libQtGui.so.10.0
#32 0x0000000207b28764 in QCoreApplication::notifyInternal ()
   from /usr/local/lib/libQtCore.so.9.0
#33 0x0000000207b298ce in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/local/lib/libQtCore.so.9.0
#34 0x0000000207b587b3 in QEventDispatcherGlib::registeredTimers ()
   from /usr/local/lib/libQtCore.so.9.0
#35 0x00000002063264d3 in g_main_context_dispatch ()
   from /usr/local/lib/libglib-2.0.so.2800.0
#36 0x000000020632a482 in g_main_context_prepare ()
   from /usr/local/lib/libglib-2.0.so.2800.0
#37 0x000000020632aa9b in g_main_context_iteration ()
   from /usr/local/lib/libglib-2.0.so.2800.0
#38 0x0000000207b58adc in QEventDispatcherGlib::processEvents ()
   from /usr/local/lib/libQtCore.so.9.0
#39 0x000000020561f08f in QGuiEventDispatcherGlib::processEvents ()
   from /usr/local/lib/libQtGui.so.10.0
#40 0x0000000207b27add in QEventLoop::processEvents ()
   from /usr/local/lib/libQtCore.so.9.0
#41 0x0000000207b27d36 in QEventLoop::exec ()
   from /usr/local/lib/libQtCore.so.9.0
#42 0x0000000207b29bce in QCoreApplication::exec ()
   from /usr/local/lib/libQtCore.so.9.0
#43 0x0000000000467768 in main (argc=1, argv=Variable "argv" is not available.
) at src/main.cpp:163

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk


More information about the texworks mailing list