Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483194 - x11-wm/enlightenment-0.17.4 hangs prior to splash
Summary: x11-wm/enlightenment-0.17.4 hangs prior to splash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: enlightenment+disabled
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-08-31 20:07 UTC by Tony Krysak
Modified: 2015-03-17 02:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
e17-pause.patch (e17-pause.patch,324 bytes, patch)
2013-08-31 20:11 UTC, Tony Krysak
Details | Diff
emerge --info (emerge.info,6.11 KB, text/plain)
2013-08-31 20:23 UTC, Tony Krysak
Details
emerge --info (emerge-info.txt,6.11 KB, text/plain)
2013-08-31 20:25 UTC, Tony Krysak
Details
e17-init-shuffle.patch (e17-init-shuffle.patch,974 bytes, patch)
2013-09-10 01:53 UTC, Tony Krysak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Krysak 2013-08-31 20:07:56 UTC
I just get a blank screen starting X (startx)


Reproducible: Always

Steps to Reproduce:
1.startx
2.exec enlightenment_start(is in .xinitrc)
3.
Actual Results:  
blank screen, enlightenment is running but hung somewhere..., and not consuming CPU


Expected Results:  
enlightenment splash, and a running window manager


I did get it running with a small kick...I ran the following line in a backgroud shell script just before the 'exec enlightenment_start'

sleep 0.5; ps -C enlightenment -o pid= | xargs kill -29

signals 10 & 12 work too

it turns out there is a pause() call in e_main.c, my patch will be attached momentarily
Comment 1 Tony Krysak 2013-08-31 20:11:37 UTC
Created attachment 357540 [details, diff]
e17-pause.patch

eliminate pause() starting enlightenment 0.17.4
Comment 2 Tony Krysak 2013-08-31 20:23:14 UTC
Created attachment 357542 [details]
emerge --info
Comment 3 Tony Krysak 2013-08-31 20:25:16 UTC
Created attachment 357544 [details]
emerge --info
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-01 14:02:28 UTC
Comment on attachment 357542 [details]
emerge --info

You can actually edit the MIME type afterward.
Comment 5 Dan Pasanen 2013-09-09 03:44:11 UTC
Here's the fix:
http://git.enlightenment.org/core/enlightenment.git/commit/?h=enlightenment-0.17&id=b17a9b9cc9438b6dfac4402ac4107f08e23a4373

Tested working here.

Tempfix for this issue is to remove ~/.e/e/config/standard/e_randr.cfg before trying to startx.
Comment 6 Tony Krysak 2013-09-10 01:53:17 UTC
Created attachment 358396 [details, diff]
e17-init-shuffle.patch

this fixes the issue for me too.  I did have to mess with the patch format just a bit to get epatch to accept the e17-init-shuffle.patch

Thanks for the correct solution
Comment 7 Ian Abbott 2013-09-13 10:55:35 UTC
(In reply to Dan Pasanen from comment #5)
> Here's the fix:
> http://git.enlightenment.org/core/enlightenment.git/commit/?h=enlightenment-
> 0.17&id=b17a9b9cc9438b6dfac4402ac4107f08e23a4373
> 
> Tested working here.
> 
> Tempfix for this issue is to remove ~/.e/e/config/standard/e_randr.cfg
> before trying to startx.

Mine was stuck still showing the lightdm screen while logging in an enlightenment session.  The Tempfix worked for me.  I also had e_randr.1.cfg file in the same directory so I removed that as well.
Comment 8 Ian Abbott 2013-09-13 15:59:43 UTC
(In reply to Ian Abbott from comment #7)
> Mine was stuck still showing the lightdm screen while logging in an
> enlightenment session.  The Tempfix worked for me.  I also had e_randr.1.cfg
> file in the same directory so I removed that as well.

Well it worked *once*!  I think I'll try the patch for a more permanent fix.
Comment 9 Ian Abbott 2013-09-13 16:17:14 UTC
Tony's e17-init-shuffle.patch works for me!
Comment 10 Thomas Sachau gentoo-dev 2013-09-15 10:59:38 UTC
I just added enlightenment-0.17.5_pre1 to the main tree. This should be on your local rsync mirror in a few hours. Please test it and report back, if it fixes the issue.
Comment 11 Ian Abbott 2013-09-16 14:56:01 UTC
(In reply to Thomas Sachau from comment #10)
> I just added enlightenment-0.17.5_pre1 to the main tree. This should be on
> your local rsync mirror in a few hours. Please test it and report back, if
> it fixes the issue.

I tried it and there are no obvious problems; it starts up okay.  (I've tried starting it both via lightdm and via startx / .xinitrc, and both methods started up okay for me.)
Comment 12 Thomas Sachau gentoo-dev 2013-09-17 14:15:58 UTC
Did you test it with the old config in .e or just with the new clean .e from 0.17.4?

Also, if anyone else with the old config could verify 0.17.5_pre1 and report back, that would be good.
Comment 13 Ian Abbott 2013-09-17 14:54:30 UTC
(In reply to Thomas Sachau from comment #12)
> Did you test it with the old config in .e or just with the new clean .e from
> 0.17.4?

Do you mean testing 0.17.5_pre1 with a ~/.e/e/config/standard/e_randr.cfg generated by 0.17.3 or earlier?  I tested 0.17.5_pre1 with a e_randr.cfg generated by 0.17.4.

> Also, if anyone else with the old config could verify 0.17.5_pre1 and report
> back, that would be good.

I could try downgrading to 0.17.3, generating a new e_randr.cfg and then upgrading to 0.17.5_pre1 if you want.
Comment 14 Ian Abbott 2013-09-17 15:22:47 UTC
As a test, I did the following:

1. shut down my enlightenment session
2. moved my ~/.e directory to ~/.e.bak
3. downgraded to enlightenment-0.17.3
4. started an enlightenment session and went through the first-time config
5. shut down my enlightment session again
6. upgraded to enlightenment-0.17.5_pre1
7. started an enlightenment session again

The upgraded enlightment session started up okay.

(I then shut down the session and restored my old ~/.e directory from ~/.e.bak.)
Comment 15 Thomas Sachau gentoo-dev 2013-09-17 15:27:42 UTC
Thanks for your work and report.

So this will be fixed in enlightenment-0.17.5, just leaving the bug open until that version is officially released.
Comment 16 Ian Abbott 2013-09-17 15:29:35 UTC
I also tested moving my ~/.e directory and running through the first-time config with enlightenment-0.17.5_pre1.  It started okay apart from complaining about a missing 'shot' module, but that happened with 0.17.3 as well.
Comment 17 Tony Krysak 2013-10-04 18:39:02 UTC
x11-wm/enlightenment-0.17.5_pre1 starts fine for me also
Comment 18 SpanKY gentoo-dev 2015-03-17 02:28:24 UTC
should be fixed with the latest versions in the tree