Re: Initial crash in MacOS Sierra

2017-05-26 Thread Thiago Macieira
On sexta-feira, 26 de maio de 2017 12:53:54 PDT Thiago Macieira wrote:
> On segunda-feira, 15 de maio de 2017 01:55:33 PDT Robert Helling wrote:
> > Thiago,
> > 
> > could you please have a look at this:
> > https://github.com/Subsurface-divelog/subsurface/issues/398#issuecomment-3
> > 0
> > 1407498
> > 
> > User reports Subsurface crashing on start up and it seems it is in the
> > intial network operation where it determines if it is the latest version.
> > Somehow it seems Qt-networking is calling into CoreFoundations with an
> > illegal nil argument.
> > 
> > Needless to say, I cannot reproduce this problem here.
> 
> Hi Robert
> 
> I haven't yet got Subsurface to build on my Mac, so I couldn't debug yet.
> I'm trying to fight CMake so that it will find OpenSSL properly: my Mac is
> a little unusual in that I didn't install the Xcode Command Line tools, but
> instead I added
> 
>   /Applications/Xcode.app/Contents/Developer/Toolchains/
> XcodeDefault.xctoolchain/usr/bin
> 
> to $PATH instead. So I keep getting now:
> 
>  ld: library not found for -lssl
> 
> The older SDKs (for macOS 10.8 through 10.10) had libssl.dylib, but the
> newest Xcode only carries the 10.12 SDK and that doesn't have libssl.dylib.

That was easy to fix: just drop -lssl -lcrypto from the command-line. Then it 
links without errors.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Initial crash in MacOS Sierra

2017-05-26 Thread Thiago Macieira
On segunda-feira, 15 de maio de 2017 01:55:33 PDT Robert Helling wrote:
> Thiago,
> 
> could you please have a look at this:
> https://github.com/Subsurface-divelog/subsurface/issues/398#issuecomment-30
> 1407498
> 
> User reports Subsurface crashing on start up and it seems it is in the
> intial network operation where it determines if it is the latest version.
> Somehow it seems Qt-networking is calling into CoreFoundations with an
> illegal nil argument.
> 
> Needless to say, I cannot reproduce this problem here.

Hi Robert

I haven't yet got Subsurface to build on my Mac, so I couldn't debug yet. I'm 
trying to fight CMake so that it will find OpenSSL properly: my Mac is a little 
unusual in that I didn't install the Xcode Command Line tools, but instead I 
added 

  /Applications/Xcode.app/Contents/Developer/Toolchains/
XcodeDefault.xctoolchain/usr/bin

to $PATH instead. So I keep getting now:

 ld: library not found for -lssl

The older SDKs (for macOS 10.8 through 10.10) had libssl.dylib, but the newest 
Xcode only carries the 10.12 SDK and that doesn't have libssl.dylib.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Re: Initial crash in MacOS Sierra

2017-05-15 Thread Thiago Macieira
On segunda-feira, 15 de maio de 2017 01:55:33 PDT Robert Helling wrote:
> Thiago,
> 
> could you please have a look at this:
> https://github.com/Subsurface-divelog/subsurface/issues/398#issuecomment-30
> 1407498
>  01407498>
> 
> User reports Subsurface crashing on start up and it seems it is in the
> intial network operation where it determines if it is the latest version.
> Somehow it seems Qt-networking is calling into CoreFoundations with an
> illegal nil argument.
> 
> Needless to say, I cannot reproduce this problem here.

Story of our lives :-)

I'll take a look later this week.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface


Initial crash in MacOS Sierra

2017-05-15 Thread Robert Helling
Thiago,

could you please have a look at this: 
https://github.com/Subsurface-divelog/subsurface/issues/398#issuecomment-301407498
 


User reports Subsurface crashing on start up and it seems it is in the intial 
network operation where it determines if it is the latest version. Somehow it 
seems Qt-networking is calling into CoreFoundations with an illegal nil 
argument.

Needless to say, I cannot reproduce this problem here.

Best
Robert

--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling Elite Master Course Theoretical and Mathematical Physics
  Scientific Coordinator
  Ludwig Maximilians Universitaet Muenchen, Dept. Physik
  Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
  http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1Dand
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F







signature.asc
Description: Message signed with OpenPGP
___
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface