Comments (10)
Here is a backtrace obtained with debian official package (3.61.1+dfsg1-4).
$ gdb FreeFem++
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/FreeFem++
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGILL, Illegal instruction.
__static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at lg.ypp:105
105 lg.ypp: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at lg.ypp:105
#1 _GLOBAL__sub_I_lg.tab.cpp(void) () at lg.ypp:989
#2 0x0000555555f16dd5 in __libc_csu_init ()
#3 0x00007ffff728202a in __libc_start_main (main=0x555555a6c4c0 <main(int, char**)>, argc=1, argv=0x7fffffffe098, init=0x555555f16d90 <__libc_csu_init>, fini=, rtld_fini=, stack_end=0x7fffffffe088) at ../csu/libc-start.c:264
#4 0x0000555555a70cda in _start () at ../Graphics/rgraph.hpp:145
from freefem-sources.
We have never seen this bug before.
Could you try to compile FreeFEM (master
or develop
branch) to see if the bug persists ?
from freefem-sources.
Here is the full list of the different ways I have been trying to run FreeFem++.
1/ debian/unstable package (3.61.1+dfsg1-4), machine 1: exit status 132
2/ freefem package from github (3.62), machine 1: exit status 132
3/ debian/unstable package (3.61.1+dfsg1-4), machine 2: success
4/ rebuilding the same debian/unstable package on machine 1 + running on machine 1: success
5/ building current master on machine 1 + running on machine 1: success
Machine 1 and 2 are different but run the same debian/unstable/amd64. The crashes are reproducible. But they happen only on machine 1.
The fact that the bug disappears when I rebuild the debian package make me think that it is a real bug. However, I agree that it is a very subtle one.
Thank you for your time and for FreeFEM!
from freefem-sources.
Please check the Debian BTS.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924009#30
Bernhard Übelacker found out that the issue might result from running freefem++ with a processor lacking AVX support when the binary was compiled by a processor with AVX. I reproduced the crash by running freefem++ on another PC without AVX support.
from freefem-sources.
from freefem-sources.
You should configure with --enable-generic
if you are cross compiling. Could you confirm that this fixes your issue, please?
from freefem-sources.
from freefem-sources.
As far as I could test, --enable-generic
works theoretically and experimentally. ;-)
I rebuilt the debian package (version 3.61.1+dfsg1-4) with and without adding --enable-generic
to configure using a PC with AVX support. I tested the resulting packages using 2 PCs without AVX support. The package built with --enable-generic
doesn't crash while the other one always does.
Thanks a lot for your help!
from freefem-sources.
@es132 , are you the offical maintainer of the freefem debian package ?
We have some issues with our jenkins build script (https://github.com/FreeFem/FreeFem-sources/blob/master/etc/jenkins/deployDEB.sh), we only managed to create a package for ubuntu 18.04. Would you be able to help us configure it by submitting a PR? We are not sure if using checkinstall
is the best way to do it.
Thank you in advance !
from freefem-sources.
@es132 , are you the offical maintainer of the freefem debian package ?
No. I can't help you with jenkins either. Sorry ...
from freefem-sources.
Related Issues (20)
- Installation problems on apple m2 HOT 1
- PETSc and export .vtu files HOT 1
- BDM finite element HOT 1
- A higher BDM finite element HOT 1
- error: use of overloaded operator '=' is ambiguous (with operand types 'KN<idx_t>' (aka 'KN<long>') and 'int') HOT 3
- The test LapEigenBeltrami.edp fails HOT 7
- Does Freefem have a quadrilateral element? HOT 2
- no match for ‘operator==’ (operand types are ‘const Cplx {aka const std::complex<double>}’ and ‘__complex__ double’) HOT 2
- Calculations stop when the plot window is minimized HOT 1
- MacOS install Error, libumfpack.6.dylib no such file HOT 2
- FFGlut error on release 4.13
- Adaptation does not converge with mshmet/mmg3d HOT 1
- configure fails to find ipopt because it looks for the header in a wrong place
- configure fails to find scotch because of: error: unknown type name 'int64_t' HOT 4
- problems when compiling on RH Linux HOT 7
- FAIL: testvtk.edp HOT 1
- Problems compiling on OpenSUSE 15.4 HOT 7
- Deprecated URL for MUMPS download in 3rdparty/getall HOT 3
- more deprecated URL download in ./3rdparty/getall HOT 2
- origin of 2D-meshes appear at [0,0] instead of at the chosen coordinate HOT 2
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 freefem-sources.