Program terminated with signal 11 segmentation fault new process




















TLTR Resolution : install the bash-debuginfo to get more details from the core and locate the statement which cause the crash. The coredump backtrace is a bit dry see below.

Program terminated with signal 11, Segmentation fault. What version of bash? GNU bash, version 4. Is there a command to get the details in a row? What, in general terms, kind of task is your bash script doing? Do you get seg faults from other processes? Have you run a memory test on your server? This script is sourced in almost every one of our scripts. Improve this question. Guillaume Guillaume 2 2 silver badges 7 7 bronze badges. Try and run a strings on the core, you may find environment variables and other stuff that allow you to dig deeper.

What version of libc and other libs linked to bash? Gerard, sorry I don't understand what do you mean by 'run a string on the core'. Guillaume The command strings , e. Show 6 more comments. Active Oldest Votes. Improve this answer. Even though the code is wrong, it shouldn't cause a SEGV, so it could be considered a bug which the maintainers would want to fix if not done already in newer versions.

Can you post a simple standalone code that reproduces the issue? Probably same as lists. You have a server exposed to the internet and you're running a pre bash? Collectives on Stack Overflow. Learn more. Program terminated with signal 11, Segmentation fault while Typecasting Ask Question.

Asked 7 years, 5 months ago. Active 7 years, 5 months ago. Viewed times. I am getting segmentation fault while typecasting. Can' read the question. Never seen such a format chaos Thanks BTW: Do you think your identifiers could be read in two month? It's dying when it tries to load some cached files. Not sure at the moment why this would be happening but cleaning out the cache should fix it. Type "show copying" and "show warranty" for details. For more information about this security protection see the "Auto-loading safe path" section in the GDB manual.

I can add an option to disable the cache it barely makes a difference unless the sample size is in the hundreds though I'm not sure why this would be happening. Could you try building from master commit 87ac? I made a few changes which might help, though it's difficult for me to debug this without having access to your environment.

Is there a special way to download commit 87ac? Cloning from HEAD would incorporate any earlier changes, so it seems that the changes I made did not address the problem. Unfortunately, I do not have any other ideas as to what's going on here. Does it still produce the same stack trace when crashing? So HEAD is broken but 87ac works? Skip to content.

Star New issue. Jump to bottom. Program terminated with signal 11, Segmentation fault. Copy link.



0コメント

  • 1000 / 1000