Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90538 - psi-0.9.3-r1 crashes when deactivating "View-> Show Status Message"
Summary: psi-0.9.3-r1 crashes when deactivating "View-> Show Status Message"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 13:52 UTC by Christoph Probst
Modified: 2005-06-26 07:38 UTC (History)
1 user (show)

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


Attachments
psi-richroster-status_gui_on_off-fix.patch (psi-richroster-status_gui_on_off-fix.patch,2.51 KB, patch)
2005-05-08 14:58 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Probst 2005-04-26 13:52:55 UTC
I'm using psi 0.9.3-r1 and it crashes, when I turn off the status messages displayed blow the nicknames. I emerged it about 2 days ago. The first 2-3 times I used psi I didn't have any problem. But something changed and now I cannot turn the status messages off without causing a segmentation fault.



Reproducible: Always
Steps to Reproduce:

1. Start psi
2. Automatic log-on
3. Provide GPG Passphrase
4. Turn off View -> Show Status Message
5. Set focus to any other window but psi
6. Set focus back to psi
7. Crash

Alternative:

1. Start psi
2. Stop auto log-on, change status to offline
3. Change View -> Show Status Message
4. Crash

As I said: I didn't have this problem in the beginning. It emerged after a day or two but I don't know anything I changed that could have affected psi.
Actual Results:  
chris@sirona chris $ psi
QFont::setPointSize: Point size <= 0 (-3)
QFont::setPointSize: Point size <= 0 (-3)

Segmentation fault

Expected Results:  
no crash 

If I find some time I might debug it a little bit. So far this bug report is
everything I can provide.

-----------------------------------------------------------------------

# emerge -vp psi

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-im/psi-0.9.3-r1  +crypt +extras +kde +ssl 1,458 kB


-----------------------------------------------------------------
# emerge info

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD-K7(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 18 2005, 21:14:40)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-s -j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi afs alsa arts avi berkdb bitmap-fonts crypt cups curl dga
dvd emboss encode extras fam flac foomaticdbfortran gdbm gif gnome-libs gphoto2
gpm gtk gtk2 hbci ijs imap imlib ipv6 java jpeg junit kde kerberos lcms libg++
libwww mad maildir mbox mikmod mmx mozilla mp3 mpeg mysql nas ncurses nls ogg
oggvorbis opengl pam pcmcia pda pdflib perl png pnp postgres python qt qtmt
quicktime readline samba sdl spell ssl tetex tiff truetype truetype-fonts
type1-fonts vorbis xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Christoph Probst 2005-04-26 16:03:33 UTC
Same problem with net-im/psi-0.9.3-r3 (USE=extras). Using -extras has no "Show Status Messages" and 
Comment 2 Christoph Probst 2005-04-26 16:03:33 UTC
Same problem with net-im/psi-0.9.3-r3 (USE=extras). Using -extras has no "Show Status Messages" and îs not affected.
Comment 3 Gustavo Felisberto (RETIRED) gentoo-dev 2005-04-26 16:09:58 UTC
I must say that i cannot duplicate this.

Only thing i can say is to use -extras as that is being caused by some of our Unoficial Unsupported patches.
Comment 4 Gustavo Felisberto (RETIRED) gentoo-dev 2005-04-26 16:16:52 UTC
Hmm can you guys please do a emerge -pv qt and report back on the versions.
Comment 5 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-04-26 16:23:51 UTC
Hi! I'm responsible for this bug.... I know about it from moneday and I'm making fix for this now.

Strange thing is that you are firsts linux users who saw this bug. Non of my friends (and me) cannot confirm this bug. Only windows build (psi-wintoo) was affected (atleast that's what I fought about it...). Which version of qt you are using?

Ok. And for bug - It's only appears when you activate showing of self-contact and deactivate showing status messages. I'm think I should resolved this in comming days. For now - plz deactivate showing self-contact in roster window.

PS. Sorry for my english and problems whit psi :|

Best regards,
Przemek
Comment 6 Christoph Probst 2005-04-27 08:58:39 UTC
# emerge -pv qt

[ebuild     U ] x11-libs/qt-3.3.4-r3 [3.3.3] +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc +ipv6 +mysql +nas-odbc +opengl +postgres -sqlite -xinerama +zlib 14,101 kB


I can confirm that it has something to do with "Show Self Contact". When I deactivate Show Self Contact the Bug disappears.

I'm going to update my qt now. Maybe that solves the problem for me.
Comment 7 Christoph Probst 2005-04-27 14:29:33 UTC
Ok, I updated to x11-libs/qt-3.3.4-r3 but the bug still exists.

I also found out that you have to restart psi after activating "Show Self Contact" and "Show Status Messages" to be able to trigger the bug.

1. Activate "Show Self Contact" and "Show Status Messages"
2. restart psi and log on
3. deactivate "Show Status Messages"
4. unfocus psi and focus psi again
5. crash

The workaround to deactivate "Show Self Contact" works for me.
Comment 8 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-04-29 15:12:48 UTC
Christoph - thx! Yes, I can confirm this bug.

Ok - I'll try to resolve this ASAP now! Thx :)

Regards,
Przemek
Comment 9 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-05-08 14:58:40 UTC
Created attachment 58413 [details, diff]
psi-richroster-status_gui_on_off-fix.patch

Finally - I made this this fix. I cannot reproduce this bug now. Plz try and
confirm (or not ;-) ).

PS. Gustavo - you want to add it ASAP or we may wait few days for -r4? I have
some more ideas....

Regards,
Przemek
Comment 10 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-05-08 16:05:54 UTC
As Christoph reported to me - it's still not solved... still wroking on it :|

Regards,
Przemek
Comment 11 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-05-18 05:53:09 UTC
Ok...

Instead of fixing I made my own implementation of status showing in roster.
Button for enabling / disabling showing statuses work as axpected. Status
showing isn't that powerfull as richroster, but should be much faster.

Test ebuild for psi-0.9.3-gentoo-r4-test1 can be download from here:
http://vivid.dat.pl/psi/psi-0.9.3-gentoo-r4-test1.tar.bz2

Plz - test and report any bugs about this version to me:
jid: troll@chrome.pl

Regards,
Przemek
Comment 12 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-05-19 07:32:07 UTC
New test release:
http://vivid.dat.pl/psi/psi-0.9.3-gentoo-r4-test2.tar.bz2

Many bugfixes in status showing and better speed.

Regards,
Przemek
Comment 13 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-06-19 10:20:17 UTC
Possibly last test release - plz test :)
http://vivid.dat.pl/psi/psi-0.9.3-gentoo-r4-test2.tar.bz2

Bugfixes and enhancements in status showing. I think this is last update related
with this.

Regards,
Przemek
Comment 14 Przemyslaw Maciag (RETIRED) gentoo-dev 2005-06-19 10:30:32 UTC
Of course:
http://vivid.dat.pl/psi/psi-0.9.3-gentoo-r4-test3.tar.bz2

sorry - wrong link.

Regards,
Przemek
Comment 15 Gustavo Felisberto (RETIRED) gentoo-dev 2005-06-26 07:38:02 UTC
Well, this is fixed in r4 that i'll comit today, credits to Maciag for
re-writting the patch.