opreport crashes with "error: basic_string::erase"
Bug #310824 reported by
Magnus Hjorth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oprofile (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: oprofile
I had problems with opreport crashing with the message "error: basic_string:
This seems to be the exact same bug that is described in upstream bug #1930788, which seems to be fixed in 0.9.4.
http://
Adding the attached patch (taken from the bug above) to the package source's patch set and rebuilding the package made the problem go away.
Related branches
To post a comment you must log in.
I am using the AMD64 version of Ubuntu 8.10, and I have run into exactly the same problem.
The patch fixes it for me, although I have no idea whether there are any side effects.
Another strange issue that I observed is that I cannot compile the version for 8.10 (oprofile_ 0.9.3-1. 1ubuntu2. dsc) on 8.10. I get
bfd_support.cpp:86: error: 'strlen' was not declared in this scope
which according to google is an issue with gcc 4.3. The source package from 9.04 to be (oprofile_ 0.9.3-2ubuntu1. dsc) compiles fine.