abrt version: 1.1.14 architecture: x86_64 Attached file: backtrace cmdline: pahole amps_sow_listener_broadcaster.C.o comment: pahole seems to crash with C++ object code produced by gcc 4.5 on Fedora 14 system component: dwarves crash_function: tag__delete executable: /usr/bin/pahole kernel: 2.6.35.6-48.fc14.x86_64 package: dwarves-1.8-1.fc13 rating: 4 reason: Process /usr/bin/pahole was killed by signal 6 (SIGABRT) release: Fedora release 14 (Laughlin) time: 1291480732 uid: 500 How to reproduce ----- 1. run pahole on any .o produced by gcc 4.5 compiled on Fedora 14 system 2. 3.
Created attachment 464769 [details] File: backtrace
[jmb@nehalem amps.dir]$ pahole amps_sow_listener_broadcaster.C.o die__process_class: DW_TAG_template_value_parameter @ <0x1aa> not handled! pahole: /builddir/build/BUILD/dwarves-1.8/dwarves.c:92: tag__delete: Assertion `list_empty(&self->node)' failed. Aborted (core dumped) I'll attach the .o so that you can try for yourself
Created attachment 464771 [details] object file that causes pahole to abort If you run pahole on this object file then you can reproduce the issue. I have tried this with a long list of .o's and pahole aborts on all of them.
Can you please try after upgrading to the rpms in this directory: http://userweb.kernel.org/~acme/dwarves/rpm/test/ I just tested with the provided .o file (thanks!) and it works. I need to tag v1.9 with this fix and push a fedora upgrade.
Thanks Arnaldo, I use pahole quite often so I appreciate you taking time to provide a fix in such a short amount of time.
note sure if this means anything: [jmb@nehalem amps.dir]$ pahole amps_view_manager.C.o > amps_view_manager.pahole die__process_class: tag not supported (template_value_parameter)! die__process_class: tag not supported (template_type_parameter)!
You can ignore that, this is exactly the thing that were not supported, C++ tags that I don't properly support in pahole and friends. I have to study them in more depth so that I can use them when regenerating the source code, for now they are just ignored and this message is emitted. I'll add a if (verbose) around it before tagging v1.9, thanks for testing! I fixed it some days ago, when this problem was reported in #654471 :)
that is terrific. i am getting what I need out of pahole right now so I am quite pleased. thanks again and really love the tool that you created as it is very handy for creating cache friendly data structures. although I usually do the math in my head when creating, it is nice to be able to check everything.
Package dwarves-1.9-1.fc13: * should fix your issue, * was pushed to the Fedora 13 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dwarves-1.9-1.fc13' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dwarves-1.9-1.fc13 then log in and leave karma (feedback).
Package dwarves-1.9-1.fc14: * should fix your issue, * was pushed to the Fedora 14 updates-testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing dwarves-1.9-1.fc14' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/dwarves-1.9-1.fc14 then log in and leave karma (feedback).
dwarves-1.9-1.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dwarves'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/dwarves-1.9-1.fc14
dwarves-1.9-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
dwarves-1.9-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.