Skip to content
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

*** stack smashing detected *** #218

Open
sean-mcsherry opened this issue Feb 4, 2020 · 4 comments
Open

*** stack smashing detected *** #218

sean-mcsherry opened this issue Feb 4, 2020 · 4 comments

Comments

@sean-mcsherry
Copy link

Hello,

I am receiving a stack smashing detected error.

I am using the scuff-scatter tool on a geometry that is a simple cylindrical fiber, which is infinitely extended in the x-direction. I need to make the mesh small enough such that the scattering cross section is accurate for small wavelengths (0.2 - 2 um). However, if the mesh is small and I apply periodic boundary conditions, I receive the stack smashing detected error.

Is this an error specific to my computer? (i.e. I do not have enough memory for the calculation) Or is a problem with my geometry/simulation? It occurs when the incoming plane wave is polarized in the x-direction, the same direction that the fiber is "infinitely" extended.

I have attached in image of a representative geometry that I am modeling.
bead

@sean-mcsherry
Copy link
Author

Here is another geometry that it will occur for:
fiber

@texnokrates
Copy link

Hi, could you please provide the exact input files and command line arguments that gives you the error?

@texnokrates
Copy link

And BTW no, this is not a problem with your computer, "stack smashing" points to an error that is almost certainly a bug in the software. It might be easy to fix it for me if you help me to reproduce the bug.

@texnokrates
Copy link

If you are using extended geometry, it's quite likely that this error has the same source as #220; if it's the case, #222 should fix it for you. You can try my fork, which currently has some more bugfixes compared to the upstream, https://github.com/texnokrates/scuff-em

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants