Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344393 - dev-util/meld is segf ing with dev-python/pygobject-2.26.0
Summary: dev-util/meld is segf ing with dev-python/pygobject-2.26.0
Status: RESOLVED DUPLICATE of bug 344459
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-06 15:53 UTC by Justin Lecher (RETIRED)
Modified: 2010-11-08 10:27 UTC (History)
0 users

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


Attachments
ebuild using pygobject-pygi_h.patch (pygobject-2.26.0-r1.ebuild,3.37 KB, text/plain)
2010-11-08 10:27 UTC, Juergen Rose
Details
patch for avoiding segfault (pygobject-pygi_h.patch,618 bytes, text/plain)
2010-11-08 10:27 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2010-11-06 15:53:49 UTC
It is segf:

(gdb) run
Starting program: /usr/bin/python /usr/bin/meld
process 7766 is executing new program: /usr/bin/python2.6
[Thread debugging using libthread_db enabled]
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)

Program received signal SIGSEGV, Segmentation fault.
PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:997
997	Python/ceval.c: No such file or directory.
	in Python/ceval.c
(gdb) bt
#0  PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:997
#1  0x000000398b0eb9a4 in PyEval_EvalCodeEx (co=0xb267b0, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=4, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000
#2  0x000000398b073700 in function_call (func=0xe12a28, arg=0x2aaaaabba5d0, kw=0x0) at Objects/funcobject.c:524
#3  0x000000398b048512 in PyObject_Call (func=0xe12a28, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#4  0x000000398b05b8cd in instancemethod_call (func=0xe12a28, arg=0x2aaaaabba5d0, kw=0x0) at Objects/classobject.c:2579
#5  0x000000398b048512 in PyObject_Call (func=0xe16410, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#6  0x000000398b0e4ac6 in PyEval_CallObjectWithKeywords (func=0xe16410, arg=0xe16690, kw=<value optimized out>) at Python/ceval.c:3619
#7  0x00002aaaabfbe095 in pyg_closure_marshal (closure=0xe8ef60, return_value=0x0, n_param_values=3, param_values=0xe82370, invocation_hint=<value optimized out>, marshal_data=<value optimized out>) at pygtype.c:1160
#8  0x000000397ee0bc86 in IA__g_closure_invoke (closure=0xe8ef60, return_value=0x0, n_param_values=<value optimized out>, param_values=0xe82370, invocation_hint=0x7fffffffaf80) at gclosure.c:767
#9  0x000000397ee1a2df in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0xe82050, emission_return=0x0, instance_and_params=0xe82370) at gsignal.c:3248
#10 0x000000397ee23b94 in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=<value optimized out>) at gsignal.c:2981
#11 0x000000397ee23d63 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3038
#12 0x000000397ee0bc86 in IA__g_closure_invoke (closure=0xe8bd50, return_value=0x0, n_param_values=<value optimized out>, param_values=0xe82320, invocation_hint=0x7fffffffb3a0) at gclosure.c:767
#13 0x000000397ee1a2df in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0xe7cb20, emission_return=0x0, instance_and_params=0xe82320) at gsignal.c:3248
#14 0x000000397ee23b94 in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=<value optimized out>) at gsignal.c:2981
#15 0x000000397ee23d63 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3038
#16 0x0000003986076a03 in IA__gtk_activatable_do_set_related_action (activatable=0xe75110, action=0x923d10) at gtkactivatable.c:486
#17 0x0000003986144cb7 in gtk_menu_item_set_related_action (object=0xe75110, prop_id=<value optimized out>, value=<value optimized out>, pspec=<value optimized out>) at gtkmenuitem.c:743
#18 gtk_menu_item_set_property (object=0xe75110, prop_id=<value optimized out>, value=<value optimized out>, pspec=<value optimized out>) at gtkmenuitem.c:490
#19 0x000000397ee0fff8 in object_set_property (object=0xe75110, first_property_name=<value optimized out>, var_args=0x7fffffffb8b0) at gobject.c:973
#20 IA__g_object_set_valist (object=0xe75110, first_property_name=<value optimized out>, var_args=0x7fffffffb8b0) at gobject.c:1488
#21 0x000000397ee10924 in IA__g_object_set (_object=0xe75110, first_property_name=0x39862cbf0a "related-action") at gobject.c:1594
#22 0x0000003986072724 in IA__gtk_action_create_menu_item (action=0x923d10) at gtkaction.c:873
#23 0x0000003986244776 in update_node (self=0xe82050, node=0xe8a530, in_popup=0, popup_accels=0) at gtkuimanager.c:2450
#24 0x0000003986243945 in update_node (self=0xe82050, node=0xe8a500, in_popup=0, popup_accels=0) at gtkuimanager.c:2785
#25 0x0000003986243945 in update_node (self=0xe82050, node=0xe8a410, in_popup=0, popup_accels=0) at gtkuimanager.c:2785
#26 0x00000039862474e1 in do_updates (self=0xe82050) at gtkuimanager.c:2827
#27 IA__gtk_ui_manager_ensure_update (self=0xe82050) at gtkuimanager.c:2882
#28 0x0000003986247559 in gtk_ui_manager_real_get_widget (self=0xe82050, path=0xb2b0e4 "/Menubar") at gtkuimanager.c:558
#29 0x00002aaaac2a0a52 in _wrap_gtk_ui_manager_get_widget (self=0xe16550, args=<value optimized out>, kwargs=<value optimized out>) at gtk.c:97221
#30 0x000000398b0e9e1a in call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3750
#31 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2412
#32 0x000000398b0eb9a4 in PyEval_EvalCodeEx (co=0xb265d0, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000
#33 0x000000398b073700 in function_call (func=0xe128c0, arg=0x6f0210, kw=0x0) at Objects/funcobject.c:524
#34 0x000000398b048512 in PyObject_Call (func=0xe128c0, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#35 0x000000398b05b8cd in instancemethod_call (func=0xe128c0, arg=0x6f0210, kw=0x0) at Objects/classobject.c:2579
#36 0x000000398b048512 in PyObject_Call (func=0x77cf50, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#37 0x000000398b0a6760 in slot_tp_init (self=0xb36150, args=0x2aaaaaae3050, kwds=0x0) at Objects/typeobject.c:5632
#38 0x000000398b0a5388 in type_call (type=<value optimized out>, args=0x2aaaaaae3050, kwds=0x0) at Objects/typeobject.c:742
#39 0x000000398b048512 in PyObject_Call (func=0xe59000, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#40 0x000000398b0e969c in do_call (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3968
#41 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3773
#42 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2412
#43 0x000000398b0eacef in fast_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3836
#44 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3771
#45 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2412
#46 0x000000398b0eb9a4 in PyEval_EvalCodeEx (co=0x2aaaaabb9378, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000
#47 0x000000398b0eba82 in PyEval_EvalCode (co=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>) at Python/ceval.c:541
#48 0x000000398b10d4c0 in run_mod (fp=0x68e5a0, filename=<value optimized out>, start=<value optimized out>, globals=0x63d120, locals=0x63d120, closeit=1, flags=0x7fffffffc770) at Python/pythonrun.c:1351
#49 PyRun_FileExFlags (fp=0x68e5a0, filename=<value optimized out>, start=<value optimized out>, globals=0x63d120, locals=0x63d120, closeit=1, flags=0x7fffffffc770) at Python/pythonrun.c:1337
#50 0x000000398b10dfbf in PyRun_SimpleFileExFlags (fp=0x68e5a0, filename=0x7fffffffcfa2 "/usr/bin/meld", closeit=1, flags=0x7fffffffc770) at Python/pythonrun.c:941
#51 0x000000398b11c83b in Py_Main (argc=<value optimized out>, argv=<value optimized out>) at Modules/main.c:584
#52 0x000000397b61ecdd in __libc_start_main () from /lib/libc.so.6
#53 0x00000000004007d9 in _start ()
(gdb) q
A debugging session is active.

	Inferior 1 [process 7766] will be killed.




$ einfo =dev-python/pygobject-2.26.0
Portage 2.1.9.24 (default/linux/amd64/10.0, gcc-4.5.1-asneeded, glibc-2.12.1-r3, 2.6.35-gentoo-r11 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r11-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 06 Nov 2010 10:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -mssse3 -mcx16 -mmmx -msse4 -g -Wall -Wimplicit-function-declaration -Wmissing-include-dirs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/nano/ /usr/share/openvpn/easy-rsa /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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"
CXXFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -mssse3 -mcx16 -mmmx -msse4 -g -Wall -Wmissing-include-dirs -Wenum-compare"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-t --jobs=12 --load-average=12 --keep-going"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache collision-protect distlocks fixlafiles fixpackages news noinfo parallel-fetch protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=core2 -frecord-gcc-switches -mssse3 -mcx16 -mmmx -msse4 -g -Wall"
GENTOO_MIRRORS=" 	http://gentoo.j-schmitz.net/mirror/ 	ftp://ftp.gentoo.mesh-solutions.com/gentoo/ 	ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 	ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1,--hash-style=gnu,--sort-common"
LINGUAS="en"
MAKEOPTS="-j12 -l12"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-z -9 -f -S .lzma -v"
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="/var/lib/layman/science /data/local/sunrise/sunrise /data/local/sunrise/reviewed /data/local/dummy /data/local/last-hope"
SYNC="rsync://rsync.j-schmitz.net/gentoo-portage"
USE="64bit 7zip X acpi additions alsa amd64 arpwarp bash-completion berkdb branding bzip2 c++ cairo cblas ccache cleartype cli command-args corefonts cracklib cups cupsddk custom-optimization cxx dbus dri dts exif fbcondecor fortran gdbm gif glibc-omitfp gmp gnome gnome-keyring gpm graphics gstreamer gtk hddtemp iconv icu java javascript jpeg kqemu lapack lcms ldap libnotify libsexy lm_sensors lzma mailtrain md5sum mmx modules mp3 mudflap multilib multiuser nagios-dns nagios-ntp nagios-ping nagios-ssh nano-syntax ncurses network-cron nis nls nptl nptlonly nsplugin objc objc++ opengl openmp openntpd pam pcre pdf perl png pppd pymol python qt-static qt3support readline rrdcgi rrdtool science sensord session smp sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs system-sqlite tcpd threads tiff truetype type1 unicode x264 xcb xcomposite xinerama xorg xulrunner 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Juergen Rose 2010-11-06 16:03:47 UTC
The same issue here.
Comment 2 Pacho Ramos gentoo-dev 2010-11-06 16:38:56 UTC
This should probably be reported to upstream: bugzilla.gnome.org

Thanks
Comment 3 Pacho Ramos gentoo-dev 2010-11-07 17:58:55 UTC

*** This bug has been marked as a duplicate of bug 344459 ***
Comment 4 Juergen Rose 2010-11-08 09:49:29 UTC
With pygobject-2.21.5 meld still complains about deprecated but it does not crash:
root@moose:/etc/conf.d(24)# meld
** Message: pygobject_register_sinkfunc is deprecated (GtkWindow)
** Message: pygobject_register_sinkfunc is deprecated (GtkInvisible)
** Message: pygobject_register_sinkfunc is deprecated (GtkObject)
root@moose:/etc/conf.d(25)# genlop -t pygobject | tail

     Tue Oct  5 14:33:41 2010 >>> dev-python/pygobject-2.20.0-r1
       merge time: 41 seconds.

     Sat Nov  6 04:30:15 2010 >>> dev-python/pygobject-2.26.0
       merge time: 40 seconds.

     Mon Nov  8 10:39:41 2010 >>> dev-python/pygobject-2.21.5
       merge time: 40 seconds.
Comment 5 Juergen Rose 2010-11-08 10:26:02 UTC
With the patch of Comment #7 of http://bugs.gentoo.org/show_bug.cgi?id=344459
I could emerge pygobject-2.26.0-r1 and meld complains about deprecated but does not segfault.
Comment 6 Juergen Rose 2010-11-08 10:27:03 UTC
Created attachment 253611 [details]
ebuild using pygobject-pygi_h.patch
Comment 7 Juergen Rose 2010-11-08 10:27:44 UTC
Created attachment 253613 [details]
patch for avoiding segfault