Long delay after clicking "send message"

2009-01-07 Thread Stéphane Terreaux
[Third time I send the message, it seems the two firsts were
unsuccessfull, maybe because I attached a sampling file. I apologize if
you received it twice.]

Hi everybody,

my best wishes to all for a colourfull and joyfull year !

I notice a small problem with PM6, which I have never seen before.
When a new mail is ready and I click on the "Send" stamp button, I have
to wait a long time before the new msg window closes and I can work with
PM. A "long time" means, more or less, 2 minutes.

At the beginning, I thought this delay was related to the message size
and attached file size, but in fact it seems not.

In the meantime, PM shows me the rotating coloured wheel. The Activity
monitor tells me that PM is not responding (displayed in red), with 0
CPU consumption. It looks like PM is waiting for something...

My message database is only around 100 Mo big. Not that fat. Freshly
compacted, same problem. Rebuild the search index (through the menu), no
change (it looks like the command did nothing). When I try to compact
the search index (through the menu), PM crashes.

I have compacted again and rebuilt the indexes through the maintenance
dialog, no change. I have not tried the low level database rebuild.

below is a sampling of PM, obtained with the Activity monitor during the
"no response" time. I can't read it but maybe it can help.

Does anyone have the same problem, or did anyone find a way to end with that ?

Thanks in advance,

Stéphane.

Analysis of sampling pid 4053 every 10.00 milliseconds
Call graph:
300 Thread_0f07
  300 start
300 start
  300 start
300 LApplication::Run()
  300 start
300 LTSMDocApp::ProcessNextEvent()
  300 WaitNextEvent
300 WNEInternal
  300 GetNextEventMatchingMask
300 GetOrPeekEvent
  300 ToolboxEventDispatcher
300 SendEventToEventTarget
  300 SendEventToEventTargetInternal
(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
300 DispatchEventToHandlers
(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
  300 ToolboxEventDispatcherHandler
(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)
300 SendEventToEventTarget
  300 SendEventToEventTargetInternal
(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*)
300 DispatchEventToHandlers
(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
  300 StandardWindowEventHandler
300 HandleMouseEvent
  300 HandleWindowClick
300 SendEventFromMouseDown
  300 SendEventToEventTarget
300
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*)
  300
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)
300
StandardWindowEventHandler
  300
HandleWindowEvent
300
HandleClickAsHIView
  300
HIView::Click(OpaqueEventRef*)
300
SendEventToEventTarget
  300
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*)
300
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)

300 HIView::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)

300 HIView::ClickSelf(OpaqueEventRef*)

 300 HIView::ClickInternal(CGPoint
const&, unsigned long, void (*)(OpaqueControlRef*, short),
OpaqueEventRef*, bool)

   300 HIView::NotifyControlHit
(short, unsigned long)

 300 SendControlHit(HIView*,
short, unsigned long)

   300 SendEventToEventTarget

 300
SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*,
HandlerCallRec*)

   300
DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*)

 300
LHIToolbarItem::StaticCustomToolbarItemDelegate
(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)

 

Re(2): 6.0 Crashing

2009-01-07 Thread Alan Harper
Well, PM support asked me to send crash logs, which I did regularly, but
I never heard anything from them. I inquired whether they wanted me to
continue, and didn't hear anything, so I stopped.

Your symptoms are identical to mine.

A

Bill Schjelderup (b...@companioncorp.com) said on 1/7/09:


>Alan,
>
>I've been having these for a long time also.
>
>Higher frequency with v5 than v6, but still the same problem.
>
>I've sent many crash logs to ctmdev, but I have no idea if they have
>helped or not.
>
>The vast majority of these seem to occur when I'm performing a drag
>event and a message is received; other times when PM is trying to image
>a HTML email and some background operation occurs.
>
>My theory is it's a threading problem...and clearly it's hard for them
>to find.
>
>Perhaps if we ALL send crash logs it will help
>
>(about 50% of the time a relaunch is quick, the other 50% it needs to
>rebuild sort indexes...)
>
>Oh, and this occurs on both my home and office machine (I carry my PM
>database between offices via an external hard disk..)
>
>+---+
>  Bill Schjelderup -- b...@companioncorp.com
>+---+
>>Hi
>>
>>PM 6 is crashing on me a few times a week. I can't discover any pattern
>>to the crashes, but they are usually (> 50%) followed by a 6-minute
>>reindexing when I relaunch PM. It makes it difficult to respond quickly
>>to emails!
>>
>>Has anyone else found this? Any thoughts on how to minimize crashing?
>>
>>Alan
>>
>>PS, FWIW, I had similar problems with PM 5. I have since reinstalled my
>>entire system, and upgraded to PM 6. It appears that PM 6 crashes less
>>often than 5, but not significantly so.
>>
>>
>>
>
>
>
>





powermail-discuss Digest #2936 - 01/07/09

2009-01-07 Thread PowerMail discussions
powermail-discuss Digest #2936 - Wednesday, January 7, 2009

  6.0 Crashing
  by "Alan Harper" 
  Re: 6.0 Crashing
  by "Sean McBride" 
  Re: 6.0 Crashing
  by "Matthias Schmidt" 
  Re: 6.0 Crashing
  by "Michael J. Hußmann" 
  Re: 6.0 Crashing
  by "Bill Schjelderup" 


--

Subject: 6.0 Crashing
From: "Alan Harper" 
Date: Tue, 6 Jan 2009 21:12:09 -0800

Hi

PM 6 is crashing on me a few times a week. I can't discover any pattern
to the crashes, but they are usually (> 50%) followed by a 6-minute
reindexing when I relaunch PM. It makes it difficult to respond quickly
to emails!

Has anyone else found this? Any thoughts on how to minimize crashing?

Alan

PS, FWIW, I had similar problems with PM 5. I have since reinstalled my
entire system, and upgraded to PM 6. It appears that PM 6 crashes less
often than 5, but not significantly so.


--

Subject: Re: 6.0 Crashing
From: "Sean McBride" 
Date: Wed, 7 Jan 2009 00:36:37 -0500

Alan Harper (l...@alanharper.com) on 2009-01-06 12:12 AM said:

>PM 6 is crashing on me a few times a week. I can't discover any pattern
>to the crashes, but they are usually (> 50%) followed by a 6-minute
>reindexing when I relaunch PM. It makes it difficult to respond quickly
>to emails!
>
>Has anyone else found this?

Maybe once a week for me.

>Any thoughts on how to minimize crashing?

Have you sent the crash logs to CTM?

You might be able to make the crash reproduce by turning on some OS X
debug features.  Open Terminal and paste in the following:

export MallocPreScribble=1
export MallocScribble=1
export MallocGuardEdges=1
export MallocStackLogging=1
open /Applications/PowerMail.app

Sean



--

Subject: Re: 6.0 Crashing
From: "Matthias Schmidt" 
Date: Wed, 7 Jan 2009 16:27:42 +0100

Am/On Tue, 6 Jan 2009 21:12:09 -0800 schrieb/wrote Alan Harper:

>Hi
>
>PM 6 is crashing on me a few times a week. I can't discover any pattern
>to the crashes, but they are usually (> 50%) followed by a 6-minute
>reindexing when I relaunch PM. It makes it difficult to respond quickly
>to emails!
>
>Has anyone else found this? Any thoughts on how to minimize crashing?
>
>Alan
>
>PS, FWIW, I had similar problems with PM 5. I have since reinstalled my
>entire system, and upgraded to PM 6. It appears that PM 6 crashes less
>often than 5, but not significantly so.

I have no crashes at all with PM6 (build 4587).
Works very stable and without problems here on a MacBook Pro and a G4
Powerbook, both are running 10.5.6

Thanks and all the best

Matthias


--

Subject: Re: 6.0 Crashing
From: "Michael J. Hußmann" 
Date: Wed, 7 Jan 2009 17:01:06 +0100

Alan Harper (l...@alanharper.com) wrote:

> PM 6 is crashing on me a few times a week. I can't discover any pattern
> to the crashes, but they are usually (> 50%) followed by a 6-minute
> reindexing when I relaunch PM. It makes it difficult to respond quickly
> to emails!
>
> Has anyone else found this? Any thoughts on how to minimize crashing?

In my experience, PM 6 (and PM 5 before) crashes rarely, but when it
does, it is invariably when I try to send some mail with a large
attachment. At the stage when PM is supposed to do the zipping and
encoding of the attachment prior to actually sending the message, it
just displays the spinning beachball, then either crashes or freezes
until I do a force quit. When I re-open PM, it usually has to rebuild
its index; after that I find the outgoing message in the Out basket and
can dispatch it without problem.

- Michael


