Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210537 - net-im/kadu-0.6.0_rc2 crashes when one clicks 'notification' message
Summary: net-im/kadu-0.6.0_rc2 crashes when one clicks 'notification' message
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: Dawid Węgliński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-17 22:40 UTC by Mariusz Kozlowski
Modified: 2008-06-04 22:30 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 Mariusz Kozlowski 2008-02-17 22:40:34 UTC
net-im/kadu-0.6.0_rc2 is an im client. when contact on the list changes his status 'notification' is shown in the corner (if configured). when you click this notification message kadu crashes.

Reproducible: Always

Steps to Reproduce:
1. run kadu
2. configure notifications (enabled by default)
3. wait for notification to arrive
4. click notification window

Actual Results:  
Application crashes with SIGSEGV.
I captured some debug info with gdb (6.7.1).

$ gdb kadu
[...snip...]
(gdb) run
Starting program: /usr/bin/kadu 
[Thread debugging using libthread_db enabled]
[New Thread 0xb70e26d0 (LWP 6229)]
[New Thread 0xb6f22b90 (LWP 6232)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb70e26d0 (LWP 6229)]
0xb65beb77 in Hint::hasUsers (this=0x830b818) at hints/hint.cpp:225
225     hints/hint.cpp: No such file or directory.
        in hints/hint.cpp
Current language:  auto; currently c++

The hints/hint.cpp at line 225 says:
223 bool Hint::hasUsers() const
224 {
225        return notification->userListElements().count() != 0;
226 }

And here is the backtrace:
(gdb) backtrace 
#0  0xb65beb77 in Hint::hasUsers (this=0x830b818) at hints/hint.cpp:225
#1  0xb65b7739 in HintManager::openChat (this=0x83f9598, hint=0x830b818) at hints/hint_manager.cpp:325
#2  0xb65b79a2 in HintManager::processButtonPress (this=0x83f9598, buttonName=@0xbfa10c5c, hint=0x830b818) at hints/hint_manager.cpp:285
#3  0xb65b7c12 in HintManager::leftButtonSlot (this=0x83f9598, hint=0x830b818) at hints/hint_manager.cpp:308
#4  0xb65c5646 in HintManager::qt_invoke (this=0x83f9598, _id=4, _o=0xbfa10cf4) at hints/hint_manager_moc.cpp:180
#5  0xb7955e6a in QObject::activate_signal (this=0x830b818, clist=0x82eae10, o=0xbfa10cf4) at kernel/qobject.cpp:2356
#6  0xb65c630c in Hint::leftButtonClicked (this=0x830b818, t0=0x830b818) at hints/hint_moc.cpp:127
#7  0xb65beacb in Hint::mouseReleaseEvent (this=0x0, event=0xbfa10eb0) at hints/hint.cpp:238
#8  0xb798a8d2 in QWidget::event (this=0x830b818, e=0xbfa10eb0) at kernel/qwidget.cpp:4677
#9  0xb78fd706 in QApplication::internalNotify (this=0x8224c80, receiver=0x830b818, e=0xbfa10eb0) at kernel/qapplication.cpp:2635
#10 0xb78fe546 in QApplication::notify (this=0x8224c80, receiver=0x8440b00, e=0xbfa10f8c) at kernel/qapplication.cpp:2421
#11 0xb78a412f in QETWidget::translateMouseEvent (this=0x8440b00, event=0xbfa11308) at kernel/qapplication.h:499
#12 0xb78a268d in QApplication::x11ProcessEvent (this=0x8224c80, event=0xbfa11308) at kernel/qapplication_x11.cpp:3449
#13 0xb78b1f39 in QEventLoop::processEvents (this=0x830ac80, flags=4) at kernel/qeventloop_x11.cpp:192
#14 0xb791288d in QEventLoop::enterLoop (this=0x830ac80) at kernel/qeventloop.cpp:198
#15 0xb791273e in QEventLoop::exec (this=0x830ac80) at kernel/qeventloop.cpp:145
#16 0xb78fd155 in QApplication::exec (this=0x8224c80) at kernel/qapplication.cpp:2758
#17 0x0815037b in main ()
(gdb)


Expected Results:  
Not sure what should be the action when one clicks notification message. Not crash for sure ;)

Portage 2.1.4.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24 i686)
=================================================================
System uname: 2.6.24 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Fri, 15 Feb 2008 22:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O1 -pipe -mmmx -msse -msse2 -ggdb"
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O1 -pipe -mmmx -msse -msse2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="pl"
MAKEOPTS="-j2"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dri dvd dvdr eds emboss encode fam firefox fortran gdbm gif gstreamer gtk hal iconv isdnlog jpeg kde ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses network nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcmcia pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd tetex truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2008-06-04 22:30:27 UTC
0.6.0_rc2 was broken by design, try 0.6.0.1 instead. ;)