From: j.beyer <j....@we...> - 2002-11-08 20:38:15
|
Philippe Elie wrote: > j.beyer wrote: > >> Dear List Reader, >> >> I just tried out oprofile-0.4 and triggered this assertion: >> >> joerg@dilbert:/fs1/home/joerg/dev/gecc> op_time -d >> op_time: db.h:146: page_nr_to_page_ptr: Assertion `page_nr < >> tree->descr->current_size' failed. >> >> I am aware that anybody who want's to track this down, need >> more informationm so I collect what might help. Feel free to >> ask for more: > > > yes a lot :) First double check than you really run oprofile > 0.4. I say that because I fix a bug in 0.3 with the same > symptom so I'm surprised you get it. I once tried oprofile 0.2, but never 0.3 This is the $Id-Tag of the script: $Id: op_start,v 1.12 2002/09/23 02:01:34 movement Exp $ how can I make sure that _all_ components are current? I just compiled and installed it, but there is an older version (0.2) on the machine - I guess the installation copied new parts over all old parts. > > Second is it easy to reproduce and how (important it's too > difficult to bug fix if I can't reproduce it) ? I seems to do this all the time for me. I just start op_start with this parameters: /usr/local/bin/op_start --verbose --vmlinux=/usr/src/linux/vmlinux \ --ctr0-event=CPU_CLK_UNHALTED --ctr0-count=300000 > Third if you have the faulting samples files or can reproduce > the bug try to identify which samples files trigger it: > > for f in /var/lib/oprofile/samples/}*; do echo "$f" 1>&2 ; oprofpp -l > "$f"; done > /dev/null I picked a case, which triggers the assertion. The file is attached. > Is your Suse a stable version (you said 8.0 so I guess it's a stable) ? well, I dont do distro wars, but SuSE 8.0 is OK. I use a vanilla 2.4.19 kernel (should have mentioned that, since SuSE is famous for patching ther kernel a lot). > > What is your gcc version ? c++ -v Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs gcc version 2.95.3 20010315 (SuSE) > Thanks for your report. Welcome :-) If you need anything else just mail me. Joerg |