Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270777 - app-office/texmacs-1.0.7.2 crashes when clicking file menu after startup
Summary: app-office/texmacs-1.0.7.2 crashes when clicking file menu after startup
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 23:32 UTC by Marijn Schouten (RETIRED)
Modified: 2009-09-08 08:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marijn Schouten (RETIRED) gentoo-dev 2009-05-21 23:32:33 UTC
app-office/texmacs-1.0.7.2 
Installed versions:  1.0.7.2(00:13:41 22-05-09)(jpeg qt4 spell svg -imlib -netpbm)
crashes when clicking file menu after startup:

$ texmacs
TeXmacs] With linked TrueType support
TeXmacs] Loading corktounicode
TeXmacs] Loading cork-unicode-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading symbol-unicode-oneway
TeXmacs] Loading symbol-unicode-math
TeXmacs] Loading corktounicode
TeXmacs] Loading unicode-cork-oneway
TeXmacs] Loading tmuniversaltounicode
TeXmacs] Loading unicode-symbol-oneway
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffba1f9f750 (LWP 20961)]
0x00007ffb9daa3fd2 in __dynamic_cast () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6
Current language:  auto; currently c
(gdb) bt
#0  0x00007ffb9daa3fd2 in __dynamic_cast () from /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/libstdc++.so.6
#1  0x00007ffb9c01e683 in OxygenStyle::drawKStylePrimitive (this=0xbfb080, widgetType=<value optimized out>, primitive=65541, opt=<value optimized out>, r=@0x7fffa9fddef0, pal=@0x7fffa9fde170, flags={i = -1442978592},
    p=0x7fffa9fdeae0, widget=0xddff00, kOpt=0x7fffa9fdded0) at /var/tmp/portage/kde-base/kstyles-4.2.3/work/kstyles-4.2.3/kstyles/oxygen/oxygen.cpp:2035
#2  0x00007ffb9bc1c534 in KStyle::drawControl (this=0xbfb080, element=<value optimized out>, option=0x7fffa9fde8f0, p=0x7fffa9fdeae0, widget=0xddff00)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/kernel/kstyle.cpp:1891
#3  0x00007ffb9c018424 in OxygenStyle::drawControl (this=0xbfb080, element=2715367808, option=0x7fffa9fde8f0, p=0x7fffa9fdeae0, widget=0xddff00)
    at /var/tmp/portage/kde-base/kstyles-4.2.3/work/kstyles-4.2.3/kstyles/oxygen/oxygen.cpp:370
