Bug 52666

Summary: kmail crashes while selecting file to play
Product: [Unmaintained] kdelibs Reporter: Jarl Gjessing <jarlgjessing>
Component: knotifyAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jarl Gjessing 2003-01-06 15:47:35 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)  
OS:          Linux

I'm trying to select a sound file that kmail should use to notify me when new mails arrive.
So.. I click the browse button and I get:
[New Thread 1024 (LWP 6110)]
0x420b48b9 in wait4 () from /lib/i686/libc.so.6
#0  0x420b48b9 in wait4 () from /lib/i686/libc.so.6
#1  0x4213030c in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x40da1c33 in waitpid () from /lib/i686/libpthread.so.0
#3  0x4056429f in KCrash::defaultCrashHandler () from /usr/lib/libkdecore.so.4
#4  0x40d9ff05 in pthread_sighandler () from /lib/i686/libpthread.so.0
#5  <signal handler called>
#6  0x40247f35 in KNotify::KNotifyWidget::openSoundDialog ()
   from /usr/lib/libkio.so.4
#7  0x40249dd1 in KNotify::KNotifyWidget::qt_invoke ()
   from /usr/lib/libkio.so.4
#8  0x408c2c4e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x4021670c in KURLRequester::openFileDialog () from /usr/lib/libkio.so.4
#10 0x40215b24 in KURLRequester::slotOpenDialog () from /usr/lib/libkio.so.4
#11 0x4021680f in KURLRequester::qt_invoke () from /usr/lib/libkio.so.4
#12 0x408c2c4e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x408c2baa in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x40b506e9 in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x4092e5d4 in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x408ecc20 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40872b88 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40872485 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40500a4d in KApplication::notify () from /usr/lib/libkdecore.so.4
#20 0x408284ff in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40826579 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40837c85 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40882ae0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40872d36 in QApplication::enter_loop ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x409e710b in QDialog::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x4024536e in KNotifyDialog::configure () from /usr/lib/libkio.so.4
#27 0x4177e46f in NetworkPageReceivingTab::slotEditNotifications ()
   from /usr/lib/libkmailpartcool.so.1
#28 0x417916d9 in NetworkPageReceivingTab::qt_invoke ()
   from /usr/lib/libkmailpartcool.so.1
#29 0x408c2c4e in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x408c2baa in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40b506e9 in QButton::clicked () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x4092e5d4 in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x408ecc20 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40872b88 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40872485 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40500a4d in KApplication::notify () from /usr/lib/libkdecore.so.4
#37 0x408284ff in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40826579 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x40837c85 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x40882ae0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x40882a35 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x40872cde in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x08050de7 in main ()
#44 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
Comment 1 Carsten Burghardt 2003-01-06 15:58:54 UTC
How old are your sources? I had this crash with rc2 so try to update. 
Comment 2 Carsten Burghardt 2003-01-06 16:02:43 UTC
Subject: Re:  New: kmail crashes while selecting file to play

Am Montag, 6. Januar 2003 15:47 schrieb jarl@yaeda.org:
> #27 0x4177e46f in NetworkPageReceivingTab::slotEditNotifications ()
>    from /usr/lib/libkmailpartcool.so.1
> #28 0x417916d9 in NetworkPageReceivingTab::qt_invoke ()
>    from /usr/lib/libkmailpartcool.so.1

This is not kmail from the 3.1 branch.

Comment 3 Ingo Klöcker 2003-01-08 22:48:12 UTC
Subject: Re:  New: kmail crashes while selecting file to play

Can you reproduce this crash with kmail from cvs HEAD or with kmail from 
KDE_3_1_BRANCH?
Does it also crash when you run KMail as standalone application and not 
within Kaplan/Kontact?

Comment 4 Carsten Pfeiffer 2003-01-09 16:54:10 UTC
I can't see how this crash can happen.The only possibility would be if the 
listview would have no current item and that can only happen if there is no 
item at all in the listview. That would indicate a configuration problem (i.e. 
the eventsrc of kmail would be broken). 
 
For that case, I added a fix. 
Comment 5 Jarl Gjessing 2003-01-10 19:36:39 UTC
Subject: Re:  kmail crashes while selecting file to play

Could it be that it is the kmail in kontact? It still looks as if it is 
just the kdepim package that is patched in some way.
If not, then it might be what you said, but I used it on a completely 
new configuration. No old configuration files were used!!

best regards Jarl

Carsten Pfeiffer wrote:

