Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387567 - x11-terms/terminator-0.96: Segmentation fault when starting
Summary: x11-terms/terminator-0.96: Segmentation fault when starting
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 17:05 UTC by Alexander S.
Modified: 2015-09-20 10: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 Alexander S. 2011-10-18 17:05:11 UTC
When starting x11-terms/terminator-0.96 on a new system I get following error:

ConfigBase::load: Unable to open /home/alexander/.config/terminator/config ([Errno 2] No such file or directory: '/home/alexander/.config/terminator/config')
Warning: python-keybinder is not installed. This means the hide_window shortcut will be unavailable
Unable to bind hide_window key, another instance/window has it.
Segmentation fault

Tested on three systems. Always the same issue.

Reproducible: Always

Steps to Reproduce:
1. Start terminator in any terminal
2.
3.
Comment 1 Alexander S. 2011-10-18 17:06:11 UTC
emerge --info
Portage 2.3-r7 (default/linux/amd64/2008.0, gcc-4.4.5, glibc-2.11.3-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_760_@_2.80GHz-with-gentoo-2.1.8
Timestamp of tree: Mon, 17 Oct 2011 16:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r2
dev-util/cmake:           2.8.6-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1.8-r2
sys-apps/openrc:          0.8.3-r2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.20.1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.5
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="git://github.com/funtoo/portage-mini-2011.git"
SYNC_USER="root"
USE="X aac acl alac alsa amd64 automount bash-completion berkdb bzip2 cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr dvdread encode fat ffmpeg flac fortran ftp gdbm gif git gnome gpm gtk gtk2 hal hires-icons iconv id3tag ios ipod ipv6 java jpeg lame latex libnotify mad matroska mmx modules mp3 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp openvpn pam pcre pdf perl png podcast policykit polkit pppd python qt3support qt4 readline samba session spell sqlite sse sse2 sse3 ssl ssse3 sysfs tcpd theora tiff truetype udev unicode vorbis wavpack x264 xml xorg xvid youtube zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvida vesa" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-10-19 06:17:03 UTC
http://www.gentoo.org/proj/en/qa/backtraces.xml

Please try to provide some more backtrace information.
Comment 3 Alexander S. 2011-10-22 21:31:37 UTC
(In reply to comment #2)
> http://www.gentoo.org/proj/en/qa/backtraces.xml
> 
> Please try to provide some more backtrace information.

$ terminator -d
ConfigBase::load: Unable to open /home/alexander/.config/terminator/config ([Errno 2] No such file or directory: '/home/alexander/.config/terminator/config')
noclass::parse_options: OptionParse::parse_options: command line options: {'profile': None, 'nodbus': None, 'execute': None, 'layout': 'default', 'dummy': None, 'geometry': None, 'fullscreen': None, 'debug_methods': None, 'maximise': None, 'debug': 1, 'debug_classes': None, 'version': None, 'working_directory': None, 'borderless': None, 'forcedtitle': None, 'command': None, 'hidden': None, 'role': None}
noclass::get_config_dir: Found config dir: /home/alexander/.config
ConfigBase::load: looking for config file: /home/alexander/.config/terminator/config
Config::set_profile: Config::set_profile: Changing profile to default
ConfigBase::get_item: ConfigBase::get_item: dbus found in globals: False
noclass::<module>: dbus disabled
noclass::<module>: dbus not imported
Factory::__init__: Borg::__init__: Preparing borg state for Factory
Terminator::__init__: Borg::__init__: Preparing borg state for Terminator
noclass::get_config_dir: Found config dir: /home/alexander/.config
ConfigBase::load: looking for config file: /home/alexander/.config/terminator/config
Config::set_profile: Config::set_profile: Changing profile to default
noclass::get_pid_cwd: Using Linux get_pid_cwd
ConfigBase::get_item: ConfigBase::get_item: handle_size found in globals: -1
noclass::<module>: Creating a terminal with layout: default
Terminator::create_layout: Creating a window
Factory::make: Factory::make: created a Window
Warning: python-keybinder is not installed. This means the hide_window shortcut will be unavailable
Terminator::register_window: Terminator::register_window: registering 29958624:<class 'terminatorlib.window.Window'>
noclass::get_config_dir: Found config dir: /home/alexander/.config
ConfigBase::load: looking for config file: /home/alexander/.config/terminator/config
Config::set_profile: Config::set_profile: Changing profile to default
Unable to bind hide_window key, another instance/window has it.
ConfigBase::get_item: ConfigBase::get_item: window_state found in globals: normal
ConfigBase::get_item: ConfigBase::get_item: window_state found in globals: normal
ConfigBase::get_item: ConfigBase::get_item: window_state found in globals: normal
ConfigBase::get_item: ConfigBase::get_item: borderless found in globals: False
ConfigBase::get_item: ConfigBase::get_item: hide_from_taskbar found in globals: False
ConfigBase::get_item: ConfigBase::get_item: always_on_top found in globals: False
ConfigBase::get_item: ConfigBase::get_item: sticky found in globals: False
Window::set_real_transparency: setting rgb colormap
Factory::make: Factory::make: created a Terminal
Terminator::register_terminal: Terminator::register_terminal: registering 32450112:<class 'terminatorlib.terminal.Terminal'>
noclass::get_config_dir: Found config dir: /home/alexander/.config
ConfigBase::load: looking for config file: /home/alexander/.config/terminator/config
Config::set_profile: Config::set_profile: Changing profile to default
Segmentation fault

==========

$ gdb python
GNU gdb (Gentoo 7.3.1 p1) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.


(gdb) run /usr/bin/terminator
Starting program: /usr/bin/python /usr/bin/terminator
process 26264 is executing new program: /usr/bin/python2.7
[Thread debugging using libthread_db enabled]
process 26264 is executing new program: /usr/bin/python2.7
[Thread debugging using libthread_db enabled]
ConfigBase::load: Unable to open /home/alexander/.config/terminator/config ([Errno 2] No such file or directory: '/home/alexander/.config/terminator/config')
Warning: python-keybinder is not installed. This means the hide_window shortcut will be unavailable
Unable to bind hide_window key, another instance/window has it.

Program received signal SIGSEGV, Segmentation fault.
0x00007fffeb483aa2 in ?? () from /lib64/libuuid.so.1


(gdb) bt
#0  0x00007fffeb483aa2 in ?? () from /lib64/libuuid.so.1
#1  0x00007fffeb483bda in ?? () from /lib64/libuuid.so.1
#2  0x00007fffeb483d7f in __uuid_generate_random () from /lib64/libuuid.so.1
#3  0x00007fffeb483df6 in uuid_generate_random () from /lib64/libuuid.so.1
#4  0x00007ffff5b4d0f8 in ffi_call_unix64 () from /usr/lib64/libffi.so.5
#5  0x00007ffff5b4ce94 in ffi_call () from /usr/lib64/libffi.so.5
#6  0x00007fffe0b4392c in _ctypes_callproc () from /usr/lib64/python2.7/lib-dynload/_ctypes.so
#7  0x00007fffe0b3da18 in ?? () from /usr/lib64/python2.7/lib-dynload/_ctypes.so
#8  0x00007ffff7a6d542 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#9  0x00007ffff7b082d4 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0
#10 0x00007ffff7b094e4 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0
#11 0x00007ffff7b0abd0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0
#12 0x00007ffff7a95e21 in ?? () from /usr/lib64/libpython2.7.so.1.0
#13 0x00007ffff7a6d542 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#14 0x00007ffff7a8017d in ?? () from /usr/lib64/libpython2.7.so.1.0
#15 0x00007ffff7a6d542 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#16 0x00007ffff7ac405e in ?? () from /usr/lib64/libpython2.7.so.1.0
#17 0x00007ffff7ac2cb8 in ?? () from /usr/lib64/libpython2.7.so.1.0
#18 0x00007ffff7a6d542 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#19 0x00007ffff7b082d4 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0
#20 0x00007ffff7b0abd0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0
#21 0x00007ffff7a95f26 in ?? () from /usr/lib64/libpython2.7.so.1.0
#22 0x00007ffff7a6d542 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
#23 0x00007ffff7b07aa7 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0
#24 0x00007ffff7b0abd0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0
#25 0x00007ffff7b093b7 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0
#26 0x00007ffff7b0abd0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0
#27 0x00007ffff7b093b7 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0
#28 0x00007ffff7b094e4 in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0
#29 0x00007ffff7b0abd0 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0
#30 0x00007ffff7b0ace2 in PyEval_EvalCode () from /usr/lib64/libpython2.7.so.1.0
#31 0x00007ffff7b24f0c in ?? () from /usr/lib64/libpython2.7.so.1.0
#32 0x00007ffff7b24fe2 in PyRun_FileExFlags () from /usr/lib64/libpython2.7.so.1.0
#33 0x00007ffff7b2653c in PyRun_SimpleFileExFlags () from /usr/lib64/libpython2.7.so.1.0
#34 0x00007ffff7b376c9 in Py_Main () from /usr/lib64/libpython2.7.so.1.0
#35 0x00007ffff74cebbd in __libc_start_main () from /lib64/libc.so.6
#36 0x00000000004008c9 in _start ()
(gdb)
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2011-10-23 08:25:09 UTC
could you please also build sys-fs/e2fsprogs with debug symbols? Which version of sys-fs/e2fsprogs do you have installed.?
Comment 5 Alexander S. 2011-10-23 23:25:57 UTC
(In reply to comment #4)
> could you please also build sys-fs/e2fsprogs with debug symbols? Which version
> of sys-fs/e2fsprogs do you have installed.?

rebuild with debug symbols:
- sys-fs/e2fsprogs-1.42_pre0702
- sys-libs/e2fsprogs-libs-1.42_pre0702
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-10-24 05:16:07 UTC
Hi Daniel,

This is from a funtoo box. Is this buildsystem specific or funtoo specific?
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2015-09-20 10:19:39 UTC
Does it still happen with recent versions?