RE: [Evolution] Evolution crashes when attempting to saveattachment



No need to gdb as root

just do this:

killev; gdb evolution-mail
(gdb) run

wait ~10 seconds or so...

in another terminal start evolution

now when evolution freezes, there is no need to race to start gdb, since
gdb is already attached to the evolution-mail process.

in gdb, just type:

(gdb) thread apply all bt

Jeff

On Fri, 2002-08-30 at 15:19, Romain wrote:
Ok, sorry, looks like I could not make myself clear...

The PC freezes with or without gdb, it's when I click the Save to Disk
button in the attachment context menu in evolution that the PC freezes,
regardless of whether i'm running gdb or no.
I've also tried running gdb as root and attach to a running process, then
continue and so on but no luck...
What seems to be happening is that, since Evolution's lock is damn quick, I
cannot reach to gdb in time.
I'll try to let the process end by itself (might take a while)... Should I
gdb from root anyways ?

Thanks for your time,

Romain

-----Original Message-----
From: Jeffrey Stedfast [mailto:fejj ximian com]
Sent: Friday, August 30, 2002 9:02 PM
To: Romain
Cc: evolution ximian com
Subject: RE: [Evolution] Evolution crashes when attempting to
saveattachment


I know that gdb isn't causing Evolution to crash, but if gdb is locking
up your machine and/or not giving you a trace of all threads, then I
would consider that a bug in gdb.

Anyways, since it seems your gdb is buggy, I'm not sure you can actually
*get* a useful trace without which, I can't fix the bug (unless you can
tell me exactly how to reproduce it on my box).

Jeff

On Fri, 2002-08-30 at 14:33, Romain wrote:
Uh,

Any *constructive* comments on that one ?
gdb sure isn't the cause for evolution crash ...

Thanks,

Romain

-----Original Message-----
From: Jeffrey Stedfast [mailto:fejj ximian com]
Sent: Friday, August 30, 2002 8:34 PM
To: Romain
Subject: RE: [Evolution] Evolution crashes when attempting to
saveattachment


*shrug*

Sounds like your gdb is broken or something.

Jeff

On Fri, 2002-08-30 at 14:19, Romain wrote:
Hello,

Once again, I tried debugging again and again. I never could.
After having
waited for like 2 minutes for gdb to output the bt for the
thread, I have to
killev in order to regain control of my computer.
However, here's what I could get from it :

1 : gdb evolution -> run -> [crashing evo] -> Program
received signal
SIGINT, Interrupt.
0x40ec4c74 in poll () from /lib/libc.so.6
thread apply all bt :
Thread 1 (Thread 1024 (LWP 32444)):
#0 0x40ec4c74 in poll () from /lib/libc.so.6
#1 0x40dcd734 in g_source_remove_by_funcs_user_data () from
/usr/lib/libglib-1.2.so.0
Cannot access memory at address 0xf

(ie exactly the same as last time)

Doing this and not killing evo (killev) quick enough resulted
in a global
freeze of the system, for about 5 minutes. The bg tasks seem to
be running
quite well though, for proof this mail is being sent from a
MASQ'ed windows
host ...

2 : gdb evolution-mail -> run -> [runing then trying to
crashing evo] unable
to crash ...
(meaning it works fine eh)

?!?!

I'm all ears,

Regards,
Romain

-----Original Message-----
From: Jeffrey Stedfast [mailto:fejj ximian com]
Sent: Thursday, August 22, 2002 10:12 AM
To: Romain
Subject: RE: [Evolution] Evolution crashes when attempting to
saveattachment


can you type:

"thread apply all bt"

at the gdb prompt and post what it says?

Thanks,

Jeff

On Wed, 2002-08-21 at 19:22, Romain wrote:
Hi Jeff,

I'm baffled ...
I opened a shell for my regular user, launched "gdb
evolution-mail", ran it,
then ran evolution ...
and I was unable to reproduce the crash !?!

Then I ran "gdb evolution" and run, and was able to do
it again :
Thread 1 (Thread 1024 (LWP 5669)):
#0 0x40ec3c74 in poll () from /lib/libc.so.6
#1 0x40dcc734 in g_source_remove_by_funcs_user_data () from
/usr/lib/libglib-1.2.so.0
Cannot access memory at address 0xf

And the program is still crashed, it's taking me hours to
launch killev...
I've waited like 5 whole minutes...
To answer previous posts, it shouldn't have anything to do with
IMAP/mbox
since every attachment causes the problem, either retrieved
from POP mail,
from local mail, or from data converted from Mozilla.
And I don't think it has anything to do with DNS since
everythign else is
working fine (I've had problems with sendmail & DNS in the
past, that's when
I fixed it ...)

Thanks for any lights,
Romain


-----Original Message-----
From: Jeffrey Stedfast [mailto:fejj ximian com]
Sent: Tuesday, August 20, 2002 10:05 PM
To: Romain
Cc: evolution ximian com
Subject: Re: [Evolution] Evolution crashes when attempting to
saveattachment


Can you get a backtrace of the crash/hang in the
evolution-mail process?

There are instructions somewhere on
http://support.ximian.com, just
search for "backtrace" in the knowledgebase.

Jeff

Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com

--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com

--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
--
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]