-
Notifications
You must be signed in to change notification settings - Fork 663
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
[OS X] Client crashes when built on 10.10 Yosemite #2627
Comments
How did you compile your neon? |
@guruz That link doesn't help, because it confirms the problem swt2c reported: when build on Yosemite the client crashes at startup. |
I built neon using the brew recipe. But what's odd is that if I use the neon from the 1.7.0 distribution, it still crashes. It looks like there may be some memory corruption happening in neon, though. I'll try to track down the cause. |
Okay, so I think I understand what's going on with this. It was rather tricky to track down. So, it appears that in Yosemite, there is now a libsystem function called ne_session_create() in /usr/lib/system/libsystem_networkextension.dylib. This function appears to be getting called instead of neon's ne_session_create() and thus all later operations using the session are not going to go very well, hence the crash. I renamed neon's ne_session_create() to ne_session_create1() and now it doesn't crash anymore. However, I'm not sure how to best resolve this. In fact, I'm kind of surprised we don't see some sort of linking error indicating that there are multiple functions with the same name. I'm wondering if there is some way we can set the library ordering so that the linker finds libneon first? |
Hi, I am trying to compile the desktop client on OS X 10.10 and I am getting the following error : Compiling using the 1.7.1 source tar. Steps :
Please advice.. |
@swt2c Thanks for digging into this... Good catch. Now we need to find out how to avoid this.. |
@guruz am I following the correct steps? what can be error? thanks! |
@supportreq if you didn't get any Makefiles in your parallel build directory, it sounds like your cmake step didn't work correctly. I would clean out your parallel directory, try again, and see if cmake ran into any errors. |
@swt2c I was able to compile the code perfectly.. Any clue? |
@swt2c is it the same issue which you are facing? |
@supportreq yes, that's what this issue is about. |
I'm confused about the fact that according to |
@guruz the fix did open owncloud, but sync is not taking place. It gives an error unable to connect to the server. Also the package formed is of just 4MB, none of the libraries are getting bundled in the pkg file.. please advice.. |
Thanks for the fix. When I build, package and install the application I also get an "unable to connect" error. If I directly start the binary everything works. $ open /Applications/owncloud.app -> unable to connect at sync $ cd /Applications/owncloud.app/Contents/MacOS/ |
@supportreq Do you use @anx-mr Same questions ^^ to you. Could you also give the output of |
@guruz Yes I use otool outputs: http://pastebin.com/2JMBcdak My .app and .pkg files seem to have the right size (90MB and 30MB) Update to my previous post: The application only works if I execute |
I'm working with a fork of 1.5, but I've found that statically linking neon appears to resolve this issue. |
The reason why we are not seeing this problem in production packages is that those get build with the 10.7 SDK to ensure backward compat. |
@guruz yes using make install at the end |
I'm closing this issue because the client can now (1.8 / master) be compiled without neon. |
@guruz not sure but when I am trying to compile the latest v2 master using yosemite 10.10, the client is being successfully but the generated app is just 3.6MB and the app is not loading.. it crashes with error Abort Trap : 6 please advice.. |
@supportreq 2.0.0 is in the 2.0 branch.. |
@guruz tried the same but the generated app file lacks the bin files. The process followed is :
|
@guruz got a binary package created after adding make install while opening the file using bash, it shows :
any clue? |
the make install is giving the following error :
|
@guruz any help.. |
another finding.. the owncloud.app generated in client-build/owncloud.app runs perfectly.. but after running make install it does not work.. @guruz please advice.. |
|
Also check outout of |
I have exactly the sam problem as @supportreq
I think it seems fine. However, running it causes:
|
It loads both Qts.. |
I see. Any idea of what this is caused by and how to avoid it? |
When building the client on Yosemite, the build succeeds but when starting the client, it crashes in a libneon call. This seems to be a known problem but I didn't see an open issue on it.
The text was updated successfully, but these errors were encountered: