thanx for reply 

Well i've disabled the fault tolerant heap in keys register, but it didn't solve the problem ...

Yes I think it can a lot of things ... I'm gonna try to play with the code to see If I can undestand what bothers gdb. Meanwhile i'll debug with traces, arf ;)


2014-03-13 18:09 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:
> Date: Thu, 13 Mar 2014 16:42:34 +0100
> From: drkmkzs <drkmkzs@gmail.com>
>
> I used the binary *mingw-get-inst-20120426.exe*, cause i wanted to use the
> gcc 4.6.x for some library compatibility.
>
> Just for information, the gdb provided with this package is gdb 7.4
>
> Eveything works fine, from compilation to execution.
>
> But when I trying to debug with gdb, i get a sigsev :
> #0  0x6fc899fc in libstdc++-6!_ZNSsC1ERKSs () from
> D:\DEV\INSTALL\MinGW\bin\libstdc++-6.dll
>
> The previous gdb line refers to a line of one of my header, a constructor
> with some initialization
> StringUtils(const std::string& src) : _tmp(const_cast<std::string&>(src)) ,
> _str(_tmp) {} ;
>
> I have no problem on exec & debug on linux, nor on exec on win7 ... It's
> just the debug of win7 that fails here, I don't know why.
> I know it doesn't necessarily mean that the problem doesn't come from my
> code, but I don't see where, so i'm wondering if there is a known problem
> with gdb on mingw32 ?

GDB didn't crash on me for quite some time.

But there might be other factors at work here:

  . perhaps GCC you are using has a subtle bug
  . perhaps you are using different versions of GCC and/or GDB on
    GNU/Linux
  . perhaps there's some problem in libstdc++-6.dll


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe