Bug 690632 - [abrt] elfutils-0.152-1.fc14: consider_notes: Process /usr/bin/eu-unstrip was killed by signal 11 (SIGSEGV)
Summary: [abrt] elfutils-0.152-1.fc14: consider_notes: Process /usr/bin/eu-unstrip was...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: elfutils
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Machata
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:47f4d7e3c483cb657522eba3626...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-24 20:54 UTC by dani882
Modified: 2015-05-05 01:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-10 13:37:03 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (109.47 KB, text/plain)
2011-03-24 20:54 UTC, dani882
no flags Details

Description dani882 2011-03-24 20:54:07 UTC
abrt version: 1.1.17
architecture: i686
Attached file: backtrace, 112098 bytes
cmdline: eu-unstrip --core=/var/spool/abrt/ccpp-1300559069-2525/coredump -n
component: elfutils
Attached file: coredump, 446464 bytes
crash_function: consider_notes
executable: /usr/bin/eu-unstrip
kernel: 2.6.35.11-83.fc14.i686
package: elfutils-0.152-1.fc14
rating: 4
reason: Process /usr/bin/eu-unstrip was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1300750732
uid: 500

How to reproduce
-----
1.anything
2.
3.

Comment 1 dani882 2011-03-24 20:54:14 UTC
Created attachment 487426 [details]
File: backtrace

Comment 2 dani882 2011-03-24 20:54:37 UTC
Package: elfutils-0.152-1.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.anything
2.
3.

Comment 3 Mark Wielaard 2011-03-24 22:05:01 UTC
Do you happen to have the /var/spool/abrt/ccpp-1300559069-2525/coredump file still around? Would it be possible to upload it somewhere for us to examine?

This occurs in the following while loop:

    const GElf_Nhdr *nh = notes;
    while ((const void *) nh < (const void *) notes + filesz)
     {
        const void *note_name = nh + 1;
[320]   const void *note_desc = note_name + NOTE_ALIGN (nh->n_namesz);
        if (unlikely ((size_t) ((const void *) notes + filesz
                                - note_desc) < nh->n_descsz))
          break;

        if (nh->n_type == NT_GNU_BUILD_ID
            && nh->n_descsz > 0
            && nh->n_namesz == sizeof "GNU"
            && !memcmp (note_name, "GNU", sizeof "GNU"))
          {
            build_id_vaddr = note_desc - (const void *) notes + vaddr;
            build_id_len = nh->n_descsz;
            build_id = malloc (nh->n_descsz);
            if (likely (build_id != NULL))
              memcpy (build_id, note_desc, build_id_len);
            break;
          }

        nh = note_desc + NOTE_ALIGN (nh->n_descsz);
      }

On line 320. So I assume nh got corrupted by bad data.

Comment 4 Mark Wielaard 2012-03-10 13:37:03 UTC
Not enough data to reproduce. f14 is no longer maintained. elfutils-0.153 has been released. please reopen if you can still reproduce this issue.


Note You need to log in before you can comment on or make changes to this bug.