#4  0x00007ffba18305e0 in QMenu::paintEvent (this=0xddff00, e=<value optimized out>) at widgets/qmenu.cpp:2113
#5  0x00007ffba14b0d86 in QWidget::event (this=0xddff00, event=0x7fffa9fdf1c0) at kernel/qwidget.cpp:7659
#6  0x00007ffba18350ab in QMenu::event (this=0xddff00, e=0x7fffa9fdf1c0) at widgets/qmenu.cpp:2353
#7  0x00007ffba146388d in QApplicationPrivate::notify_helper (this=0xb81e10, receiver=0xddff00, e=0x7fffa9fdf1c0) at kernel/qapplication.cpp:4057
#8  0x00007ffba146c28a in QApplication::notify (this=0xb83f60, receiver=0xddff00, e=0x7fffa9fdf1c0) at kernel/qapplication.cpp:4022
#9  0x00007ffb9f75aafb in QCoreApplication::notifyInternal (this=0xb83f60, receiver=0xddff00, event=0x7fffa9fdf1c0) at kernel/qcoreapplication.cpp:606
#10 0x00007ffba14b3b1f in QWidgetPrivate::drawWidget (this=0xde0110, pdev=0xda14b8, rgn=@0x7fffa9fdf620, offset=@0xe20684, flags=<value optimized out>, sharedPainter=0x0, backingStore=0xe20640) at kernel/qwidget.cpp:5052
#11 0x00007ffba16380bc in QWidgetBackingStore::sync (this=0xe20640) at painting/qbackingstore.cpp:1268
#12 0x00007ffba1638372 in QWidgetBackingStore::sync (this=0xe20640, exposedWidget=0xddff00, exposedRegion=@0x7fffa9fdf8a0) at painting/qbackingstore.cpp:1073
#13 0x00007ffba14bb09a in QETWidget::translatePaintEvent (this=0xddff00, event=<value optimized out>) at kernel/qapplication_x11.cpp:5148
#14 0x00007ffba14c575b in QApplication::x11ProcessEvent (this=0xb83f60, event=0x7fffa9fe1170) at kernel/qapplication_x11.cpp:3466
#15 0x00007ffba14ea3dc in x11EventSourceDispatch (s=0xba4ec0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#16 0x00007ffb9ead9e29 in IA__g_main_context_dispatch (context=0xba3d20) at gmain.c:1814
#17 0x00007ffb9eadd4e0 in g_main_context_iterate (context=0xba3d20, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2448
#18 0x00007ffb9eadd67c in IA__g_main_context_iteration (context=0xba3d20, may_block=1) at gmain.c:2511
#19 0x00007ffb9f77ff7f in QEventDispatcherGlib::processEvents (this=0xb819d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#20 0x00007ffba14e9c9f in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#21 0x00007ffb9f75b849 in QCoreApplication::processEvents (flags={i = -1442966400}) at kernel/qcoreapplication.cpp:803
#22 0x0000000000712f91 in qt_gui_rep::event_loop (this=0xac6930) at ./Plugins/Qt/qt_gui.cpp:195
#23 0x000000000076262c in TeXmacs_main (argc=1, argv=0x7fffa9fe1d88) at ./Texmacs/Texmacs/texmacs.cpp:233
#24 0x00007ffb9e3f2d1f in invoke_main_func () from /usr/lib/libguile.so.17
#25 0x00007ffb9e3c8c1a in c_body () from /usr/lib/libguile.so.17
#26 0x00007ffb9e431e1f in scm_c_catch () from /usr/lib/libguile.so.17
#27 0x00007ffb9e3c90e1 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
#28 0x00007ffb9e3c9180 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
#29 0x00007ffb9e430d63 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#30 0x00007ffb9e3f2ce5 in scm_boot_guile () from /usr/lib/libguile.so.17
#31 0x0000000000761f68 in main (argc=1, argv=0x7fffa9fe1d88) at ./Texmacs/Texmacs/texmacs.cpp:300
(gdb) continue
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.


$ emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.26-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Tue, 19 May 2009 10:30:01 +0000
app-shells/bash:     3.2_p48-r1
dev-lang/python:     2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect cvs distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/marijn/git/gentoo-lisp-overlay /home/marijn/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emacs emboss encode esd evo fam firefox flac fortran gdbm gif gmp gpm gstreamer gtk hal history iconv ipv6 isdnlog jpeg kde kpathsea latex ldap libnotify lm_sensors mad metric midi mikmod mmx mng mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nvidia offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sasl sdl session smp speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vorbis webkit xinerama xml xorg xpm xulrunner xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey Grozin gentoo-dev 2009-05-22 13:16:29 UTC
The qt port of TeXmacs is very experimental. It works with some versions of Qt but has problems with other versions. It you want to *use* TeXmacs (rather than to debug Qt-related problems), I'd advise to emerge it with USE=-qt4.
Comment 2 Andrey Grozin gentoo-dev 2009-09-07 11:23:20 UTC
I don't have this particular problem with the Qt TeXmacs (x86, Qt-4.5.2). However, some functionality is missing in the Qt port. I think it will become usable after a few versions.
Comment 3 Marijn Schouten (RETIRED) gentoo-dev 2009-09-08 08:19:19 UTC
for me it still exists with qt-4.5.2.