c - Help track down segfault in "probe" (?) on mingw -


I use MinGW-5.1.6 and MSYS-1.0.11 to create a stable libgmp, and its After creating some custom labs and programs that use libgmp, both GMP and custom items are created using C (XX) Flags = "-G-DGDB" ./configure. It is OK to check GMP, everything is connected statically (the same effect was seen on dynamic linking libgmp.)

Now when running a custom program with some input files If you try, it gets this segfault (without input it just prints fine).

Program received signal SIGSEGV, Segmentation error 0x00435723 in check () (GDB)

Now I do not know that in gmp there is nothing with it. I need a few points, mostly because I do not know what is "check" and where to start, practically a lot may be wrong but I have no indication.

Thank you!

I came to know that when trying to create an array of negative length, segfault occurred (well , In fact, the length was a variable that was left unaccounted for, but so far managed to keep separate systems and compilers alive with zero value).


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -