Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 242366
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Denys Duchier <denys.duchier@univ-orleans.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 242366 depends on: Show dependency tree
Bug 242366 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-10-16 17:59 0000
selecting "use my KDE style in GTK applications" or "Use another style: Qt"
results in a segmentation fault when I start emacs.

------- Comment #1 From Denys Duchier 2008-10-16 18:00:43 0000 -------
Portage 2.2_rc12 (default-linux/x86/2007.0/desktop, gcc-4.3.2,
glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname:
Linux-2.6.26-gentoo-i686-Genuine_Intel-R-_CPU_T2600_@_2.16GHz-with-glibc2.0
Timestamp of tree: Tue, 14 Oct 2008 20:19:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -ggdb -march=native -pipe -msse3"
CHOST="i686-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/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/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -ggdb -march=native -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks nostrip parallel-fetch preserve-libs protect-owned sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS=""
LINGUAS="en fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/denys/src/gentoo-overlay
/home/denys/src/Gecode/gecode-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 a52 aac accessibility acl acpi alsa amr arts asf audiofile avahi
berkdb bzip2 cairo cdparanoia cdr cli cracklib crypt css cups curl cvs darcs
dbus debug dga directfb doc dri dts dvb dvd dvdr dvdread eds emacs emboss
encode esd examples expat fam fat fbcon firefox flac foomaticdb gdbm gif git
glep glibc-omitfp glitz gmp gnutls gpg gphoto2 gpm graphics gstreamer gtk
gtkhtml hal haskell htmlhandbook iconv icu ieee1394 ipv6 isdnlog java
javascript jce jpeg jpeg2k kde kerberos kpathsea latex ldap mad midi mikmod
mmap mmx mono mozilla mp3 mpeg mpi mplayer mudflap musicbrainz mysql ncurses
nls nptl nptlonly nsplugin ntfs odbc ogg opengl openmp oss pam pango pcre pdf
perl php png ppds pppd pstricks python qt3 qt3support qt4 quicktime readline
real reflection samba sasl scanner sdl session skey slp smp sndfile speex spell
spl sql sqlite sse sse2 ssl subversion svg svga sysfs tcltk tcpd theora tiff
timidity truetype unicode usb v4l v4l2 vorbis wifi win32codecs x264 x86
xcomposite xine xml xorg xulrunner xv xvid zeroconf 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 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_connect proxy_http rewrite setenvif so
speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Denys Duchier 2008-10-16 18:01:59 0000 -------
Here is a backtrace:

#0  0xb786137e in IA__g_type_check_instance_is_a (type_instance=0xbfe7d558,
iface_type=20) at gtype.c:3695
#1  0xb78469df in IA__g_object_get_data (object=0xbfe7d558, key=0x1 <Address
0x1 out of bounds>) at gobject.c:2572
#2  0xb5ff2d95 in PlastikStyle::drawPrimitive () from
/usr/kde/3.5/lib/kde3/plugins/styles/plastik.so
#3  0xb7b1ce6d in _gdk_events_queue (display=0x8760008) at gdkevents-x11.c:2299
#4  0xb7b1d34f in gdk_event_dispatch (source=0x8768970, callback=0,
user_data=0x0) at gdkevents-x11.c:2359
#5  0xb7799241 in IA__g_main_context_dispatch (context=0x87689b8) at
gmain.c:2142
#6  0xb779c8d3 in g_main_context_iterate (context=0x87689b8, block=1,
dispatch=1, self=0x8752ff0) at gmain.c:2776
#7  0xb779ca91 in IA__g_main_context_iteration (context=0x87689b8, may_block=1)
at gmain.c:2839
#8  0xb7ca34f4 in IA__gtk_main_iteration () at gtkmain.c:1288
#9  0x080ccc44 in XTread_socket (sd=0, expected=1, hold_quit=0xbfe7eaf0) at
xterm.c:7113
#10 0x0810243e in read_avail_input (expected=1) at keyboard.c:6857
#11 0x0810264a in handle_async_input () at keyboard.c:7003
#12 0x080cb40e in x_term_init (display_name=141847291, xrm_option=0x0,
resource_name=0x8742480 "emacs-22") at xterm.c:10986
#13 0x080d7921 in Fx_open_connection (display=141847291, xrm_string=137546833,
must_succeed=137546881) at xfns.c:4085
#14 0x081666fb in Ffuncall (nargs=4, args=0xbfe7eca0) at eval.c:2999
#15 0x08192c18 in Fbyte_code (bytestr=141844187, vector=141848244,
maxdepth=<value optimized out>) at bytecode.c:679
#16 0x0816801c in Feval (form=139538045) at eval.c:2330
#17 0x0817fc4c in readevalloop (readcharfun=137613233, stream=0x872e948,
sourcename=141749779, evalfun=0x8167b50 <Feval>, printflag=0,
unibyte=137546833,
    readfun=137546833, start=137546833, end=137546833) at lread.c:1559
#18 0x08180ee4 in Fload (file=141791619, noerror=137546833,
nomessage=137546881, nosuffix=137546833, must_suffix=137546833) at lread.c:1027
#19 0x081666ae in Ffuncall (nargs=4, args=0xbfe7f1d0) at eval.c:3007
#20 0x08192c18 in Fbyte_code (bytestr=136323203, vector=136323228,
maxdepth=<value optimized out>) at bytecode.c:679
#21 0x0816801c in Feval (form=136323189) at eval.c:2330
#22 0x08168b91 in internal_lisp_condition_case (var=137592321,
bodyform=136323189, handlers=136323293) at eval.c:1429
#23 0x0819353c in Fbyte_code (bytestr=136322059, vector=136322076,
maxdepth=<value optimized out>) at bytecode.c:869
#24 0x0816846b in funcall_lambda (fun=136322036, nargs=0,
arg_vector=0xbfe7f4f4) at eval.c:3180
#25 0x0816641b in Ffuncall (nargs=1, args=0xbfe7f4f0) at eval.c:3050
#26 0x08192c18 in Fbyte_code (bytestr=136318699, vector=136318716,
maxdepth=<value optimized out>) at bytecode.c:679
#27 0x0816846b in funcall_lambda (fun=136318676, nargs=0,
arg_vector=0xbfe7f5b0) at eval.c:3180
#28 0x08168672 in apply_lambda (fun=136318676, args=137546833, eval_flag=1) at
eval.c:3104
#29 0x08167d3f in Feval (form=138170901) at eval.c:2384
#30 0x081020f3 in top_level_2 () at keyboard.c:1339
#31 0x08165ac0 in internal_condition_case (bfun=0x81020e0 <top_level_2>,
handlers=137592321, hfun=0x8105b50 <cmd_error>) at eval.c:1484
#32 0x08104f7d in top_level_1 () at keyboard.c:1347
#33 0x08165b9a in internal_catch (tag=137588505, func=0x8104f30 <top_level_1>,
arg=137546833) at eval.c:1224
#34 0x08105991 in command_loop () at keyboard.c:1304
#35 0x08105d3a in recursive_edit_1 () at keyboard.c:1007
#36 0x08105e3a in Frecursive_edit () at keyboard.c:1068
#37 0x080fb687 in main (argc=1, argv=0xbfe7fc74) at emacs.c:1770

------- Comment #3 From Ulrich Müller 2008-10-17 20:45:09 0000 -------
> selecting "use my KDE style in GTK applications" or "Use another style: Qt"
> results in a segmentation fault when I start emacs.

Could to please give us a more precise recipe how to reproduce the failure?

@wormo: Adding you to CC since from the ChangeLog I conclude that you are
de-facto maintainer of gtk-engines-qt.

------- Comment #4 From Denys Duchier 2008-10-26 18:55:29 0000 -------
(In reply to comment #3)
> Could to please give us a more precise recipe how to reproduce the failure?

strange: I already replied a while ago, but my reply seems to have gotten lost.

I would love to give better info, but what do you need?  install
gtk-engines-qt, select e.g. "Use my KDE style in GTK applications" in the
control module, start emacs, watch it segfault.  This is what I originally
described, and I honnestly don't know what else to add.  Please, let me know.

------- Comment #5 From Ulrich Müller 2008-10-26 19:31:42 0000 -------
This is with KDE 3.5, I assume? What version of kde-base/kdelibs is installed?

------- Comment #6 From Denys Duchier 2008-10-26 19:34:49 0000 -------
(In reply to comment #5)
> This is with KDE 3.5, I assume? What version of kde-base/kdelibs is installed?

yes. kdelibs-3.5.10-r2

------- Comment #7 From Ulrich Müller 2008-10-26 19:41:38 0000 -------
Reopening.

------- Comment #8 From Christian Faulhammer 2008-10-28 21:02:10 0000 -------
(In reply to comment #6)
> (In reply to comment #5)
> > This is with KDE 3.5, I assume? What version of kde-base/kdelibs is installed?
> 
> yes. kdelibs-3.5.10-r2

 I have tried on a stable machine (x86), so that means gtk-engines-qt-0.8-r1
and KDE 3.5.9.  No problems, no segfault.  So this is either is related to a
testing package on your system (I cannot upgrade that KDE in a simple fashion)
or something completely different.  Is a downgrade feasible for you?

------- Comment #9 From Denys Duchier 2008-10-29 00:21:24 0000 -------
(In reply to comment #8)
> and KDE 3.5.9.  No problems, no segfault.  So this is either is related to a
> testing package on your system (I cannot upgrade that KDE in a simple fashion)
> or something completely different.  Is a downgrade feasible for you?

I run ~x86.  A downgrade of KDE (2.5.10 -> 2.5.9) is not really feasible for
me, I am sorry (I actually need my computer for teaching).  I can try a
downgrade of gtk-engines-qt when I get some spare time, of course.

Is gentoo not planning to stabilize KDE 3.5.10?

------- Comment #10 From Ulrich Müller 2008-10-29 07:05:08 0000 -------
Hm, the KDE team is not even in the CC of this bug ...
Reassigning, since I think that this is not an Emacs problem.

------- Comment #11 From Ulrich Müller 2008-10-29 07:09:52 0000 -------
(In reply to comment #9)
> I can try a downgrade of gtk-engines-qt when I get some spare time, of course.

This might be worthwhile to try, since from -r1 to -r3 there are quite some
changes in the ebuild.

------- Comment #12 From Christian Faulhammer 2008-10-30 12:56:25 0000 -------
(In reply to comment #11)
> (In reply to comment #9)
> > I can try a downgrade of gtk-engines-qt when I get some spare time, of course.
> This might be worthwhile to try, since from -r1 to -r3 there are quite some
> changes in the ebuild.

 I will try an upgrade of gtk-engines-qt, too.

------- Comment #13 From Tomáš Chvátal 2008-10-30 13:51:30 0000 -------
(In reply to comment #12)
> (In reply to comment #11)
> > (In reply to comment #9)
> > > I can try a downgrade of gtk-engines-qt when I get some spare time, of course.
> > This might be worthwhile to try, since from -r1 to -r3 there are quite some
> > changes in the ebuild.
> 
>  I will try an upgrade of gtk-engines-qt, too.
> 

Not as much smart idea. Gtk-engines-qt-1.1 is for qt4. SO if you plan to
transit on kde4 feel free to test new version :]

------- Comment #14 From Ulrich Müller 2008-10-30 15:02:44 0000 -------
(In reply to comment #13)
> >  I will try an upgrade of gtk-engines-qt, too.
> 
> Not as much smart idea. Gtk-engines-qt-1.1 is for qt4.

I think Christian's idea was to upgrade from 0.8-r1 (stable) to 0.8-r3.

------- Comment #15 From Christian Faulhammer 2008-10-30 17:53:53 0000 -------
(In reply to comment #14)
> (In reply to comment #13)
> > >  I will try an upgrade of gtk-engines-qt, too.
> > 
> > Not as much smart idea. Gtk-engines-qt-1.1 is for qt4.
> 
> I think Christian's idea was to upgrade from 0.8-r1 (stable) to 0.8-r3.

 Right.  And no change, I tried some USE flag combinations but I could not
reproduce any segfault.  Denys, what is your exact Emacs USE flag setup?

------- Comment #16 From Denys Duchier 2008-10-31 12:38:00 0000 -------
(In reply to comment #15)
> Denys, what is your exact Emacs USE flag setup?

Sorry for the delay, I am currently switching ISP and I have no ADSL at home
:-(

app-editors/emacs-22.3  USE="X alsa gif gtk jpeg kerberos png source spell tiff
toolkit-scroll-bars xpm -Xaw3d -gzip-el -hesiod -motif -sound"

------- Comment #17 From Christian Faulhammer 2008-10-31 15:53:31 0000 -------
(In reply to comment #16)
> (In reply to comment #15)
> > Denys, what is your exact Emacs USE flag setup?
> 
> Sorry for the delay, I am currently switching ISP and I have no ADSL at home
> :-(
> 
> app-editors/emacs-22.3  USE="X alsa gif gtk jpeg kerberos png source spell tiff
> toolkit-scroll-bars xpm -Xaw3d -gzip-el -hesiod -motif -sound"

 Will try to test it later today...and a big favour would be to install Emacs
23 (app-editors/emacs-cvs) just to try.  You can install it in parallel to 22
and call it with /usr/bin/emacs-23 (or use the eselect module).

------- Comment #18 From Christian Faulhammer 2008-10-31 16:50:58 0000 -------
(In reply to comment #16)
> (In reply to comment #15)
> > Denys, what is your exact Emacs USE flag setup?
> 
> Sorry for the delay, I am currently switching ISP and I have no ADSL at home
> :-(
> 
> app-editors/emacs-22.3  USE="X alsa gif gtk jpeg kerberos png source spell tiff
> toolkit-scroll-bars xpm -Xaw3d -gzip-el -hesiod -motif -sound"

 Still nothing.

------- Comment #19 From Ulrich Müller 2009-08-20 23:59:36 0000 -------
Is this still an issue with newest KDE and Emacs 23.1?

------- Comment #20 From Samuli Suominen 2009-11-09 11:08:05 0000 -------
(In reply to comment #19)
> Is this still an issue with newest KDE and Emacs 23.1?
> 

Good question. Either way, gtk-engines-qt-0.8 has been masked for removal with
KDE 3.5.10, so closing.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug