[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    Re: opreport error: basic_string::_S_construct NULL not valid
From:       Nicolas Savoire <nicos () maunakeatech ! com>
Date:       2005-12-30 12:34:51
Message-ID: 200512301334.51743.nicos () maunakeatech ! com
[Download RAW message or body]

this patch fixed my problem !

My gcc version is 3.4.5, oprofile is 0.9.1, libbfd is 2.16.1.

Thanks,
nicolas

On Friday 30 December 2005 13:01, Philippe Elie wrote:
> On Fri, 30 Dec 2005 at 12:51 +0000, Philippe Elie wrote:
>
> oops
>
> > RCS file: /cvsroot/oprofile/oprofile/libutil++/bfd_support.cpp,v
> > retrieving revision 1.2
> > diff -u -p -r1.2 bfd_support.cpp
> > --- libutil++/bfd_support.cpp	2 Jun 2005 20:24:46 -0000	1.2
> > +++ libutil++/bfd_support.cpp	30 Dec 2005 11:43:31 -0000
> > @@ -531,7 +531,7 @@ find_nearest_line(bfd_info const & b, op
> >  	ret = bfd_find_nearest_line(abfd, section, syms, pc, &cfilename,
> >  	                                 &function, &linenr);
> >
> > -	if (!ret || !cfilename)
> > +	if (!ret || !cfilename && !function)
>
>                                ^^  oops
>
> >  		goto fail;
> >
> >  	if (!is_correct_function(function, sym.name()))
>
> try this one rather :)
>
> regards,
> Philippe Elie
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic