[texworks] Texworks crashes when reloading a file

aphatak at iinet.net.au aphatak at iinet.net.au
Sun Mar 20 15:00:30 CET 2011


I'm using TeXworks 0.2.3 (r.466) on Ubuntu 10.04. When I modify a file externally
that is currently loaded in TeXworks, it crashes. For example, I'm using Sweave
to integrate text and R code, and when I Sweave the file I'm working on
(foo.Rnw), it recreates the file foo.tex. That's when TeXworks crashes. 

For what it's worth, I ran TeXworks from the command line, and I've appended the
output in the terminal after it crashes.

Any suggestions?

Aloke

--

*** glibc detected *** texworks: free(): invalid pointer: 0x094a3ae0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xb662c591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xb662dde8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xb6630ecd]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb681b741]
/usr/lib/libQtGui.so.4(_ZN11QTextCursorD1Ev+0x40)[0xb6f01ad0]
/usr/lib/libQtGui.so.4(+0x3e900d)[0xb6ed700d]
/usr/lib/libQtGui.so.4(_ZN11QTextCursor12endEditBlockEv+0x9b)[0xb6f0578b]
/usr/lib/libQtGui.so.4(+0x3a6663)[0xb6e94663]
/usr/lib/libQtGui.so.4(_ZN12QTextControl12setPlainTextERK7QString+0x2b)[0xb6e9486b]
/usr/lib/libQtGui.so.4(_ZN9QTextEdit12setPlainTextERK7QString+0x32)[0xb70fc1f2]
texworks[0x8084ded]
texworks[0x80852c1]
texworks[0x80dae9d]
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8metacallEP7QObjectNS_4CallEiPPv+0x3a)[0xb69ddc9a]
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2d5)[0xb69ec3d5]
/usr/lib/libQtCore.so.4(_ZN18QFileSystemWatcher11fileChangedERK7QString+0x43)[0xb69a8923]
/usr/lib/libQtCore.so.4(+0x139519)[0xb69a9519]
/usr/lib/libQtCore.so.4(_ZN18QFileSystemWatcher11qt_metacallEN11QMetaObject4CallEiPPv+0xba)[0xb69a95fa]
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8metacallEP7QObjectNS_4CallEiPPv+0x3a)[0xb69ddc9a]
/usr/lib/libQtCore.so.4(_ZN14QMetaCallEvent13placeMetaCallEP7QObject+0x36)[0xb69e8336]
/usr/lib/libQtCore.so.4(_ZN7QObject5eventEP6QEvent+0x22e)[0xb69e93fe]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0xb6c234dc]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x17e)[0xb6c2a05e]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x7b)[0xb69d8a3b]
/usr/lib/libQtCore.so.4(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x323)[0xb69db473]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication16sendPostedEventsEP7QObjecti+0x2d)[0xb69db5dd]
/usr/lib/libQtCore.so.4(+0x194adf)[0xb6a04adf]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d5)[0xb630f5e5]
/lib/libglib-2.0.so.0(+0x3f2d8)[0xb63132d8]
/lib/libglib-2.0.so.0(g_main_context_iteration+0x68)[0xb63134b8]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x65)[0xb6a045d5]
/usr/lib/libQtGui.so.4(+0x1f5135)[0xb6ce3135]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x49)[0xb69d7059]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xfa)[0xb69d74aa]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xaf)[0xb69db69f]
/usr/lib/libQtGui.so.4(_ZN12QApplication4execEv+0x27)[0xb6c23577]
texworks[0x8064fa8]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb65d7bd6]
texworks[0x8064751]
======= Memory map: ========
08048000-0828c000 r-xp 00000000 08:11 2360522    /usr/bin/texworks
0828c000-0828d000 r--p 00243000 08:11 2360522    /usr/bin/texworks
0828d000-0828f000 rw-p 00244000 08:11 2360522    /usr/bin/texworks
090db000-09684000 rw-p 00000000 00:00 0          [heap]
b3358000-b36bf000 rw-p 00000000 00:00 0 
b3b00000-b3b21000 rw-p 00000000 00:00 0 
b3b21000-b3c00000 ---p 00000000 00:00 0 
b3c27000-b3c28000 ---p 00000000 00:00 0 
b3c28000-b4429000 rw-p 00000000 00:00 0 
b4429000-b44b5000 r--p 00000000 08:11 2523037   
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b44b5000-b4515000 rw-s 00000000 00:04 12091461   /SYSV00000000 (deleted)
b4515000-b456d000 r--p 00000000 08:11 6823588    /home/alokep/.fonts/CONSOLA.TTF
b456d000-b45c5000 r-xp 00000000 08:11 2361314    /usr/lib/libtiff.so.4.3.2
b45c5000-b45c7000 r--p 00057000 08:11 2361314    /usr/lib/libtiff.so.4.3.2
b45c7000-b45c8000 rw-p 00059000 08:11 2361314    /usr/lib/libtiff.so.4.3.2
b45c8000-b461d000 r-xp 00000000 08:11 2369384    /usr/lib/libQtSvg.so.4.6.2
b461d000-b461e000 ---p 00055000 08:11 2369384    /usr/lib/libQtSvg.so.4.6.2
b461e000-b461f000 r--p 00055000 08:11 2369384    /usr/lib/libQtSvg.so.4.6.2
b461f000-b4620000 rw-p 00056000 08:11 2369384    /usr/lib/libQtSvg.so.4.6.2
b4639000-b46af000 r-xp 00000000 08:11 2364759    /usr/lib/libmng.so.1.1.0.9
b46af000-b46b1000 r--p 00075000 08:11 2364759    /usr/lib/libmng.so.1.1.0.9
b46b1000-b46b2000 rw-p 00077000 08:11 2364759    /usr/lib/libmng.so.1.1.0.9
b46bc000-b46c2000 r-xp 00000000 08:11 2364810   
/usr/lib/qt4/plugins/imageformats/libqtiff.so
b46c2000-b46c3000 ---p 00006000 08:11 2364810   
/usr/lib/qt4/plugins/imageformats/libqtiff.so
b46c3000-b46c4000 r--p 00006000 08:11 2364810   
/usr/lib/qt4/plugins/imageformats/libqtiff.so
b46c4000-b46c5000 rw-p 00007000 08:11 2364810   
/usr/lib/qt4/plugins/imageformats/libqtiff.so
b46c5000-b46c8000 r-xp 00000000 08:11 2369385   
/usr/lib/qt4/plugins/imageformats/libqsvg.so
b46c8000-b46c9000 ---p 00003000 08:11 2369385   
/usr/lib/qt4/plugins/imageformats/libqsvg.so
b46c9000-b46ca000 r--p 00003000 08:11 2369385   
/usr/lib/qt4/plugins/imageformats/libqsvg.so
b46ca000-b46cb000 rw-p 00004000 08:11 2369385   
/usr/lib/qt4/plugins/imageformats/libqsvg.so
b46cb000-b46d0000 r-xp 00000000 08:11 2364809   
/usr/lib/qt4/plugins/imageformats/libqmng.so
b46d0000-b46d1000 r--p 00004000 08:11 2364809   
/usr/lib/qt4/plugins/imageformats/libqmng.so
b46d1000-b46d2000 rw-p 00005000 08:11 2364809   
/usr/lib/qt4/plugins/imageformats/libqmng.so
b46d2000-b46da000 r-xp 00000000 08:11 2364808   
/usr/lib/qt4/plugins/imageformats/libqjpeg.so
b46da000-b46db000 r--p 00007000 08:11 2364808   
/usr/lib/qt4/plugins/imageformats/libqjpeg.so
b46db000-b46dc000 rw-p 00008000 08:11 2364808   
/usr/lib/qt4/plugins/imageformats/libqjpeg.so
b46dc000-b46e2000 r-xp 00000000 08:11 2364807   
/usr/lib/qt4/plugins/imageformats/libqico.so
b46e2000-b46e3000 r--p 00005000 08:11 2364807   
/usr/lib/qt4/plugins/imageformats/libqico.so
b46e3000-b46e4000 rw-p 00006000 08:11 2364807   
/usr/lib/qt4/plugins/imageformats/libqico.so
b46e4000-b46ea000 r-xp 00000000 08:11 2364806   
/usr/lib/qt4/plugins/imageformats/libqgif.so
b46ea000-b46eb000 r--p 00005000 08:11 2364806   
/usr/lib/qt4/plugins/imageformats/libqgif.so
b46eb000-b46ec000 rw-p 00006000 08:11 2364806   
/usr/lib/qt4/plugins/imageformats/libqgif.so
b46ec000-b46f0000 r-xp 00000000 08:11 3018571   
/usr/lib/kde4/plugins/imageformats/kimg_xview.so
b46f0000-b46f1000 r--p 00003000 08:11 3018571   
/usr/lib/kde4/plugins/imageformats/kimg_xview.so
b46f1000-b46f2000 rw-p 00004000 08:11 3018571   
/usr/lib/kde4/plugins/imageformats/kimg_xview.so
b46f2000-b4701000 r-xp 00000000 08:11 3018566   
/usr/lib/kde4/plugins/imageformats/kimg_xcf.so
b4701000-b4702000 r--p 0000e000 08:11 3018566   
/usr/lib/kde4/plugins/imageformats/kimg_xcf.so
b4702000-b4703000 rw-p 0000f000 08:11 3018566   
/usr/lib/kde4/plugins/imageformats/kimg_xcf.so
b4703000-b4707000 rw-p 00000000 00:00 0 
b4707000-b470c000 r-xp 00000000 08:11 3018570   
/usr/lib/kde4/plugins/imageformats/kimg_tga.so
b470c000-b470d000 r--p 00004000 08:11 3018570   
/usr/lib/kde4/plugins/imageformats/kimg_tga.so
b470d000-b470e000 rw-p 00005000 08:11 3018570   
/usr/lib/kde4/plugins/imageformats/kimg_tga.so
b470e000-b4717000 r-xp 00000000 08:11 3018567   
/usr/lib/kde4/plugins/imageformats/kimg_rgb.so
b4717000-b4718000 r--p 00008000 08:11 3018567   
/usr/lib/kde4/plugins/imageformats/kimg_rgb.so
b4718000-b4719000 rw-p 00009000 08:11 3018567   
/usr/lib/kde4/plugins/imageformats/kimg_rgb.so
b4719000-b471d000 r-xp 00000000 08:11 3018572   
/usr/lib/kde4/plugins/imageformats/kimg_psd.so
b471d000-b471e000 r--p 00003000 08:11 3018572   
/usr/lib/kde4/plugins/imageformats/kimg_psd.so
b471e000-b471f000 rw-p 00004000 08:11 3018572   
/usr/lib/kde4/plugins/imageformats/kimg_psd.so
b471f000-b4726000 r-xp 00000000 08:11 3018565   
/usr/lib/kde4/plugins/imageformats/kimg_pcx.so
b4726000-b4727000 r--p 00006000 08:11 3018565   
/usr/lib/kde4/plugins/imageformats/kimg_pcx.so
b4727000-b4728000 rw-p 00007000 08:11 3018565   
/usr/lib/kde4/plugins/imageformats/kimg_pcx.so
b4728000-b476b000 r-xp 00000000 08:11 2362967    /usr/lib/libjasper.so.1.0.0
b476b000-b476c000 r--p 00042000 08:11 2362967    /usr/lib/libjasper.so.1.0.0
b476c000-b476f000 rw-p 00043000 08:11 2362967    /usr/lib/libjasper.so.1.0.0
b476f000-b4775000 rw-p 00000000 00:00 0 
b4775000-b4779000 r-xp 00000000 08:11 3018564   
/usr/lib/kde4/plugins/imageformats/kimg_jp2.so
b4779000-b477a000 r--p 00003000 08:11 3018564   
/usr/lib/kde4/plugins/imageformats/kimg_jp2.so
b477a000-b477b000 rw-p 00004000 08:11 3018564   
/usr/lib/kde4/plugins/imageformats/kimg_jp2.so
b477b000-b47bd000 r-xp 00000000 08:11 2362316    /usr/lib/libHalf.so.6.0.0[1]+ 
Done                    texworks
Aborted



More information about the texworks mailing list