when I try to run psi I got an error: tried to recompile psi with ant without extras but with no result - revdep-rebuild don't find anything too kuku@kuku ~ $ psi qca-gnupg: disabling keyring monitoring due to buggy Qt version PsiIconset::Private::iconsetPath("roster/crystal-gadugadu.jisp"): not found psi: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed. Przerwane kuku@kuku ~ $ kuku@kuku ~ $ MALLOC_CHECK_=false psi qca-gnupg: disabling keyring monitoring due to buggy Qt version PsiIconset::Private::iconsetPath("roster/crystal-gadugadu.jisp"): not found Przerwane kuku@kuku ~ $ Reproducible: Always kuku@kuku ~ $ emerge --info Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-zen2 i686) ================================================================= System uname: Linux-2.6.32-zen2-i686-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 31 Dec 2009 10:30:23 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" 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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pl_PL.UTF-8" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amr amrnb aspell berkdb bittorrent-external bluetooth branding bzip bzip2 cairo caps cdr cleartype cli consolekit cracklib crypt cups cxx dbus dirac dri dts dvd dvdr emboss encode evo exif extras fam fbcondecor firefox flac fortran gdbm gif gimp google-gadgets gphoto2 gpm gstreamer hal hfs icecast iconv id3 ipv6 jingle jpeg kde kdehiddenvisibility ldap lensfun libnotify libsamplerate lzma mad mikmod mmx mng modules mono moonlight mp3 mp4 mpeg mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ogg open-amr openexr opengl openmp pam parport pcre pdf png ppds pppd psyco python qt3support qt4 quicktime readline reflection scanner schroedinger sdl semantic-desktop session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd threads thumbnail thunar tiff truetype unicode usb v4l v4l2 vorbis webkit win32codecs x264 x86 xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="intel_hda" 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 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" CAMERAS="canon ptp ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp plustek" USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Which version of x11-libs/qt-gui is installed?
Please, rebuild psi with debugging symbols[1], attach debugger to psi and show us backtrace. Without this information we are unable to help here. Also, please, set locale to C or en_something, as I'm unable to understand what Przerwane means (is this abort or segmentation fault?). [1] http://www.gentoo.org/proj/en/qa/backtraces.xml
I got a problem when compiling it with the debug flag enabled, without this flag it compiles fine: emerge --info =net-im/psi-0.14-r1 Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-zen2 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-zen2-i686-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 31 Dec 2009 10:30:23 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4, 3.1.1-r1 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" 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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="pl_PL.UTF-8" LC_ALL="pl_PL" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amr amrnb aspell berkdb bittorrent-external bluetooth branding bzip bzip2 cairo caps cdr cleartype cli consolekit cracklib crypt cups cxx dbus dirac dri dts dvd dvdr emboss encode evo exif extras fam fbcondecor firefox flac fortran gdbm gif gimp google-gadgets gphoto2 gpm gstreamer hal hfs icecast iconv id3 ipv6 jingle jpeg kde kdehiddenvisibility ldap lensfun libnotify libsamplerate lzma mad mikmod mmx mng modules mono moonlight mp3 mp4 mpeg mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ogg open-amr openexr opengl openmp pam parport pcre pdf png ppds pppd psyco python qt3support qt4 quicktime readline reflection scanner schroedinger sdl semantic-desktop session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd threads thumbnail thunar tiff truetype unicode usb v4l v4l2 vorbis webkit win32codecs x264 x86 xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="intel_hda" 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 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" CAMERAS="canon ptp ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp plustek" USERLAND="GNU" VIDEO_CARDS="intel i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-im/psi-0.14-r1 was built with the following: USE="crypt dbus jingle spell ssl webkit -debug -doc -extras -xscreensaver" LINGUAS="pl -be -cs -de -fr -it -ja -pt_BR -ru -sl -sv -ur_PK -zh_TW" * Done with patching Project name: Psi Profile: psi.pro Deps: qt4* buildmodeapp* bundled-qca qca* openssl zlib* universal certstore* qdbus qtwebkit growl xss aspell enchant spell* plugins recursiveprl* conf* 'configure' written. 'configure.exe' written. >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-im/psi-0.14-r1/work/psi-0.14 ... ./configure --prefix=/usr --qtdir=/usr --disable-bundled-qca --disable-growl --enable-debug --disable-xss --enable-qtwebkit Usage: ./configure [OPTION]... This script creates necessary configuration files to build/install. Main options: --prefix=[path] Base path for build/install. Default: /usr/local --bindir=[path] Directory for binaries. Default: PREFIX/bin --libdir=[path] Directory for libraries. Default: PREFIX/lib --datadir=[path] Directory for data. Default: PREFIX/share --qtdir=[path] Directory where Qt is installed. --verbose Show extra configure output. --help This help text. Project options: --release Build with debugging turned off (default). --debug Build with debugging turned on. --no-separate-debug-info Do not store debug information in a separate file (default for mac). --separate-debug-info Strip debug information into a separate .debug file (default for non-mac). --certstore-path=[path] Path to the SSL/X509 Certificate store file (bundled QCA only) Dependency options: --disable-bundled-qca Disable use of Use bundled QCA --with-qca=[path] Specify path to QCA tree, mainly for building against an uninstalled QCA. --disable-openssl Disable use of OpenSSL (bundled QCA only) --with-openssl-inc=[path] Path to OpenSSL include files (bundled QCA only) --with-openssl-lib=[path] Path to OpenSSL library files (bundled QCA only) --with-zlib-inc=[path] Path to zlib include files --with-zlib-lib=[path] Path to zlib library files --enable-universal Enable use of Mac OS X universal binary support --disable-qdbus Disable use of QDBUS --enable-qtwebkit Enable use of QtWebKit --disable-growl Disable use of Growl --with-growl=[path] Path to the Growl framework --disable-xss Disable use of the XScreenSaver extension --disable-aspell Disable use of aspell --with-aspell-inc=[path] Path to Aspell include files --with-aspell-lib=[path] Path to Aspell library files --disable-enchant Disable use of enchant --enable-plugins Enable use of Psi Plugin support * ERROR: net-im/psi-0.14-r1 failed: * configure failed * * Call stack: * ebuild.sh, line 54: Called src_configure * environment, line 2926: Called die * The specific snippet of code: * [[ ! -f Makefile ]] && die "configure failed" * * If you need support, post the output of 'emerge --info =net-im/psi-0.14-r1', * the complete build log and the output of 'emerge -pqv =net-im/psi-0.14-r1'. * The complete build log is located at '/var/tmp/portage/net-im/psi-0.14-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-im/psi-0.14-r1/temp/environment'. * S: '/var/tmp/portage/net-im/psi-0.14-r1/work/psi-0.14'
Thank you, I'll check this error a bit later. But note, to get backtrace you don't need to build psi with USE=debug. Just build with USE=-debug, correct CFLAGS (+ggdb), splitdebug in FEATURES and try to get correct backtrace.
(In reply to comment #4) > Thank you, I'll check this error a bit later. But note, to get backtrace you > don't need to build psi with USE=debug. Just build with USE=-debug, correct > CFLAGS (+ggdb), splitdebug in FEATURES and try to get correct backtrace. > I enabled it but now I get an error - I think i686-pc-linux-gnu-gcc: ggdb: No such file or directory I think that some use flag for gcc or gdb should be enabled - but I've no idea wich one ? (maybe it's the same problem because the debug flag fails) kuku@kuku ~ $ sudo emerge -pv gdb sys-devel/gcc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-4.4.2 USE="fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) -ip28 -ip32r10k (-libffi) (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 61,459 kB [ebuild R ] sys-devel/gdb-7.0 USE="nls python -expat -multitarget -test -vanilla" 17,203 kB
my psi (0.13 & 0.14) crashed too. After unmerging "psimedia" it runs again. proofed this by unmerging, merging and unmerging of psimedia.
(In reply to comment #6) > my psi (0.13 & 0.14) crashed too. > After unmerging "psimedia" it runs again. > > proofed this by unmerging, merging and unmerging of psimedia. > confirmed - after unemerging psimedia psi launches and works
Ok, issue with debug USE flag fixed. Now to investigate this issue further we need good backtrace. (In reply to comment #5) > I enabled it but now I get an error - I think > i686-pc-linux-gnu-gcc: ggdb: No such file or directory I guess you've misinterpret my comment. You need to add ggdb option for gcc, thus add '-ggdb' into CFLAGS (drop -fomit-frame-pointer if exists) and add splitdebug to FEATURES. In any case all of this is explained in the document I mentioned in comment #2 and thus if you have problems, please, open and read it. Also note, since it looks like this crasher is somehow related to psimedia, you will need to rebuild psimedia with symbols too (and I guess other libraries too but it's hard to say now what libraries).
> Also note, since it looks like this crasher is somehow related to psimedia, you > will need to rebuild psimedia with symbols too (and I guess other libraries too > but it's hard to say now what libraries). > I've run emerge -e world, and now psi works with psimedia installed, so I can't recreate it anymore. I think it was related to an update of gst-plugins
I'll resolve this bug for now, since somebody need to provide move details anyway. Thanks you for report anyway.
(In reply to comment #10) > I'll resolve this bug for now, since somebody need to provide move details > anyway. Thanks you for report anyway. > there was new versions of gstreamer and I got the same problem - but now I can compile it with the debug flag. But it looks like the program is partially running: it even apperas on the system tray - but there is no icon - only empty place - and in the console it looks so: kuku@kuku ~ $ psi qca-gnupg: disabling keyring monitoring due to buggy Qt version PsiIconset::Private::iconsetPath("roster/crystal-gadugadu.jisp"): not found PsiIconset::Private::iconsetPath("psiplus/default"): not found Accessing missing option options.iconsets.moods Accessing missing option options.iconsets.clients (psi:15677): GLib-GObject-WARNING **: specified instance size for type `GstRTPG729Pay' is smaller than the parent type's `GstBaseRTPAudioPayload' instance size (psi:15677): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed Unable to load element 'rtpspeexpay'. (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstAppVideoSink' (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstRtpBin' (psi:15677): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstVideoMaxRate' (psi:15677): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstLiveAdder' (psi:15677): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstAudioresample' (psi:15677): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstSpeexDSP' (psi:15677): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstRTPDepay' (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed Unable to load element 'rtpspeexpay'. (psi:15677): GLib-GObject-WARNING **: cannot register existing type `GstAppVideoSink' (psi:15677): GStreamer-CRITICAL **: gst_element_register: assertion `g_type_is_a (type, GST_TYPE_ELEMENT)' failed