Re: Brain fart alert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I can't reproduce the segfault on i386 anymore (I updated my system
since last time I tried), but I got a new brain fart alert, with the
attached example.

As previously to reproduce: g++ -g -c brainfart2.cpp -o brainfart2.o &&
pahole brainfart2.o

Thanks a lot,
Nicolas


On 03/09/2012 14:22, Mark Wielaard wrote:
> On Thu, 2012-08-30 at 18:35 +0200, Nicolas wrote:
>> On my i386 box, pahole segfaults in dwfl_module_getelf (in libdw.so.1,
>> version 0.153), but the problem may be on elfutils' side.
> 
> I cannot replicate that on i386 with 0.152 or 0.155 (so it might be
> 0.153 specific). But could you give a bit more details, and/or supply
> the binaries you tried to pahole, a core file or backtrace when this
> happens?
> 
> Thanks,
> 
> Mark
> 

using namespace std;
namespace std
{
  template<class _CharT> struct char_traits;
  template<typename _CharT, typename _Traits = char_traits<_CharT> > class basic_ostream;
  typedef basic_ostream<char> ostream;
}
class A  {};
class B: public A {};
class C: public B
{
  virtual void f(std::ostream& os) const;
};
void C::f(ostream& os) const {}

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux