[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#30475: crash when typing f while kmail starts
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <ingo.kloecker () epost ! de>
Date:       2001-08-16 23:08:53
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sonntag, 12. August 2001 23:12, Don Sanders wrote:
> On Friday 10 August 2001 20:32, Ingo Klöcker wrote:
> > On Friday, 10. August 2001 12:29, Don Sanders wrote:
> > > I can't reproduce this bug.
> >

[snip]

> I can't reproduce the crash even with sign message by
> default turned on.
>
> It might be help for if you type 'frame 4' and then 'list'
> in gdb after the crash.
>
> 3  <signal handler called>
> #4  0x80cd195 in KMHeaders::forwardMsg (this=0x82bf810)
>     at
> /home/ingo/programme/cvs/kde2.1/kdenetwork/kmail/kmheaders.cpp:1328

Running KMail from gdb I get the following:

Program received signal SIGSEGV, Segmentation fault.
0x80cd2b5 in KMHeaders::forwardMsg (this=0x82c3080)
    at 
/home/ingo/programme/cvs/kde2.1/kdenetwork/kmail/kmheaders.cpp:1328
warning: Source file is more recent than executable.
 
1328          win->setCharset("");
(gdb) list
1323          fwdMsg->setAutomaticFields(true);
1324          fwdMsg->setCharset("utf-8");
1325          fwdMsg->setBody(msgText.utf8());
1326          kernel->kbp()->busy();
1327          win = new KMComposeWin(fwdMsg, id);
1328          win->setCharset("");
1329          win->show();
1330          kernel->kbp()->idle();
1331          return;
1332        }
(gdb)


Because of the warning this might of course be the wrong line. But 
maybe win==0 for some reason. This would explain the crash in line 
1328. I'll insert an assert or a kdDebug. But first I'll have to 
compile kdelibs (because of Carsten's case-insensitive auto-completion 
patch). So don't hold your breath. ;-)

Another a related effect is the following:
1.) Enable "Focus follows mouse".
2.) Move the mouse over another application so that this application 
gets the focus (I always use xosview for this) and hold down the 'f' 
key for some time. Still holding down the 'f' key move the mouse cursor 
over the KMail window so that KMail gets the focus. Now 3-4 composer 
windows open. All are forwards of the currently selected message. I 
guess the same also works for all other message related actions like 
"reply", etc.

Regards,
Ingo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7fFKIGnR+RTDgudgRAjDeAJ9mZ+5xqnP3to71e6h7EStTEq8SrACgmRb9
tHNbxvUUStJ7nLHoTyfVE8I=
=ijP1
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic