Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274940 - net-libs/webkit-gtk segmentation faults a lot on hppa
Summary: net-libs/webkit-gtk segmentation faults a lot on hppa
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 272160
  Show dependency tree
 
Reported: 2009-06-21 12:46 UTC by Jeroen Roovers (RETIRED)
Modified: 2010-07-09 12:09 UTC (History)
1 user (show)

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


Attachments
gdb output [hppa] (kazehakase.gdb.out,25.34 KB, text/plain)
2009-06-21 12:48 UTC, Jeroen Roovers (RETIRED)
Details
gdb output using -O0 and with USE=-pango (kazehakase.core.10161.gdb,25.63 KB, text/plain)
2009-06-22 04:30 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2009-06-21 12:46:49 UTC
jeroen@elmer ~ $ kazehakase http://misha/

(kazehakase:16033): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed

(kazehakase:16033): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed

(kazehakase:16033): Gtk-CRITICAL **: gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed
Segmentation fault (core dumped)
jeroen@elmer ~ $ gdb /usr/bin/kazehakase core.16033 | tee kazehakase.gdb.out


Sun Jun 21 14:44:04 CEST 2009
Portage 2.1.6.13 (default/linux/hppa/2008.0, gcc-4.4.0, glibc-2.9_p20081201-r2, 2.6.30-JeR parisc)
=================================================================
System uname: Linux-2.6.30-JeR-parisc-PA8700_-PCX-W2-with-glibc2.2
Timestamp of tree: Sun, 21 Jun 2009 03:20:01 +0000
distcc 3.1 hppa2.0-unknown-linux-gnu [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.6, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/config /var/bind /var/spool/fax/etc /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distcc distlocks fixpackages notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test test-fail-continue unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl he"
MAKEOPTS="-j5"
PKGDIR="/keeps/gentoo/packages/elmer"
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="/dev/shm/"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib abyss accessibility acl ads agg alsa amr amrnb amrwb ao aoss apache2 ares artist-screen asf async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bittorrent-external bl bluetooth bzip2 c++ cairo caps captury catalogs cblas cdb cddb cdparanoia cdr chardet cjk clarens cli colors cracklib crypt cups curl custom-cflags custom-cxxflags cxx dbi dbtool dbus designer designer-plugin device-mapper dga dia dirac directfb djbfft djvu domainkeys dri drm dts dv dvd dvdr dvdread dxr3 ebook edl elf emacs enca encode esd examples exif expat fame fastbuild fastcgi fbcon ffmpeg filter flac fluidsynth fontconfig fontforge foomaticdb fortran ftp gadu galago gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnokii gnome gnutls google-gadgets gphoto2 gpm gps gs gsl gsm gtk gtk2 gtkhtml guidexml hal hepmc hesiod hppa i18n ical icecast iconv icu idea idn imagemagick imlib immqt-bc inquisitio ipv6 isc isdnlog ithreads jack javascript jbig jingle jpeg jpeg2k judy kde kerberos kpathsea lapack lasi latex lcms ldap leim libass libcaca libffi libmms libnotify libotf libsamplerate libwww live lm_sensors logrotate logwatch lua lyrics-screen lzo mad manhole matroska mbrola memcache metis mhash midi mikmod mmap mng modplug motif mozbranding mp3 mplayer mssql mudflap musepack musicbrainz mysql nas nautilus ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin ntlm offensive ogg openal openexr opengl openmp openssl oss ots overlays pam pango pbs pch pcre pdf pdo-external perl php plasma plotutils plugins png policykit portage portaudio postgres povray ppds pppd pulseaudio python pyzord qalculate qdbm qt3 qt3support qt4 quotas raw readline recode reflection rle rpc rrdtool rtc ruby samba sasl scanner schroedinger scim sdl seamonkey server session sid slang slp sms sndfile snmp song-screen soundex speex spell spl sqlite srt srtp ssh ssl startup-notification subtitles subversion suhosin supernodal svg swat sysfs syslog talkfilters tcl tcpd test tftp tga theora threads thumbnail thunar-vfs tidy tiff timidity tk tools truetype tslib tunepimp twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis watchdog wavpack webdav webinstall webkit winbind wlan wma wmf xanim xattr xcb xchattext xcomposite xface xml xml2 xmp xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_ftp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa synaptics tek4957 tslib ur98 virtualbox wacom void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox dummy"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-21 12:48:18 UTC
Created attachment 195338 [details]
gdb output [hppa]
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-22 04:30:04 UTC
Created attachment 195420 [details]
gdb output using -O0 and with USE=-pango
Comment 3 Mart Raudsepp gentoo-dev 2009-06-30 21:09:54 UTC
I suspect this is blocking the keywording for you. Marking blocker
Comment 4 Pacho Ramos gentoo-dev 2009-07-22 10:57:25 UTC
Have you tried to report this to upstream (if you are using 1.1.10)
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-07-22 11:22:11 UTC
Can you try with webkit-gtk-1.1.11 ? (bumped into gnome overlay)
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-22 14:26:50 UTC
(In reply to comment #4)
> Have you tried to report this to upstream (if you are using 1.1.10)

Generally that is what package maintenance is about.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-07-22 14:28:14 UTC
(In reply to comment #5)
> Can you try with webkit-gtk-1.1.11 ? (bumped into gnome overlay)

No. Arch maintainers don't use overlays. :)
Comment 8 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-07-22 15:38:24 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > Can you try with webkit-gtk-1.1.11 ? (bumped into gnome overlay)
> 
> No. Arch maintainers don't use overlays. :)
> 

layman -a gnome && emerge -av1 webkit-gtk

The reason why it's not in tree is because it needs libsoup-2.27.4, if we know that 1.1.11 fixes the problem, we can try to backport the fix. If it doesn't, we can report the problem upstream.
Comment 9 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-09-11 15:25:47 UTC
@hppa: ping, can you please try webkit-gtk-1.1.14 in overlay? (It's not in-tree due to deps on libsoup-2.27)
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-12 17:17:25 UTC
(In reply to comment #9)
> @hppa: ping, can you please try webkit-gtk-1.1.14 in overlay? (It's not in-tree
> due to deps on libsoup-2.27)

Do you have any inkling that this version does indeed address some of the platform issues raised here? I am not going to test yet another version just because it's higher.

I am not going to play around with overlays on a system intended to test and mark stable with either, so maybe another hppa dev can play around with these "unstable" builds.

To date I haven't seen any progress on odd-arch work in both major webkit forks (gtk and qt) so I am not going to hold my breath. :)
Comment 11 Pacho Ramos gentoo-dev 2010-02-12 10:53:11 UTC
Hello Jeroen

Are you still affected by this bug with 1.1.15.4? If you are still affected, and the same backtrace applies, please confirm and I will report this to upstream, maybe they will prefer to get it tested with latest development version 1.1.21 but, if you still prefer to not try that "dev" versions... no problem :-)
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-12 13:34:09 UTC
I'll be testing it shortly.
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-12 17:24:07 UTC
1.1.15.4 does sometimes segfault but is more prone to loop (endlessly?) somewhere in
  JavaScriptCore/wtf/dtoa.cpp

(See also bug #239441).

Pages that run minimal or no JavaScript are usually fine, so this is definitely an improvement, but we aren't there yet.
Comment 14 Pacho Ramos gentoo-dev 2010-02-12 22:31:43 UTC
(In reply to comment #13)
> 1.1.15.4 does sometimes segfault 

Well, webkit-gtk is still a bit crashy on all platforms, it's improved on each new release but... :-/

> but is more prone to loop (endlessly?)
> somewhere in
>   JavaScriptCore/wtf/dtoa.cpp
> 
> (See also bug #239441).

This is a problem I haven't suffered, I will ask upstream but, do you have a testcase for reproducing the problem (at least on hppa)? I mean that would be really interesting to know what webpage tends to cause the loop 

Thanks
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-16 01:56:39 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > 1.1.15.4 does sometimes segfault 
> 
> Well, webkit-gtk is still a bit crashy on all platforms, it's improved on each
> new release but... :-/

You have no idea how disproportionately crashy it is in HPPA... 9 times out of 10 it crashes on loading a page. 999 out of a thousand times it crashes when you click somewhere on the page that (cor)responds to a JavaScript event.

> > but is more prone to loop (endlessly?)
> > somewhere in
> >   JavaScriptCore/wtf/dtoa.cpp
> > 
> > (See also bug #239441).
> 
> This is a problem I haven't suffered, I will ask upstream but, do you have a
> testcase for reproducing the problem (at least on hppa)? I mean that would be
> really interesting to know what webpage tends to cause the loop 

Just about any page that loads JavaScript.
Comment 16 Pacho Ramos gentoo-dev 2010-02-16 12:39:54 UTC
I added a comment about hangs affecting also to webkitgtk on https://bugs.webkit.org/show_bug.cgi?id=34037#c3

About the crashes, were you able to get a recent backtrace with 1.1.15.4 that we could send upstream? Or are they similar to comment #1 provided one? 

Thanks
Comment 17 Pacho Ramos gentoo-dev 2010-03-13 14:01:09 UTC
https://bugs.webkit.org/show_bug.cgi?id=34037#c5 :
"The plan is to drop support for  HP-UX on PA-RISC in Qt 4.7 [1] so I can only
assume that Linux on PA-RISC is equally unsupported, meaning this is not high
priority for us, but patches are welcome!"

I am not sure then if this will ever be solved :-(
Comment 18 Jeroen Roovers (RETIRED) gentoo-dev 2010-03-13 18:14:47 UTC
HP-UX is not Linux, and the author of that comment appears unaware of that fact that HP-UX popularly runs on IA64 as well as PARISC. See bug #239441 comment 10 for more info.
Comment 19 Pacho Ramos gentoo-dev 2010-07-09 12:09:22 UTC
This needs to be handled directly with upstream if anyone is still interested