This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14834] Crash while trying to read field


http://sourceware.org/bugzilla/show_bug.cgi?id=14834

--- Comment #8 from icegood <icegood1980 at gmail dot com> 2012-11-19 18:15:19 UTC ---
Created attachment 6745
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6745
backtrace2

Just compiled gdb with debug symbols. Backtrace recreated. Got rid of
<optimized out>. Hope it helps more. And sorry for windows-style EOL (my lovely
editor is under wine)

ptype:

(gdb) ptype this
type = class VolumeChangeMove<EnsembleNPT> : public McMove {
  private:
    double MaxRelativeLogChange;
    double Volume_Init;
    std::vector<_T_VolumeChangeMove_NeighboursByVolume,
std::allocator<_T_VolumeChangeMove_NeighboursByVolume> > *neighbours;
    CellList *FCellList;

  public:
    void VolumeChangeMove(McSystem *);
    ~VolumeChangeMove(int);
    virtual void read(FILE *);
    virtual void initialize(void);
    virtual bool move(void);
  private:
    void initialize_common(void);
    void CacheNeighbours(void);
    void SetNeighboursByVolume(double);
} * const
(gdb) ptype MaxRelativeLogChange
type = double

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]