Michael J. Hußmann

E-mail: mich...@michael-hussmann.de
WWW (personal): http://michael-hussmann.de
WWW (professional): http://digicam-experts.de


--

Subject: Re: 6.0 Crashing
From: "Bill Schjelderup" 
Date: Wed, 7 Jan 2009 09:40:57 -0700

Alan,

I've been having these for a long time also.

Higher frequency with v5 than v6, but still the same problem.

I've sent many crash logs to ctmdev, but I have no idea if they have
helped or not.

The vast majority of these seem to occur when I'm performing a drag
event and a message is received; other times when PM is trying to image
a HTML email and some background operation occurs.

My theory is it's a threading problem...and clearly it's hard for them
to find.

Perhaps if we ALL send crash logs it will help

(about 50% of the time a relaunch is quick, the other 50% it needs to
rebuild sort indexes...)

Oh, and this occurs on both my home and office machine (I carry my PM
database between offices via an external hard disk..)

+---+
  Bill Schjelderup -- b...@companioncorp.com
+---+
>Hi
>
>PM 6 is crashing o

Re: 6.0 Crashing

2009-01-07 Thread Bill Schjelderup
Alan,

I've been having these for a long time also.

Higher frequency with v5 than v6, but still the same problem.

I've sent many crash logs to ctmdev, but I have no idea if they have
helped or not.

The vast majority of these seem to occur when I'm performing a drag
event and a message is received; other times when PM is trying to image
a HTML email and some background operation occurs.

My theory is it's a threading problem...and clearly it's hard for them
to find.

Perhaps if we ALL send crash logs it will help

(about 50% of the time a relaunch is quick, the other 50% it needs to
rebuild sort indexes...)

Oh, and this occurs on both my home and office machine (I carry my PM
database between offices via an external hard disk..)

+---+
  Bill Schjelderup -- b...@companioncorp.com
+---+
>Hi
>
>PM 6 is crashing on me a few times a week. I can't discover any pattern
>to the crashes, but they are usually (> 50%) followed by a 6-minute
>reindexing when I relaunch PM. It makes it difficult to respond quickly
>to emails!
>
>Has anyone else found this? Any thoughts on how to minimize crashing?
>
>Alan
>
>PS, FWIW, I had similar problems with PM 5. I have since reinstalled my
>entire system, and upgraded to PM 6. It appears that PM 6 crashes less
>often than 5, but not significantly so.
>
>
>






Re: 6.0 Crashing

2009-01-07 Thread Michael J . Hußmann
Alan Harper (l...@alanharper.com) wrote:

> PM 6 is crashing on me a few times a week. I can't discover any pattern
> to the crashes, but they are usually (> 50%) followed by a 6-minute
> reindexing when I relaunch PM. It makes it difficult to respond quickly
> to emails!
>
> Has anyone else found this? Any thoughts on how to minimize crashing?

In my experience, PM 6 (and PM 5 before) crashes rarely, but when it
does, it is invariably when I try to send some mail with a large
attachment. At the stage when PM is supposed to do the zipping and
encoding of the attachment prior to actually sending the message, it
just displays the spinning beachball, then either crashes or freezes
until I do a force quit. When I re-open PM, it usually has to rebuild
its index; after that I find the outgoing message in the Out basket and
can dispatch it without problem.

- Michael


Michael J. Hußmann

E-mail: mich...@michael-hussmann.de
WWW (personal): http://michael-hussmann.de
WWW (professional): http://digicam-experts.de




Re: 6.0 Crashing

2009-01-07 Thread Matthias Schmidt
Am/On Tue, 6 Jan 2009 21:12:09 -0800 schrieb/wrote Alan Harper:

>Hi
>
>PM 6 is crashing on me a few times a week. I can't discover any pattern
>to the crashes, but they are usually (> 50%) followed by a 6-minute
>reindexing when I relaunch PM. It makes it difficult to respond quickly
>to emails!
>
>Has anyone else found this? Any thoughts on how to minimize crashing?
>
>Alan
>
>PS, FWIW, I had similar problems with PM 5. I have since reinstalled my
>entire system, and upgraded to PM 6. It appears that PM 6 crashes less
>often than 5, but not significantly so.

I have no crashes at all with PM6 (build 4587).
Works very stable and without problems here on a MacBook Pro and a G4
Powerbook, both are running 10.5.6

Thanks and all the best

Matthias