This is the code from /usr/include/c++/4.2.1/bits/locale_facets.tcc

I have indicated the line number in the gdb error below.

parameters variable in step-33 has a FunctionParser which reads some
functions from input file. But I cannot understand why this is causing
problem inside MeshWorker::integration_loop.

Thanks a lot
praveen

  bool
  __verify_grouping(const char* __grouping, size_t __grouping_size,
          const string& __grouping_tmp)
  {
    const size_t __n = __grouping_tmp.size() - 1;
    const size_t __min = std::min(__n, size_t(__grouping_size - 1));
    size_t __i = __n;
    bool __test = true;

    // Parsed number groupings have to match the
    // numpunct::grouping string exactly, starting at the
    // right-most point of the parsed sequence of elements ...
    for (size_t __j = 0; __j < __min && __test; --__i, ++__j)
      __test = __grouping_tmp[__i] == __grouping[__j];
    for (; __i && __test; --__i)
      __test = __grouping_tmp[__i] == __grouping[__min];
    // ... but the first parsed grouping can be <= numpunct
    // grouping (only do the check if the numpunct char is > 0
    // because <= 0 means any size is ok).
    if (static_cast<signed char>(__grouping[__min]) > 0)
      __test &= __grouping_tmp[0] <= __grouping[__min];
    return __test;
  } //THIS IS LINE 2578


On Tue, Mar 15, 2011 at 9:02 PM, Bärbel Janssen <
[email protected]> wrote:

> Well, for me it is necessary to see this line of code to try to help you to
> find out what's going wrong in your code. Could you post this line? And
> maybe a few lines around?
>
>
> Best, Bärbel
>
> --
> Bärbel Janssen
> Institut für Angewandte Mathematik
> Universität Heidelberg
>
> Im Neuenheimer Feld 293, Raum 213
> Telefon: +49 6221 54-5449
>
>
> On Tue, 15 Mar 2011, Praveen C wrote:
>
>  On Tue, Mar 15, 2011 at 8:37 PM, Bärbel Janssen <
>> [email protected]> wrote:
>>      Hi,
>>
>>      can you tell what happens here 0x00000001020a255d in
>> fparser::FunctionParser::~FunctionParser () at locale_facets.tcc:2578?
>>
>> I am stumped here. Do I have to use gdb to find out ? Could you give me
>> some help on this, or point me to a place where I can learn how to do this ?
>>
>> locale_facets.tcc seems to be located at
>> /usr/include/c++/4.2.1/bits/locale_facets.tcc
>>
>> Thanks
>> praveen
>>
>>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to