Bug 134909

Summary: qtruby.rb:723: [BUG] Segmentation fault
Product: [Developer tools] bindings Reporter: Jan-marie Newton <far.jmp>
Component: generalAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: aspotashev
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jan-marie Newton 2006-09-30 18:19:52 UTC
Version:           3.5.2 (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
Compiler:          gcc-3.4.5 Portage 2.1.1-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r3, 2.6.15-gentoo-r7 x86_64)
OS:                Linux

We have an application written in ruby/QT.  This app has been running with zero problems for a year on all machines (pentium3, pentium4, amd64).  This morning Gentoo emerge -u world updated ruby:

[ebuild     U ] dev-lang/ruby-1.8.5 [1.8.4-r3] USE="-debug%" 

There are zero problems on the Pentium, however the amd64 has intermittent crashes, especially on screens with lots of Qt::Widgets.

/usr/lib64/ruby/site_ruby/1.8/Qt/qtruby.rb:723: [BUG] Segmentation fault
ruby 1.8.5 (2006-08-25) [x86_64-linux]

/usr/local/bin/ezra: line 4: 12194 Aborted                 ruby ezra.rb


Portage 2.1.1-r1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.4-r3, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.5
Last Sync: Fri, 29 Sep 2006 06:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://barad-dur/gentoo-portage"
USE="amd64 X a52 alsa avi berkdb bitmap-fonts cdrw cli crypt cups divx4linux dlloader dri dts dv dvd dvdread dvdrw eds elibc_glibc emboss encode fame foomaticdb fortran gif gpm gstreamer gtk2 hpijs imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux live lzw lzw-tiff matroska mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl subtitles tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis xanim xine xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jan-marie Newton 2015-06-24 16:34:03 UTC
we have since moved on to ruby 2.0 and the latest kde-bindings (ie qt4-ruby bindings) and everything works
Comment 2 Alexander Potashev 2015-06-24 20:37:23 UTC
Thanks for the feedback!