Comments (7)
It may be related to apple silicon — @Pranavchiku has not reported arch but presumably CI would fail here if it was universal on mac. I will investigate.
edit: confirmed the test passes on an Intel Mac with gcc 13.2
from stdlib.
Thank you for reporting this issue. could you rerun the tests with "--rerun failed --output-on-failure" to get more information on which tests are actually failing, please?
from stdlib.
Could your issue be related with the PR #736 ?
from stdlib.
I see the same on macOS 13.6.1, aarch64-apple-darwin22.3.0, GCC 13.2.0. It is indeed the move
test that fails, in particular move to self:
stdlib/test/string/test_string_intrinsic.f90
Line 717 in b8fbb3c
from stdlib.
Thank you @wpbonelli for testing. This issue should have been solved with #736 . Question: is it an issue with the compiler or with the code?
As I don't have a macOS, could you investigate what the problem is, please?
from stdlib.
At this point it seems like a compiler problem. The issue does not reproduce in a minimal test https://github.com/wpbonelli/move-test on arm64. My next step is to add a test-drive
harness and see if it still succeeds.
I guess I will try to systematically bring the test project to equivalence with stdlib_string_type.f90
to track it down
from stdlib.
On Apple M1 Max with GFortran 11.3.0 I get:
$ ./test/string/test_string_intrinsic
# Testing: string-intrinsic
Starting lgt ... (1/17)
... lgt [PASSED]
Starting llt ... (2/17)
... llt [PASSED]
Starting lge ... (3/17)
... lge [PASSED]
Starting lle ... (4/17)
... lle [PASSED]
Starting trim ... (5/17)
... trim [PASSED]
Starting len ... (6/17)
... len [PASSED]
Starting len_trim ... (7/17)
... len_trim [PASSED]
Starting adjustl ... (8/17)
... adjustl [PASSED]
Starting adjustr ... (9/17)
... adjustr [PASSED]
Starting scan ... (10/17)
... scan [PASSED]
Starting verify ... (11/17)
... verify [PASSED]
Starting repeat ... (12/17)
... repeat [PASSED]
Starting index ... (13/17)
... index [PASSED]
Starting char ... (14/17)
... char [PASSED]
Starting ichar ... (15/17)
... ichar [PASSED]
Starting iachar ... (16/17)
... iachar [PASSED]
Starting move ... (17/17)
test_string_intrinsic(96879,0x102dd8580) malloc: *** error for object 0x6000006982c0: pointer being freed was not allocated
test_string_intrinsic(96879,0x102dd8580) malloc: *** set a breakpoint in malloc_error_break to debug
Program received signal SIGABRT: Process abort signal.
Backtrace for this error:
#0 0x102fe7c07
#1 0x102fe6cc3
#2 0x18f3244e3
#3 0x18f30ceaf
#4 0x18f24a313
#5 0x18f12fa1b
#6 0x18f13305f
#7 0x18f121fa7
#8 0x102be684f
#9 0x102bf19bb
#10 0x102bf7cc3
#11 0x102be8a4b
#12 0x102bf9e0f
zsh: abort ./test/string/test_string_intrinsic
from stdlib.
Related Issues (20)
- hash_functions test fails on i386: `Segmentation fault - invalid memory reference`
- Request to upgrade Intel-classic compiler in macOS CI
- Add `library` configuration to `stdlib-fpm`
- Massive slow down in docs generation HOT 4
- Unexpected performance of hash maps HOT 8
- python preprocessor HOT 11
- add topic tags `lapack`, `blas`, `linear-algebra` HOT 1
- Improve descriptions of rotm, rotmg, stdlib_srotm, stdlib_srotmg
- Don't repeat names of procedures in descriptions
- stdlib_io_npy, FPM and Rank > 4 HOT 5
- Missing documentation for `LAPACK`-related functions HOT 6
- Adding the logarithmic derivative of the gamma function (digamma) to stdlib_specialfunctions_gamma HOT 1
- example_starts_with prints logical results as binary
- Nonstandard forward reference to 'lk' is not allowed in the same specification part causes compilation errors HOT 4
- Issue/Question about the output of `lstsq` HOT 3
- Building and testing stdlib on WSL1 with two fails HOT 5
- Adding matrix norms to the `stdlib_linalg` module. HOT 8
- Extend `sort_index` interface to allow `int32` index argument HOT 1
- Bug in the complex least-squares solver HOT 6
- Conflict between the pure function `stdlib_iparam2stage` and `openmp` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stdlib.