Not logged in. · Lost password · Register
Forum: Community Bugs RSS
Crash when click on Apparence menu

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
radu #1
Member since 05/2008 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Crash when click on Apparence menu
Hi everybody, i'm an italian guy, i was trying out the psi client but i think there's a bug.

I've installed it in my Debian lenny amd64 pc at home, i don't now the version (i'm @ work right now, i will tell you asap) when i go in the options menu i have the windows with all the tabs on the left, i can go in every tab but the "Apparence" one, the one with the color palette.

In the same istant i click in that tab my psi crash at once.
Avatar
michalj (Moderator) #2
Member since 04/2004 · 2260 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Could you please provide us with some more details? Like Psi and Qt library versions.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Avatar
Kev (Administrator) #3
User title: Project Lead
Member since 11/2002 · 3039 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
I suspect it's Psi 0.11, and Qt-4.4.
Psi Project Leader.
Homepage, including development blog
Avatar
michalj (Moderator) #4
Member since 04/2004 · 2260 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Me too. :)
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
theJackal #5
User title: feral.
Member since 05/2008 · 2 posts
Group memberships: Members
Show profile · Link to this post
EDIT:Seems a dupe of http://forum.psi-im.org/thread/4937

I have this bug. Guaranteed replication of segfault on clicking "appearance" option. Seems to segfault on quit too.


PSI-0.12_rc2 ( merged by rev-bumping an ebuild found on Bugs.gentoo.org )
QT 4.4.0_rc1 ( gentoo split metapackage )


#0  0x083aa53f in OptionsTabWidget::updateCurrent (this=0x98c7fb8, w=0x9930f68) at options/optionstab.cpp:166
        vbox = (struct QVBoxLayout *) 0x98efdf0
        opttab = (class OptionsTab *) 0x0
        tab = (struct QWidget *) 0x27
#1  0x083aa750 in OptionsTabWidget::qt_metacall (this=0x98c7fb8, _c=QMetaObject::InvokeMetaMethod, _id=0x2, _a=0xbff6008c) at .moc/optionstab.moc:71
#2  0xb6f54a9e in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#3  0xb6f55132 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#4  0xb762de03 in QTabWidget::currentChanged () from /usr/lib/qt4/libQtGui.so.4
#5  0xb762fde2 in QTabWidgetPrivate::_q_showTab () from /usr/lib/qt4/libQtGui.so.4
#6  0xb7630020 in QTabWidget::qt_metacall () from /usr/lib/qt4/libQtGui.so.4
#7  0x083aa6cc in OptionsTabWidget::qt_metacall (this=0x98c7fb8, _c=QMetaObject::InvokeMetaMethod, _id=0x23, _a=0xbff601fc) at .moc/optionstab.moc:64
#8  0xb6f54a9e in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#9  0xb6f55132 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#10 0xb7627943 in QTabBar::currentChanged () from /usr/lib/qt4/libQtGui.so.4
#11 0xb7628dca in QTabBar::setCurrentIndex () from /usr/lib/qt4/libQtGui.so.4
#12 0xb762d2e2 in QTabBar::insertTab () from /usr/lib/qt4/libQtGui.so.4
#13 0xb762f6c7 in QTabWidget::insertTab () from /usr/lib/qt4/libQtGui.so.4
#14 0xb762f749 in QTabWidget::insertTab () from /usr/lib/qt4/libQtGui.so.4
#15 0xb762f7b3 in QTabWidget::addTab () from /usr/lib/qt4/libQtGui.so.4
#16 0x083aa93b in OptionsTabWidget::addTab (this=0x98c7fb8, tab=0x98f3278) at options/optionstab.cpp:146
        w = (struct QWidget *) 0x9930f68
#17 0x083aac0a in MetaOptionsTab::widget (this=0x98f6540) at options/optionstab.cpp:244
        t = (OptionsTabWidget *) 0x98c7fb8
        it = {<Q3GListIterator> = {list = 0x98f6564, curNode = 0x98f6af8}, <No data fields>}
#18 0x083acd3b in OptionsDlg::Private::openTab (this=0x98f5ca8, id=@0xbff60540) at options/optionsdlg.cpp:407
        w = (struct QWidget *) 0xbff60560
        vbox = (struct QVBoxLayout *) 0xb7b0a4d4
        d = 0xb7
        found = 0x0
        it = {<Q3GListIterator> = {list = 0x98f5cd8, curNode = 0x98f7948}, <No data fields>}
        opttab = (class OptionsTab *) 0x98f6540
        tab = (struct QWidget *) 0x0
        it = {curr = 0x410095b3, listView = 0xb7a66858, flags = 0x80627cf}
#19 0x083ad3f1 in OptionsDlg::Private::itemSelected (this=0x98f5ca8, item=0x98fc208) at options/optionsdlg.cpp:501
#20 0x083ae2da in OptionsDlg::Private::qt_metacall (this=0x98f5ca8, _c=QMetaObject::InvokeMetaMethod, _id=0x2, _a=0xbff6064c) at .moc/optionsdlg.moc:77
#21 0xb6f54a9e in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#22 0xb6f55132 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#23 0xb7c743c3 in Q3ListView::selectionChanged () from /usr/lib/qt4/libQt3Support.so.4
#24 0xb7b0bfcb in Q3ListView::setCurrentItem () from /usr/lib/qt4/libQt3Support.so.4
#25 0xb7b1d74d in Q3ListView::contentsMousePressEventEx () from /usr/lib/qt4/libQt3Support.so.4
#26 0xb7b1e184 in Q3ListView::contentsMousePressEvent () from /usr/lib/qt4/libQt3Support.so.4
#27 0xb7b6f521 in Q3ScrollView::viewportMousePressEvent () from /usr/lib/qt4/libQt3Support.so.4
#28 0xb7b71a05 in Q3ScrollView::eventFilter () from /usr/lib/qt4/libQt3Support.so.4
#29 0xb7b15e2b in Q3ListView::eventFilter () from /usr/lib/qt4/libQt3Support.so.4
#30 0xb6f3fff1 in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/qt4/libQtCore.so.4
#31 0xb7238183 in QApplicationPrivate::notify_helper () from /usr/lib/qt4/libQtGui.so.4
#32 0xb723d164 in QApplication::notify () from /usr/lib/qt4/libQtGui.so.4
#33 0x082fb2d7 in PsiApplication::notify (this=0xbff61540, receiver=0x98f0b88, event=0xbff60e50) at psiapplication.cpp:250
#34 0xb6f3fc66 in QCoreApplication::notifyInternal () from /usr/lib/qt4/libQtCore.so.4
#35 0xb723a396 in QApplicationPrivate::sendMouseEvent () from /usr/lib/qt4/libQtGui.so.4
#36 0xb72a355e in QETWidget::translateMouseEvent () from /usr/lib/qt4/libQtGui.so.4
#37 0xb72a21b0 in QApplication::x11ProcessEvent () from /usr/lib/qt4/libQtGui.so.4
#38 0xb72c9a54 in x11EventSourceDispatch () from /usr/lib/qt4/libQtGui.so.4
#39 0xb6cd0527 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb6cd377e in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#41 0xb6cd3cbc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb6f6b698 in QEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtCore.so.4
#43 0xb72c9885 in QGuiEventDispatcherGlib::processEvents () from /usr/lib/qt4/libQtGui.so.4
#44 0xb6f3ef0d in QEventLoop::processEvents () from /usr/lib/qt4/libQtCore.so.4
#45 0xb6f3f09c in QEventLoop::exec () from /usr/lib/qt4/libQtCore.so.4
#46 0xb6f4134d in QCoreApplication::exec () from /usr/lib/qt4/libQtCore.so.4
#47 0xb7237b07 in QApplication::exec () from /usr/lib/qt4/libQtGui.so.4
#48 0x08403a48 in main (argc=0x1, argv=0xbff61624) at main.cpp:356
        init = {<No data fields>}
        app = {<> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x85b9440, stringdata = 0x8497240 "PsiApplication", data =0x84972a0, extradata = 0x0}}}
        keystoremgr = <incomplete type>
        psi = (class PsiMain *) 0x9070c68
        returnValue = 0x27
This post was edited on 05-11-2008, 02:01 by theJackal.
Albert #6
Member since 04/2005 · 36 posts
Group memberships: Members
Show profile · Link to this post
You really should try the svn version if you use qt-4.4.
Z3r0 #7
Member for 3 months · 1 post · Location: El Salvador
Group memberships: Members
Show profile · Link to this post
Me too, Sir's...

I'm using Slackware 12.1 and I have run psi v.0.11 and libraries qt v 4.4.0...

and, I attach a trace for the segfault.
bash-3.1$ strace -c psi
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
Process 5577 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 44.13    0.049054         155       316        15 futex
 32.58    0.036214           8      4514         2 poll
 12.37    0.013750           1     23701     17272 read
  3.60    0.004000         500         8         4 connect
  2.57    0.002856           1      4948           writev
  1.35    0.001504           0      8978         1 select
  1.28    0.001418           0     14138           clock_gettime
  0.73    0.000809          43        19           clone
  0.66    0.000735          18        40           pipe
  0.29    0.000321           0      2448       131 stat64
  0.15    0.000170           0      2760           _llseek
  0.12    0.000137           0       469       222 open
  0.10    0.000109          11        10           waitpid
  0.04    0.000049           0       133           munmap
  0.03    0.000035           0       283           mmap2
  0.00    0.000000           0         2           restart_syscall
  0.00    0.000000           0       100           write
  0.00    0.000000           0       325           close
  0.00    0.000000           0         1           execve
  0.00    0.000000           0       920           time
  0.00    0.000000           0        35         2 access
  0.00    0.000000           0         1           mkdir
  0.00    0.000000           0         1         1 rmdir
  0.00    0.000000           0        58           brk
  0.00    0.000000           0        77         2 ioctl
  0.00    0.000000           0       916           gettimeofday
  0.00    0.000000           0         2           readlink
  0.00    0.000000           0         7           statfs
  0.00    0.000000           0         3           fstatfs
  0.00    0.000000           0         8         1 sigreturn
  0.00    0.000000           0        31           uname
  0.00    0.000000           0         6           mprotect
  0.00    0.000000           0        16           getdents
  0.00    0.000000           0         1           mlock
  0.00    0.000000           0         1           munlock
  0.00    0.000000           0         1           sched_getparam
  0.00    0.000000           0         1           sched_getscheduler
  0.00    0.000000           0         2           sched_get_priority_max
  0.00    0.000000           0         1           sched_get_priority_min
  0.00    0.000000           0        13           mremap
  0.00    0.000000           0         6           rt_sigaction
  0.00    0.000000           0         1           rt_sigprocmask
  0.00    0.000000           0         1           getrlimit
  0.00    0.000000           0       165        64 lstat64
  0.00    0.000000           0       267           fstat64
  0.00    0.000000           0         6           getuid32
  0.00    0.000000           0         4           getgid32
  0.00    0.000000           0         3           geteuid32
  0.00    0.000000           0         2           getegid32
  0.00    0.000000           0         1           setuid32
  0.00    0.000000           0       214           fcntl64
  0.00    0.000000           0         1           set_thread_area
  0.00    0.000000           0         1           set_tid_address
  0.00    0.000000           0         2           clock_getres
  0.00    0.000000           0         1           set_robust_list
  0.00    0.000000           0        10           socket
  0.00    0.000000           0         2           bind
  0.00    0.000000           0         1           listen
  0.00    0.000000           0         7           getsockname
  0.00    0.000000           0         8         5 getpeername
  0.00    0.000000           0        14           sendto
  0.00    0.000000           0        14           recvfrom
  0.00    0.000000           0        12           setsockopt
  0.00    0.000000           0         3           getsockopt
------ ----------- ----------- --------- --------- ----------------
100.00    0.111161                 66040     17722 total

Thanks you, Sir's...
gnupg id: B35A12C2 @ hkp://subkeys.pgp.net
Avatar
michalj (Moderator) #8
Member since 04/2004 · 2260 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
As it was said before, Qt-4.4 is not supported with Psi-0.11. Psi-0.12 will be the first release to support Qt-4.4.
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Sunduk #9
Member for a month · 1 post · Location: Moscow, Russia
Group memberships: Members
Show profile · Link to this post
Subject: It crashes again!
Hi! Maybe I'm wrong, but it seems that Psi 0.12-RC1 with Qt 4.4.0 crashes when I select Appearences in Preferences.
This post was edited on 07-25-2008, 08:01 by Sunduk.
Avatar
michalj (Moderator) #10
Member since 04/2004 · 2260 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
What about Psi-0.12-RC4?
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Avatar
Kev (Administrator) #11
User title: Project Lead
Member since 11/2002 · 3039 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by Sunduk:
Hi! Maybe I'm wrong, but it seems that Psi 0.12-RC1 with Qt 4.4.0 crashes when I select Appearences in Preferences.

Quite right - the Qt-4.4 bugs weren't discovered until after RC1.
Psi Project Leader.
Homepage, including development blog
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 08-29-2008, 01:57:19 (UTC -04:00)