-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Fix CEF 2171 build on Linux #332
Comments
Comment by ingorichter I build this branch and it looks partly good, although better than before.
I have tested this on Ubuntu 14.10 32 Bit |
Comment by nethip @ingorichter yeah we ran into this too, while we were doing some unit testing. I am on it. I kind of figured out the problem. I will push more changes to this branch with my changes which should solve the problem. |
Comment by nethip @ingorichter @jasonsanjose I fixed this problem partially but this bug has lot of side effects(Especially when dealing with multiple Brackets windows). This does not seem to be an easy fix. Like @jasonsanjose said, the latest version of cefclient is a lot different than our appshell. I think the right fix is to pick the latest linux counter parts of cefclient and then integrate our appshell changes into it. This definently is a big task. However I will see if we can fix this so that the side effects are minimal. In whatever case, I will update this thread with my findings and hopefully some solution. |
Comment by nethip @ingorichter @jasonsanjose I have managed to fix this problem. My latest commit to this branch has the solution for crash on quit. Could you guys pull down the latest changes and do some testing around this. |
Comment by jasonsanjose Closing via the window X button works great now, but I see a hang when quitting via File > Quit now where it was previously working fine. Almost there though! |
Comment by nethip @jasonsanjose That's strange. I am not able to reproduce this crash. In fact the new commit was to fix both the crashes. I don't know if I missed something in my commit. If you are still able to crash Brackets with my new commit, I am going to have to power up my Linux system again to double check this. Bad thing I will have to wait until Monday as the Linux system is in the office. 😞 |
Comment by nethip @jasonsanjose @ingorichter at last I managed to repro the issue. The crash is evident only on VM. I am using VMWare Fusion. Weird thing that I observed is that, this crash is reproducible when the VM image's no of processors setting is set to 1. If I change it to 2, I am not able to repro the crash. Also I found another defect while doing code review, the fix for which I have already pushed in, though this does not fix the bug with crash/hang, when VM image's no of processors setting is set to 1. Since the the hang is happening with VM, should we go ahead and merge this branch into master? |
Comment by jasonsanjose Ok with me. Has anyone else tested these changes to make sure mac and windows still build without any new issues? It's worth sanity checking since we did change some cross-platform code here as well as the gyp files (though that's mostly isolated to the linux setup). |
Comment by jasonsanjose I tried building this branch on mac and it fails. I must have broken something in the gyp build. I'll take a look.
|
Comment by nethip @jasonsanjose I figured this out too. This was because we have added an |
Comment by jasonsanjose Good idea. I removed |
Comment by lrebrown I've just tried a new 1.2 preview (v1.2.0-15668 master 027de3046) in a Debian sid VM. Initially all was well, except it not remembering window size/position upon reopening. However now it's crashing on close, though only with the 'x' button it seems (which worked initially). File > quit continues to work fine. In system manager I can see four brackets processes:
When the problem occurs, the last of these disappears, the other three remain. The repeated lang param is not a typo btw ;) I'm running this VM in virtualbox, and I'm using gnome. The VM has 1 CPU core. |
Comment by Romane-T Good morning See also thread adobe/brackets#10255 re: libcrypt version breaks Brackets As per posting in that thread from Jason, installed and tested build at https://github.com/adobe/brackets/releases/download/linux-cef-2171/Brackets.Release.1.2.64-bit.deb. For the very first time since have been using Brackets, it closes cleanly on the first click on the 'x'. Closing via 'File->Quit' still closing cleanly as before. Debian Jessie with KDE as desktop environment. With greetings Romane |
Comment by coelho-extremosistemas Hi all |
Comment by ficristo I tryed in my Ubuntu VM and found that the close button works if I have the 3D acceleration enabled, otherwise it hangs the window. @nethip What I can try to fix this? |
Comment by ficristo I was talking about this PR and the issues about the crash on exit. Is linux-1547 crashing? I thought this PR was crashing... |
Comment by nethip @ficristo Nope linux-1547 is stable 😄 It is this PR that is crashing. And about the fix, I think we need to study |
Comment by ficristo Ah, ok! |
Comment by pratts Hello, I tried to build this branch and create installer using 'grunt installer'. When I try to install the .deb file, I get the error dpkg: error processing package brackets (--install): Then I tried the solution provided in comment adobe/brackets#10255 (comment) and I modified the control file and included libgcrypt20 and run 'grunt installer' again. This time the .deb file installation was successful. When I try to run brackets by typing the command 'brackets' in terminal, I get the error: OS : Debian 8.5 |
Comment by pratts Also when I try to run the file Brackets in out/Release folder and provide the path to index.html in brackets repository, nothing happens. I get the error : Even pressing Ctrl+C on the terminal window does nothing. I have to kill the processes in another window/tab. |
Issue by jasonsanjose
Thursday Jan 22, 2015 at 11:19 GMT
Originally opened as adobe#499
Replaces adobe#489.
Manually merge changes to
cefclient
sample app into our linux implementation.jasonsanjose included the following code: https://github.com/adobe/brackets-shell/pull/499/commits
The text was updated successfully, but these errors were encountered: