GNU gdb (Gentoo 7.3.1 p2) 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 "hppa2.0-unknown-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/claws-mail...Reading symbols from /usr/lib/debug/usr/bin/claws-mail.debug...done. done. BFD: Warning: /home/jeroen/core is truncated: expected core file size >= 4239360, found: 4149248. [New LWP 30352] [Thread debugging using libthread_db enabled] Core was generated by `claws-mail'. Program terminated with signal 11, Segmentation fault. #0 0x417fb1e8 in __sync_add_and_fetch_4 () from /usr/lib/libdbus-1.so.3 Thread 1 (LWP 30352): #0 0x417fb1e8 in __sync_add_and_fetch_4 () from /usr/lib/libdbus-1.so.3 No symbol table info available. #1 0x417f2fec in _dbus_atomic_inc (atomic=<optimized out>) at /mnt/alt/portage/sys-apps/dbus-1.6.8/work/dbus-1.6.8/dbus/dbus-sysdeps-unix.c:2440 No locals. #2 0x417d2b0c in dbus_connection_ref (connection=0x0) at /mnt/alt/portage/sys-apps/dbus-1.6.8/work/dbus-1.6.8/dbus/dbus-connection.c:2643 No locals. #3 0x41224b24 in dbus_g_proxy_manager_get (connection=0x3cb430) at /mnt/alt/portage/dev-libs/dbus-glib-0.100/work/dbus-glib-0.100/dbus/dbus-gproxy.c:210 manager = 0x3ce638 #4 dbus_g_proxy_set_property (object=<optimized out>, prop_id=<optimized out>, value=<optimized out>, pspec=<optimized out>) at /mnt/alt/portage/dev-libs/dbus-glib-0.100/work/dbus-glib-0.100/dbus/dbus-gproxy.c:1610 proxy = <optimized out> priv = 0x39a628 connection = 0x3cb434 #5 0x41cb6168 in object_set_property (object=0x39a618, pspec=0x3ac678, value=0x3ce358, nqueue=0x39b9a8) at gobject.c:1352 notify_pspec = 0x39a598 tmp_value = {g_type = 3966040, data = {{v_int = 3978292, v_uint = 3978292, v_long = 3978292, v_ulong = 3978292, v_int64 = 17086634033938432, v_uint64 = 17086634033938432, v_float = 5.57477447e-39, v_double = 1.5967084648865649e-307, v_pointer = 0x3cb434}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}} class = 0x3cb9f0 param_id = 4 redirect = 0x0 enable_diagnostic = 0x41cf316c "0" #6 0x41cb7bf8 in g_object_constructor (type=3778072, n_construct_properties=3851896, construct_params=0x3ce358) at gobject.c:1863 value = 0x0 pspec = 0x38 nqueue = 0x4 object = 0x3cb9f0 #7 0x41cb7bf8 in g_object_constructor (type=3965008, n_construct_properties=0, construct_params=0x3bce10) at gobject.c:1863 value = 0x3ce358 pspec = 0x3ac678 nqueue = 0x39b9a8 object = 0x39a618 #8 0x412237f0 in dbus_g_proxy_constructor (type=3965008, n_construct_properties=4, construct_properties=<optimized out>) at /mnt/alt/portage/dev-libs/dbus-glib-0.100/work/dbus-glib-0.100/dbus/dbus-gproxy.c:1429 proxy = <optimized out> klass = <optimized out> parent_class = <optimized out> priv = <optimized out> #9 0x41cb725c in g_object_newv (object_type=3965008, n_parameters=4, parameters=0x3ce2f0) at gobject.c:1713 cparams = 0x3bcdf0 oparams = 0x3cb4c0 nqueue = 0x0 object = 0x50 class = 0x3cb9f0 unref_class = 0x0 slist = 0x0 n_total_cparams = 4 n_cparams = 4 n_oparams = 0 n_cvalues = 0 cvalues = 0x0 clist = 0x0 newly_constructed = 1 i = 4 __PRETTY_FUNCTION__ = "g_object_newv" #10 0x41cb7abc in g_object_new_valist (object_type=3965008, first_property_name=0x4 <Address 0x4 out of bounds>, var_args=0x3ce2f0) at gobject.c:1830 class = 0x4 params = 0x3cb4c0 name = 0x0 object = 0x4 n_params = 80 n_alloced_params = 3979760 __PRETTY_FUNCTION__ = "g_object_new_valist" #11 0x41cb7abc in g_object_new_valist (object_type=3965008, first_property_name=0x41234074 "name", var_args=0xfb3726f8) at gobject.c:1830 class = 0x3cb9f0 params = 0x3ce2f0 name = 0x0 object = 0x3447ac n_params = 4 n_alloced_params = 16 __PRETTY_FUNCTION__ = "g_object_new_valist" #12 0x41cb6ac4 in g_object_new (object_type=3965008, first_property_name=0x41234074 "name") at gobject.c:1545 object = 0x1 var_args = 0xfb372718 __PRETTY_FUNCTION__ = "g_object_new" #13 0x41224c5c in dbus_g_proxy_new (interface_name=0x2838c0 "com.google.code.Awn", path_name=0x2838d4 "/com/google/code/Awn", name=0x2838c0 "com.google.code.Awn", connection=0x3cb434) at /mnt/alt/portage/dev-libs/dbus-glib-0.100/work/dbus-glib-0.100/dbus/dbus-gproxy.c:1992 proxy = <optimized out> #14 dbus_g_proxy_new_for_name (connection=0x3cb434, name=0x2838c0 "com.google.code.Awn", path=0x2838d4 "/com/google/code/Awn", iface=0x2838c0 "com.google.code.Awn") at /mnt/alt/portage/dev-libs/dbus-glib-0.100/work/dbus-glib-0.100/dbus/dbus-gproxy.c:2040 __PRETTY_FUNCTION__ = "dbus_g_proxy_new_for_name" #15 0x000b52b4 in install_dbus_status_handler () at /mnt/alt/portage/mail-client/claws-mail-3.8.1-r2/work/claws-mail-3.8.1/src/main.c:1020 tmp_error = 0x0 connection = <optimized out> #16 main (argc=1, argv=0xfb37202c) at /mnt/alt/portage/mail-client/claws-mail-3.8.1-r2/work/claws-mail-3.8.1/src/main.c:1181 connection = 0x38f340 error = 0x0 userrc = <optimized out> mainwin = <optimized out> folderview = <optimized out> icon = <optimized out> crash_file_present = 0 num_folder_class = 0 asked_for_migration = 0 start_done = 1 gui_manager = 0x0 plug_list = 0x0 never_ran = 0 start = {tv_sec = 1350236813, tv_usec = 34005} end = {tv_sec = 1112364640, tv_usec = 1098303344} timing_name = 0x29256c "startup" __FUNCTION__ = "main"
Sun Oct 14 19:51:53 CEST 2012 Portage 2.1.11.26 (default/linux/hppa/10.0, gcc-4.5.4, glibc-2.14.1-r3, 3.4.9-gentoo-JeR parisc64) ================================================================= System Settings ================================================================= System uname: Linux-3.4.9-gentoo-JeR-parisc64-PA8700_-PCX-W2-with-gentoo-2.2 Timestamp of tree: Sun, 14 Oct 2012 15:15:01 +0000 distcc 3.1 hppa2.0-unknown-linux-gnu [enabled] ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p37 dev-lang/python: 2.5.4-r4, 2.6.8, 2.7.3-r2, 3.2.3-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.27.1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6 sys-devel/binutils: 2.21.1-r1, 2.22-r1 sys-devel/gcc: 4.4.5, 4.4.6-r1, 4.4.7, 4.5.1-r1, 4.5.2, 4.5.3-r2, 4.5.4, 4.6.2, 4.6.3, 4.7.0, 4.7.1, 4.7.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo JeR Installed sets: @system ACCEPT_KEYWORDS="hppa" ACCEPT_LICENSE="* -@EULA" CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2 -Wno-comment" CHOST="hppa2.0-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/bind /var/spool/torque /var/vpopmail/etc /var/www/localhost/htdocs/wordpress/wp-config.php" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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" CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2" DISTDIR="/world/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distlocks ebuild-locks fixlafiles metadata-transfer news notitles parallel-fetch protect-owned sandbox sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.leaseweb.com/gentoo/ " LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" LINGUAS="en nl he" MAKEOPTS="-j6" PKGDIR="/keeps/gentoo/packages/elmer" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/alt" PORTDIR="/world/gentoo/portage" PORTDIR_OVERLAY="/keeps/gentoo/local" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="7zip X Xaw3d a52 aac aacplus aalib abyss accessibility ads afterimage agg alsa amr amrnb amrwb ao aoss apis apng ares artist-screen asf ass assistant async asyncns audiofile augeas automount avfs bash-completion berkdb bidi bittorrent bittorrent-external bl bluetooth bzip2 c++ cairo captury catalogs cblas cdb cdio cdr chardet cjk clarens cleartype cli cman colors contrast cpath cracklib crypt cue 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 ebook edl egl elf emacs enca encode esd examples exceptions exif expat extras facebook fam fame fastbuild fastcgi fbcon ffmpeg filter fits flac fltk fluidsynth fontconfig foomaticdb fortran fpx frei0r ftp fts3 fusion gadu galago games gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnokii gnutls gphoto2 gpm gps gs gsl gsm gtk gtk2 gtk3 gtkhtml guidexml guile hal hepmc hesiod hotpixels hppa hwdb i18n ical icecast iconv icu idea idn imagemagick imlib indi inotify inquisitio introspection ipv6 isc ithreads jabber jack javascript jbig jingle jpeg jpeg2k judy kate kpathsea lame lapack lasi lastfmradio latex lcms ldap leim lensfun libass libcaca libffi libmms libnl libotf libsamplerate libssh2 libwww live logrotate logwatch lua lyrics-screen lzma lzo m17n-lib mad manhole matroska mbrola mem-scramble memcache metis mhash midi mikmod mmap mms mng modplug modules motif mozbranding mp3 mpg123 mpi mplayer mssql mtp mudflap multislot musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas natspec ncurses netpbm nettle network-cron nfconntrack nfs nls nntp nova nptl nsplugin ntlm objc objc++ objc-gc offensive ogg openal openexr opengl openmp openssl optimization oss ots overlays pam pango pbs pch pcre pdf pdo-external php pipe pkcs11 plasma plotutils plugins png policykit portage portaudio postgres povray ppds pppd pulseaudio python pyzord qalculate qdbm qt3support qt4 quicktime quotas raw readline recode rle romio rpc rrdtool rtc rtmp samba sasl scale0tilt scanner scim sdl seamonkey secure-delete server session sid skk slp smi sms sndfile snmp soap song-screen soundex speex spell spoof-source sqlite srt srtp ssh ssl startup-notification strong-optimization subtitles subversion suhosin supernodal svg swat sysfs syslog system-sqlite talkfilters tcl tcpd test tftp tga theora threads thumbnail thunar-vfs tidy tiff timezone timidity tk tokyocabinet tools truetype tslib tunepimp twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vala vanim vcd vim-syntax vorbis watchdog wavpack webdav webinstall webp wildmidi winbind wlan wma wmf xanim xcb xchattext xcomposite xetex xface xft xlisten xml xml2 xmp xmpi xnest xpm xrandr xscreensaver xsettings xv xvfb xvid yaml 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="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="nfs 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="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 wacom void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl he" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="stifb fbdev none dummy" 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, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= sys-apps/dbus-1.6.8 was built with the following: USE="X test -debug -doc (-selinux) -static-libs (-systemd)" CFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2 -Wno-comment -rdynamic" CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -pipe -Wall -O2 -rdynamic"
i don't think it's a bug in the toolchain. the backtrace shows the code tries to deref a NULL pointer. #2 0x417d2b0c in dbus_connection_ref (connection=0x0) at /mnt/alt/portage/sys-apps/dbus-1.6.8/work/dbus-1.6.8/dbus/dbus-connection.c:2643 connection should not be NULL. anything below that is not a bug ... garbage in, garbage out.
Is this still valid with dbus-1.8.18?