Re: [Firebird-devel] MacOS build sometimes hangs
On 2019-11-28 17:34, Adriano dos Santos Fernandes wrote: On 28/11/2019 05:44, Alex Peshkoff via Firebird-devel wrote: On 2019-11-27 21:37, Adriano dos Santos Fernandes wrote: On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: Hi! You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 that sometimes MacOS build hangs. This is during the build but is when some FB utility is called. I had this many times in Travis and GitHub Actions. I've used to see that hang (hmm... not sure exactly that - at least hang in build_file) sometimes, on 2.5 as far as I remember. "My" hang was caused by missing EOF marker in a stream. I did not pay much attention to it cause it always used to be gone after full rebuild. Now looks like we have that during clean build process - and on a rather specific platform. And in Linux, both v3 and master segfaults in Ubuntu 16.04 and 18.04 in GitHub. I had many problems with v3 in the past, when gfix was exiting, but I thought it was fixed, at least in my machines. I checked the Ubuntu 16.04 environment and it has g++ (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609. Ubuntu 16.04? I have it on my notebook which I use sometimes for development - when work not at home. Particularly I was using it actively during the summer. I have g++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 (16.04.12 instead 11) but I do not think this is a reason of missing segfaults. Also I've rechecked right now the build of fb4 - no problems. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] MacOS build sometimes hangs
> On 28/11/2019 05:57, Paul Beach wrote: > >> More or less related question. As far as I know latest builds done by > >> Paul Beach were done using llvm. gcc had some problems. May be try llvm > >> instead it? > > Alex is correct, LLVM/Clang is now the default compiler on MacOS, and > > thats what we currently use to build Firebird. > > > > > But look: > > Travis: > > $ g++ --version > Configured with: > --prefix=/Applications/Xcode-9.2.app/Contents/Developer/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 9.0.0 (clang-900.0.39.2) > Target: x86_64-apple-darwin16.7.0 > Thread model: posix > InstalledDir: > /Applications/Xcode-9.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > > $ clang++ --version > Apple LLVM version 9.0.0 (clang-900.0.39.2) > Target: x86_64-apple-darwin16.7.0 > Thread model: posix > InstalledDir: > /Applications/Xcode-9.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > > > > GitHub: > > $ g++ --version > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr > --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/ > include/c++/4.2.1 > Apple clang version 11.0.0 (clang-1100.0.33.8) > Target: x86_64-apple-darwin19.0.0 > Thread model: posix > InstalledDir: > /Applications/Xcode_11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > > $ clang++ --version > Apple clang version 11.0.0 (clang-1100.0.33.8) > Target: x86_64-apple-darwin19.0.0 > Thread model: posix > InstalledDir: > /Applications/Xcode_11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin > > > > g++ in both env. seems just the frontend, using LLVM/clang backend. > Is this still problematic and should use clang frontend as well? Nope g++ is invoked on my MacBook Pro running High Sierra 10.13.6 which then defaults to LLVM/Clang gcc -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin So this is not the cause of the hangs by the look of it. Regards Paul Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] MacOS build sometimes hangs
On 28/11/2019 05:44, Alex Peshkoff via Firebird-devel wrote: > On 2019-11-27 21:37, Adriano dos Santos Fernandes wrote: >> On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: >>> Hi! >>> >>> You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 >>> that sometimes MacOS build hangs. >>> >>> This is during the build but is when some FB utility is called. >>> >>> I had this many times in Travis and GitHub Actions. >>> > > I've used to see that hang (hmm... not sure exactly that - at least > hang in build_file) sometimes, on 2.5 as far as I remember. "My" hang > was caused by missing EOF marker in a stream. I did not pay much > attention to it cause it always used to be gone after full rebuild. > Now looks like we have that during clean build process - and on a > rather specific platform. > And in Linux, both v3 and master segfaults in Ubuntu 16.04 and 18.04 in GitHub. I had many problems with v3 in the past, when gfix was exiting, but I thought it was fixed, at least in my machines. I checked the Ubuntu 16.04 environment and it has g++ (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] MacOS build sometimes hangs
On 2019-11-28 17:25, Adriano dos Santos Fernandes wrote: g++ in both env. seems just the frontend, using LLVM/clang backend. Is this still problematic and should use clang frontend as well? I think it's not problematic in that case. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] MacOS build sometimes hangs
On 28/11/2019 05:57, Paul Beach wrote: >> More or less related question. As far as I know latest builds done by >> Paul Beach were done using llvm. gcc had some problems. May be try llvm >> instead it? > Alex is correct, LLVM/Clang is now the default compiler on MacOS, and > thats what we currently use to build Firebird. > > But look: Travis: $ g++ --version Configured with: --prefix=/Applications/Xcode-9.2.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 9.0.0 (clang-900.0.39.2) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode-9.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin $ clang++ --version Apple LLVM version 9.0.0 (clang-900.0.39.2) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode-9.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin GitHub: $ g++ --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 11.0.0 (clang-1100.0.33.8) Target: x86_64-apple-darwin19.0.0 Thread model: posix InstalledDir: /Applications/Xcode_11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin $ clang++ --version Apple clang version 11.0.0 (clang-1100.0.33.8) Target: x86_64-apple-darwin19.0.0 Thread model: posix InstalledDir: /Applications/Xcode_11.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin g++ in both env. seems just the frontend, using LLVM/clang backend. Is this still problematic and should use clang frontend as well? Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] MacOS build sometimes hangs
> More or less related question. As far as I know latest builds done by > Paul Beach were done using llvm. gcc had some problems. May be try llvm > instead it? Alex is correct, LLVM/Clang is now the default compiler on MacOS, and thats what we currently use to build Firebird. Paul Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] MacOS build sometimes hangs
On 2019-11-27 21:37, Adriano dos Santos Fernandes wrote: On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: Hi! You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 that sometimes MacOS build hangs. This is during the build but is when some FB utility is called. I had this many times in Travis and GitHub Actions. I've used to see that hang (hmm... not sure exactly that - at least hang in build_file) sometimes, on 2.5 as far as I remember. "My" hang was caused by missing EOF marker in a stream. I did not pay much attention to it cause it always used to be gone after full rebuild. Now looks like we have that during clean build process - and on a rather specific platform. More or less related question. As far as I know latest builds done by Paul Beach were done using llvm. gcc had some problems. May be try llvm instead it? And now a bugcheck... internal Firebird consistency check (can't continue after bugcheck) (E) /Users/runner/runners/2.161.0/work/firebird/firebird/src/msgs/build_file.epp:47: Couldn't access database DB = 'msg.fdb' 1 error, no warnings Version(s) for database "msg.fdb" https://github.com/FirebirdSQL/firebird/runs/323394276 That's something extraordinary. Useally to see that message without previous one describing exact BC reason we need >1 attachment to bugchecked database on SS. No idea how could gpre have >1 attachment to single DB. Well, some chances to miss initial error are present in nbak.cpp, but I hardly imagine it with DB which was never locked by nbak. Afraid we can only guess now - not enough info to suggest something reasonable. Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Re: [Firebird-devel] MacOS build sometimes hangs
On 26/11/2019 20:08, Adriano dos Santos Fernandes wrote: > Hi! > > You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 > that sometimes MacOS build hangs. > > This is during the build but is when some FB utility is called. > > I had this many times in Travis and GitHub Actions. > > And now a bugcheck... internal Firebird consistency check (can't continue after bugcheck) (E) /Users/runner/runners/2.161.0/work/firebird/firebird/src/msgs/build_file.epp:47: Couldn't access database DB = 'msg.fdb' 1 error, no warnings Version(s) for database "msg.fdb" https://github.com/FirebirdSQL/firebird/runs/323394276 Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
[Firebird-devel] MacOS build sometimes hangs
Hi! You can see here https://github.com/FirebirdSQL/firebird/runs/321529377 that sometimes MacOS build hangs. This is during the build but is when some FB utility is called. I had this many times in Travis and GitHub Actions. Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel