public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Enlightenment segfaults?
@ 2005-07-26 16:59 Willie Wong
  2005-07-26 17:17 ` Dave Nebinger
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Willie Wong @ 2005-07-26 16:59 UTC (permalink / raw
  To: gentoo-user

I was away from my computer for one week, and so ran a massive update
on sunday night. After the update, on Monday morning, I woke up to
find my xsession ended with a message on the console that said
something to the effect that Enlightenment segfaulted, because some
supporting library tries to access memory that it shouldn't be
accessing. 

I dismissed it as enlightenment throwing a hissy fit. 

But the same thing happened again this morning. The problem is, I
don't quite know how to diagnose it. /var/log/Xorg.log only tells me
it caught sig 11 and will die. 

Honestly, I don't think running strace will be the best idea yet, I'd
like to save it as a last possibility, for the only reason that I
don't even know how to reproduce the crash. X was up and running
yesterday for over 14 hours, and enlightenment just crashed in the
middle of the night. 

So: what logs should I check and how should I find out what exactly
is causing the problem?

W
-- 
Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd 
be sitting around in darkened rooms munching pills and listening to repetitive
music.
Sortir en Pantoufles: up 1 day, 16:24
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: [gentoo-user] Enlightenment segfaults?
  2005-07-26 16:59 [gentoo-user] Enlightenment segfaults? Willie Wong
@ 2005-07-26 17:17 ` Dave Nebinger
  2005-07-26 21:05   ` Willie Wong
  2005-07-26 23:22 ` Urs Schuetz
  2005-07-28 20:10 ` Willie Wong
  2 siblings, 1 reply; 9+ messages in thread
From: Dave Nebinger @ 2005-07-26 17:17 UTC (permalink / raw
  To: gentoo-user; +Cc: wwong

> So: what logs should I check and how should I find out what exactly
> is causing the problem?

Did you try the revdep-rebuild -p to see if there are any broken
dependencies?  Did your files in /etc/conf.d get updated?  Is your session
stuff correct in /etc/rc.conf?  Any messages in the syslog or from dmesg?


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Enlightenment segfaults?
  2005-07-26 17:17 ` Dave Nebinger
@ 2005-07-26 21:05   ` Willie Wong
  0 siblings, 0 replies; 9+ messages in thread
From: Willie Wong @ 2005-07-26 21:05 UTC (permalink / raw
  To: gentoo-user

On Tue, Jul 26, 2005 at 01:17:16PM -0400, Dave Nebinger wrote:
> > So: what logs should I check and how should I find out what exactly
> > is causing the problem?
> 
> Did you try the revdep-rebuild -p to see if there are any broken
> dependencies?  Did your files in /etc/conf.d get updated?  Is your session
> stuff correct in /etc/rc.conf?  Any messages in the syslog or from dmesg?

Since this was a gargantuan update on my part, I, of course, ran
revdep-rebuild immediately after the emerge --update --deep world

Then I ran etc-update and checked all the files. 

I boot into console so there's hardly anything at all there in
/etc/rc.conf

no log in /var/log/everything/, nor in dmesg. Whatever it was it has
to be userland. All I know so far is from /var/log/Xorg.0.log which
tells me that X died on SEGV, and a line in the console where I
started X from that reads something like "Enlightenment caused a
seg fault". 

Right now I am running X with 
$ xinit > Xerror 2>&1 
to see if I can capture the entire stderr that was printed (some
floated off screen so the only thing I saw was effectively that
enlightenment was bad). 

Question: During the update, there were 2 or 3 packages that I wasn't
able to update due to sandbox violations. I've been intending to
check into that later on this week. Those were dependencies of
mplayer and were not, as far as I know, dependencies of enlightenment
or X. I am hoping that those aren't the packages.

W
-- 
I cannot go to school today"  
Said little Peggy Ann McKay.
"I have the measles and the mumps,   
A gash, a rash and purple bumps.
My mouth is wet, my throat is dry.
I'm going blind in my right eye.  
My tonsils are as big as rocks,
I've counted sixteen chicken pox
And there's one more-that's seventeen,
And don't you think my face looks green?
My leg is cut, my eyes are blue 
It might be instamatic flu.
I cough and sneeze and gasp and choke,
I'm sure that my left leg is broke
My hip hurts when I move my chin,
My belly button's caving in,
My back is wrenched, my ankle's sprained,
My 'pendix pains each time it rains.
My toes is cold, my toes are numb,
I have a sliver in my thumb.
My neck is stiff, my voice is weak,
I hardly whisper when I speak.
My tongue is filling up my mouth,
I think my hair is falling out.      
My elbow's bent, my spine ain't straight,
My temperature is one-o-eight.
My brain is shrunk, I cannot hear,
There's a hole inside my ear.  
I have a hangnail, and my heart is - What?
What's that? What's that you say?
You say today is .......Saturday?
Goodbye, I'm going out to play!"
Sortir en Pantoufles: up 1 day, 20:30
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Enlightenment segfaults?
  2005-07-26 16:59 [gentoo-user] Enlightenment segfaults? Willie Wong
  2005-07-26 17:17 ` Dave Nebinger
@ 2005-07-26 23:22 ` Urs Schuetz
  2005-07-26 23:47   ` Willie Wong
  2005-07-28 20:10 ` Willie Wong
  2 siblings, 1 reply; 9+ messages in thread
From: Urs Schuetz @ 2005-07-26 23:22 UTC (permalink / raw
  To: gentoo-user

On Tue, 26 Jul 2005, Willie Wong wrote:

> I was away from my computer for one week, and so ran a massive update
> on sunday night. After the update, on Monday morning, I woke up to
> find my xsession ended with a message on the console that said
> something to the effect that Enlightenment segfaulted, because some
> supporting library tries to access memory that it shouldn't be
> accessing. 
> 
> I dismissed it as enlightenment throwing a hissy fit. 
> 
> But the same thing happened again this morning. The problem is, I
> don't quite know how to diagnose it. /var/log/Xorg.log only tells me
> it caught sig 11 and will die. 
> 
> Honestly, I don't think running strace will be the best idea yet, I'd
> like to save it as a last possibility, for the only reason that I
> don't even know how to reproduce the crash. X was up and running
> yesterday for over 14 hours, and enlightenment just crashed in the
> middle of the night. 
> 
> So: what logs should I check and how should I find out what exactly
> is causing the problem?
> 
> W

Disk full?
df -h

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Enlightenment segfaults?
  2005-07-26 23:22 ` Urs Schuetz
@ 2005-07-26 23:47   ` Willie Wong
  0 siblings, 0 replies; 9+ messages in thread
From: Willie Wong @ 2005-07-26 23:47 UTC (permalink / raw
  To: gentoo-user

On Tue, Jul 26, 2005 at 08:22:04PM -0300, Urs Schuetz wrote:
> On Tue, 26 Jul 2005, Willie Wong wrote:
> 
> > I was away from my computer for one week, and so ran a massive update
> > on sunday night. After the update, on Monday morning, I woke up to
> > find my xsession ended with a message on the console that said
> > something to the effect that Enlightenment segfaulted, because some
> > supporting library tries to access memory that it shouldn't be
> > accessing. 
> > 
> > I dismissed it as enlightenment throwing a hissy fit. 
> > 
> > But the same thing happened again this morning. The problem is, I
> > don't quite know how to diagnose it. /var/log/Xorg.log only tells me
> > it caught sig 11 and will die. 
> > 
> > Honestly, I don't think running strace will be the best idea yet, I'd
> > like to save it as a last possibility, for the only reason that I
> > don't even know how to reproduce the crash. X was up and running
> > yesterday for over 14 hours, and enlightenment just crashed in the
> > middle of the night. 
> > 
> > So: what logs should I check and how should I find out what exactly
> > is causing the problem?

> Disk full?
> df -h
> 

Uh.. no. 

But I am curious where you got that conclusion...

W
-- 
   "Oops, I always forget the purpose of competition is to divide people into
winners and losers." -Hobbes being sarcastic
Sortir en Pantoufles: up 1 day, 23:19
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Enlightenment segfaults?
  2005-07-26 16:59 [gentoo-user] Enlightenment segfaults? Willie Wong
  2005-07-26 17:17 ` Dave Nebinger
  2005-07-26 23:22 ` Urs Schuetz
@ 2005-07-28 20:10 ` Willie Wong
  2005-07-29  1:39   ` Bob Sanders
  2 siblings, 1 reply; 9+ messages in thread
From: Willie Wong @ 2005-07-28 20:10 UTC (permalink / raw
  To: gentoo-user

Some more observations to my problem:

   1. If, after I started X, I leave it overnight in a vc, then
   nothing bad happens. 

   2. But, if I leave it overnight in the X session, something
   crashes. 

Here's what I get from logging: 

---------begin snip----------
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11-hardened-r1 i686 [ELF] 
Current Operating System: Linux sep 2.6.11-hardened-r1 #4 Sat Apr 2 21:44:14 EST
 2005 i686
Build Date: 28 June 2005
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 26 16:44:04 2005
(==) Using config file: "/etc/X11/xorg.conf"
Using vt 7
Could not init font path element /usr/share/fonts/local/, removing from list!
Could not init font path element /usr/share/fonts/twmoefonts/, removing from lis
t!
xscreensaver: 16:44:09: running xscreensaver-gl-helper: Permission denied
No running windows found

(firefox-bin:6680): Gdk-WARNING **: gdk_property_get(): length value has wrapped
 in calculation (did you pass G_MAXLONG?)
SetGrabKeysState - disabled
SetGrabKeysState - enabled
ESD: error writing - Bad file descriptor
ESD: error writing - Bad file descriptor
No running windows found

(firefox-bin:1156): Gdk-WARNING **: gdk_property_get(): length value has wrapped
 in calculation (did you pass G_MAXLONG?)
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
SetGrabKeysState - enabled
No running windows found

(firefox-bin:5094): Gdk-WARNING **: gdk_property_get(): length value has wrapped
 in calculation (did you pass G_MAXLONG?)
SetGrabKeysState - disabled

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support 
         at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional informati
on.

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 14989358 requests (14989349 known processed) with 0 events remaining
.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 5108892 requests (5108890 known processed) with 0 events remaining.
The application 'firefox-bin' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
X connection to :0.0 broken (explicit kill or server shutdown).
xinit:  connection to X server lost.
firefox-bin exited with non-zero status (1)
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 14113208 requests (14113199 known processed) with 0 events remaining
.
X connection to :0.0 broken (explicit kill or server shutdown).
Enlightenment caused Segment Violation (Segfault)

This means that Enlightenment or support library routines it calls
have accessed areas of your system's memory that they are not
allowed access to. This is most likely a bug. It is recommended to
restart now. If you wish to help fix this please compile
Enlightenment with debugging symbols in and run Enlightenment
under gdb so you can backtrace for where it died and send in a
useful bug report with backtrace information and variable
dumps etc.
[27369] SessionExit already in progress ... now exiting
------------------end snip---------------------

I understand that this is probably not much information  about how to
solve my problem. But is there any suggestions on what I should do 
next?

The problem is that I don't even know now whether it is enlightenment
causing the segfault or not, since it appears that it happens 
after X has shutdown....

W


On Tue, Jul 26, 2005 at 12:59:15PM -0400, Willie Wong wrote:
> I was away from my computer for one week, and so ran a massive update
> on sunday night. After the update, on Monday morning, I woke up to
> find my xsession ended with a message on the console that said
> something to the effect that Enlightenment segfaulted, because some
> supporting library tries to access memory that it shouldn't be
> accessing. 
> 
> I dismissed it as enlightenment throwing a hissy fit. 
> 
> But the same thing happened again this morning. The problem is, I
> don't quite know how to diagnose it. /var/log/Xorg.log only tells me
> it caught sig 11 and will die. 
> 
> Honestly, I don't think running strace will be the best idea yet, I'd
> like to save it as a last possibility, for the only reason that I
> don't even know how to reproduce the crash. X was up and running
> yesterday for over 14 hours, and enlightenment just crashed in the
> middle of the night. 
> 
> So: what logs should I check and how should I find out what exactly
> is causing the problem?
> 
> W
> -- 
> Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd 
> be sitting around in darkened rooms munching pills and listening to repetitive
> music.
> Sortir en Pantoufles: up 1 day, 16:24
> -- 
> gentoo-user@gentoo.org mailing list

-- 
It was recently reported  in eWeek that "A senior Microsoft Corp. 
executive told a federal court last week that sharing information 
with competitors could damage national security and even threaten 
the U.S. war effort in Afghanistan. He later acknowledged that 
some Microsoft code was so flawed it could not be safely disclosed."
The Follow Up from Microsoft says "As a result of the flaws, Microsoft 
has asked the court to allow a "national security" carve-out from the 
requirement that any code or API's be made public. Microsoft has 
therefore taken the position that their code is so bad that it must
kept secret to keep people from being killed by it."
    ~Guacamoelefoo, /. 05-20-2002
Sortir en Pantoufles: up 3 days, 19:34
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Enlightenment segfaults?
  2005-07-28 20:10 ` Willie Wong