>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>     
>http://bugs.kde.org/show_bug.cgi?id=52666     
>
>
>
>
>------- Additional Comments From pfeiffer@kde.org  2003-01-09 16:54 -------
>I can't see how this crash can happen.The only possibility would be if the 
>listview would have no current item and that can only happen if there is no 
>item at all in the listview. That would indicate a configuration problem (i.e. 
>the eventsrc of kmail would be broken). 
> 
>For that case, I added a fix.
>


Comment 6 Jarl Gjessing 2003-01-10 19:38:25 UTC
Subject: Re:  kmail crashes while selecting file to play

I have just emailed Carsten I think, I will try the CVS version and see 
what happens and then get back.
I never tried it when using the stand alone kmail, but kontact has 
overwritten the original kmail

best regards and have a nice weekend
Jarl

Ingo Kl
Comment 7 Jarl Gjessing 2003-01-11 10:29:58 UTC
I cannot continue, since I cannot compile kde from cvs.
I get the error ..need Autoconf-2.54, but the funny part is that I have
installed autoconf 2.57. For some reason it cannot read this.
I could upgrade to RH8.0 and see if I get the same error there but the last time
I had the darn 8.0, I could not compile aliased fonts because of the version
onstalled on RH8.0
Comment 8 Carsten Pfeiffer 2003-01-11 12:24:59 UTC
Subject: Re:  kmail crashes while selecting file to play

On Saturday 11 January 2003 10:29, jarl@yaeda.org wrote:

> I cannot continue, since I cannot compile kde from cvs.
> I get the error ..need Autoconf-2.54, but the funny part is that I have
> installed autoconf 2.57. For some reason it cannot read this.
> I could upgrade to RH8.0 and see if I get the same error there but the last
> time I had the darn 8.0, I could not compile aliased fonts because of the
> version onstalled on RH8.0

Hmm, I'm using autoconf 2.53 and that works just fine. Maybe you updated your 
automake package to a newer version and that one expects a higher autoconf 
version. I'm using automake 1.6.3, which works fine and plays nicely with 
autoconf 2.53.

I'd also like to know if your kmail is indeed the kaplan, kontact, kmail-cool 
or whatever version (i.e. not the standard kmail). That could be the reason 
for no event being available in the system notifications dialog.

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPh/+LaWgYMJuwmZtAQG+4wgAhzBzL8tyoFewKD+vBuSpcrzzH9mNZqhZ
QfFKngtdLIvKwbVVm1opkahtNw52fvlSD2sgGd0ICqAvBDOpE0F4S1hd0OM20LXv
JIK7NNodDtuq1ZM4zr7DIDKMEBOmc61rlm2V0Reiu0kZ47pSMSGDpeOow6NkBwgA
4dZFYWsbEoRJuslaHzsOct9sYGhLHvQOyPqJ+SmuU3/++pyhGIFdwiZHqbvqpE2G
G8cuhFY0V76nCtSv0c9nDj9oh5ks4CkXaR2ezTC7KievoorrQUqxjZ2zNoq17YOL
h94//paEif47VKbfnE2xC7fyvpa9svxSAwmgyXtScnXsaicC9ZLLIg==
=orxh
-----END PGP SIGNATURE-----

Comment 9 Jarl Gjessing 2003-01-11 12:34:35 UTC
Subject: Re:  kmail crashes while selecting file to play

No, I found the reason. RedHat had some leftovers from the odl package 
eventhough I did a rpm -e...
When I removed these packages I had no problems compiling.

Carsten Pfeiffer wrote:

>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>     
>http://bugs.kde.org/show_bug.cgi?id=52666     
>
>
>
>
>------- Additional Comments From carpdjih@mailbox.tu-berlin.de  2003-01-11 12:24 -------
>Subject: Re:  kmail crashes while selecting file to play
>
>On Saturday 11 January 2003 10:29, jarl@yaeda.org wrote:
>
>>I cannot continue, since I cannot compile kde from cvs.
>>I get the error ..need Autoconf-2.54, but the funny part is that I have
>>installed autoconf 2.57. For some reason it cannot read this.
>>I could upgrade to RH8.0 and see if I get the same error there but the last
>>time I had the darn 8.0, I could not compile aliased fonts because of the
>>version onstalled on RH8.0
>>
>
>Hmm, I'm using autoconf 2.53 and that works just fine. Maybe you updated your 
>automake package to a newer version and that one expects a higher autoconf 
>version. I'm using automake 1.6.3, which works fine and plays nicely with 
>autoconf 2.53.
>
>I'd also like to know if your kmail is indeed the kaplan, kontact, kmail-cool 
>or whatever version (i.e. not the standard kmail). That could be the reason 
>for no event being available in the system notifications dialog.
>
>Cheers
>Carsten Pfeiffer
>-----BEGIN PGP SIGNATURE-----
>
>iQEVAwUBPh/+LaWgYMJuwmZtAQG+4wgAhzBzL8tyoFewKD+vBuSpcrzzH9mNZqhZ
>QfFKngtdLIvKwbVVm1opkahtNw52fvlSD2sgGd0ICqAvBDOpE0F4S1hd0OM20LXv
>JIK7NNodDtuq1ZM4zr7DIDKMEBOmc61rlm2V0Reiu0kZ47pSMSGDpeOow6NkBwgA
>4dZFYWsbEoRJuslaHzsOct9sYGhLHvQOyPqJ+SmuU3/++pyhGIFdwiZHqbvqpE2G
>G8cuhFY0V76nCtSv0c9nDj9oh5ks4CkXaR2ezTC7KievoorrQUqxjZ2zNoq17YOL
>h94//paEif47VKbfnE2xC7fyvpa9svxSAwmgyXtScnXsaicC9ZLLIg==
>=orxh
>-----END PGP SIGNATURE-----
>

<html>
<head>
</head>
<body>
No, I found the reason. RedHat had some leftovers from the odl package eventhough
I did a rpm -e...<br>
When I removed these packages I had no problems compiling.<br>
<br>
Carsten Pfeiffer wrote:<br>
<blockquote type="cite" cite="mid:20030111112500.29578.qmail@ktown.kde.org">
  <pre wrap="">------- You are receiving this mail because: -------<br>You reported the bug, or are watching the reporter.<br>     <br><a class="moz-txt-link-freetext" href="http://bugs.kde.org/show_bug.cgi?id=52666">http://bugs.kde.org/show_bug.cgi?id=52666</a>     <br><br><br><br><br>------- Additional Comments From <a class="moz-txt-link-abbreviated" href="mailto:carpdjih@mailbox.tu-berlin.de">carpdjih@mailbox.tu-berlin.de</a>  2003-01-11 12:24 -------<br>Subject: Re:  kmail crashes while selecting file to play<br><br>On Saturday 11 January 2003 10:29, <a class="moz-txt-link-abbreviated" href="mailto:jarl@yaeda.org">jarl@yaeda.org</a> wrote:<br><br></pre>
  <blockquote type="cite">
    <pre wrap="">I cannot continue, since I cannot compile kde from cvs.<br>I get the error ..need Autoconf-2.54, but the funny part is that I have<br>installed autoconf 2.57. For some reason it cannot read this.<br>I could upgrade to RH8.0 and see if I get the same error there but the last<br>time I had the darn 8.0, I could not compile aliased fonts because of the<br>version onstalled on RH8.0<br></pre>
    </blockquote>
    <pre wrap=""><!----><br>Hmm, I'm using autoconf 2.53 and that works just fine. Maybe you updated your <br>automake package to a newer version and that one expects a higher autoconf <br>version. I'm using automake 1.6.3, which works fine and plays nicely with <br>autoconf 2.53.<br><br>I'd also like to know if your kmail is indeed the kaplan, kontact, kmail-cool <br>or whatever version (i.e. not the standard kmail). That could be the reason <br>for no event being available in the system notifications dialog.<br><br>Cheers<br>Carsten Pfeiffer<br>-----BEGIN PGP SIGNATURE-----<br><br>iQEVAwUBPh/+LaWgYMJuwmZtAQG+4wgAhzBzL8tyoFewKD+vBuSpcrzzH9mNZqhZ<br>QfFKngtdLIvKwbVVm1opkahtNw52fvlSD2sgGd0ICqAvBDOpE0F4S1hd0OM20LXv<br>JIK7NNodDtuq1ZM4zr7DIDKMEBOmc61rlm2V0Reiu0kZ47pSMSGDpeOow6NkBwgA<br>4dZFYWsbEoRJuslaHzsOct9sYGhLHvQOyPqJ+SmuU3/++pyhGIFdwiZHqbvqpE2G<br>G8cuhFY0V76nCtSv0c9nDj9oh5ks4CkXaR2ezTC7KievoorrQUqxjZ2zNoq17YOL<br>h94//paEif47VKbfnE2xC7fyvpa9svxSAwmgyXtScnXsaicC9ZLLIg==<br>
=orxh<br>-----END PGP SIGNATURE-----<br></pre>
    </blockquote>
    <br>
    </body>
    </html>
Comment 10 Jarl Gjessing 2003-01-12 01:04:00 UTC
After installing the latest CVS version the problem did not occour anymore.