@ 2005-07-29  1:39   ` Bob Sanders
  2005-07-29  3:36     ` Willie Wong
  2005-07-29  7:06     ` Willie Wong
  0 siblings, 2 replies; 9+ messages in thread
From: Bob Sanders @ 2005-07-29  1:39 UTC (permalink / raw
  To: gentoo-user

On Thu, 28 Jul 2005 16:10:30 -0400
Willie Wong <wwong@Princeton.EDU> wrote:

> Some more observations to my problem:
> 
>    1. If, after I started X, I leave it overnight in a vc, then
>    nothing bad happens. 
> 

It looks like firefox is causing the problem  or perhaps one of the GTK libs
or the GTK engine itself.

The error does not appear to be enlightenment, rather enlightenment gets
caught in the middle when X is forced to die.

Perhaps you need to compile firefox rather then using the bin?

Bob
-  
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Enlightenment segfaults?
  2005-07-29  1:39   ` Bob Sanders
@ 2005-07-29  3:36     ` Willie Wong
  2005-07-29  7:06     ` Willie Wong
  1 sibling, 0 replies; 9+ messages in thread
From: Willie Wong @ 2005-07-29  3:36 UTC (permalink / raw
  To: gentoo-user

On Thu, Jul 28, 2005 at 06:39:42PM -0700, Bob Sanders wrote:
> On Thu, 28 Jul 2005 16:10:30 -0400
> Willie Wong <wwong@Princeton.EDU> wrote:
> 
> > Some more observations to my problem:
> > 
> >    1. If, after I started X, I leave it overnight in a vc, then
> >    nothing bad happens. 
> > 
> 
> It looks like firefox is causing the problem  or perhaps one of the GTK libs
> or the GTK engine itself.
> 
> The error does not appear to be enlightenment, rather enlightenment gets
> caught in the middle when X is forced to die.
> 
> Perhaps you need to compile firefox rather then using the bin?
> 
> Bob
> -  

Hum, I always compile my own firefox. Firefox-bin often throw random
errors at me. Am currently running 1.0.6-r3. Well, let me test that
hypothesis. I'll see if X still crashes if I just leave it on without
firefox running. 

W
-- 
   Is it a right to remain ignorant?
		  -- Calvin
Sortir en Pantoufles: up 4 days,  3:00
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Enlightenment segfaults?
  2005-07-29  1:39   ` Bob Sanders
  2005-07-29  3:36     ` Willie Wong
@ 2005-07-29  7:06     ` Willie Wong
  1 sibling, 0 replies; 9+ messages in thread
From: Willie Wong @ 2005-07-29  7:06 UTC (permalink / raw
  To: gentoo-user

On Thu, Jul 28, 2005 at 06:39:42PM -0700, Bob Sanders wrote:
> On Thu, 28 Jul 2005 16:10:30 -0400
> Willie Wong <wwong@Princeton.EDU> wrote:
> 
> > Some more observations to my problem:
> > 
> >    1. If, after I started X, I leave it overnight in a vc, then
> >    nothing bad happens. 
> > 
> 
> It looks like firefox is causing the problem  or perhaps one of the GTK libs
> or the GTK engine itself.
> 
> The error does not appear to be enlightenment, rather enlightenment gets
> caught in the middle when X is forced to die.
> 
> Perhaps you need to compile firefox rather then using the bin?
> 
> Bob
> -  
> -- 
> gentoo-user@gentoo.org mailing list

You might be right!
  1) Firefox is one of the applications that I updated before
  starting to get this problem. And I know I have not updated Xorg or
  enlightenment (though I did update imlib2, which is why I suspected
  E to be the problem)

  2) X didn't crash when I am just running enlightenment

  3) X just crashed again, and I was running only the barebones X
  server, a rxvt terminal, and firefox. 

I'll try downgrading firefox. 

W

-- 
These are things people "actually said" in court....
+++++++
Q: What is your date of birth?
A: July fifteenth.
Q: What year?
A: Every year.
+++++++
Q: What gear were you in at the moment of the impact?
A: Gucci sweats and Reeboks.
+++++++
Q: Sir, what is your IQ?
A: Well, I can see pretty well, I think.
+++++++
Q: Did you blow your horn or anything?
A: After the accident?
Q: Before the accident.
A: Sure, I played for ten years. I even went to school for it.
+++++++
Q: Trooper, when you stopped the defendant, were your red and blue 
   lights flashing?
A: Yes.
Q: Did the defendant say anything when she got out of her car?
A: Yes, sir.
Q: What did she say?
A: What disco am I at?
+++++++
Q: Now doctor, isn't it true that when a person dies in his sleep,
   he doesn't know about it until the next morning?
+++++++
Q: The youngest son, the twenty-year old, how old is he?
+++++++
Q: Were you present when your picture was taken?
+++++++
Q: She had three children, right?
A: Yes.
Q: How many were boys?
A: None.
Q: Were there any girls?
+++++++
Q: How was your first marriage terminated?
A: By death.
Q: And by whose death was it terminated?
+++++++
Q: Is you appearance here this morning pursuant to a deposition notice
   which I sent to your attorney?
A: No, this is how I dress when I go to work.
+++++++
Q: Doctor, how many autopsies have you performed on dead people?
A: All my autopsies are performed on dead people.
+++++++
Q: Doctor, before you performed the autopsy, did you check for a pulse?
A: No.
Q: Did you check for blood pressure?
A: No.
Q: Did you check for breathing?
A: No.
Q: So, then it is possible that the patient was alive when you began
   the autopsy?
A: No.
Q: How can you be so sure, Doctor?
A: Because his brain was sitting on my desk in a jar.
Q: But could the patient have still been alive nevertheless?
A: Yes, it is possible that he could have been alive and practicing
   law somewhere.
Sortir en Pantoufles: up 4 days,  6:35
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-29  7:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26 16:59 [gentoo-user] Enlightenment segfaults? Willie Wong
2005-07-26 17:17 ` Dave Nebinger
2005-07-26 21:05   ` Willie Wong
2005-07-26 23:22 ` Urs Schuetz
2005-07-26 23:47   ` Willie Wong
2005-07-28 20:10 ` Willie Wong
2005-07-29  1:39   ` Bob Sanders
2005-07-29  3:36     ` Willie Wong
2005-07-29  7:06     ` Willie Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox