Project

General

Profile

Bug #11605

Example 1 "Printing the ELF Symbol Table" dumps core easily

Added by Michal Nowak 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
manpage - manual pages
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Example 1 "Printing the ELF Symbol Table" from GELF(3ELF) dumps core easily on unexpected input:

[guile_2.2.5] {build-userland} newman:~/ws/oi-userland/components/library/guile $ ./gelf 
Segmentation Fault (core dumped)
[guile_2.2.5] {build-userland} newman:~/ws/oi-userland/components/library/guile $ ./gelf /dev/null 
Segmentation Fault (core dumped)
[guile_2.2.5] {build-userland} newman:~/ws/oi-userland/components/library/guile $ ./gelf Makefile 
Segmentation Fault (core dumped)

$ mdb core
Loading modules: [ libc.so.1 ld.so.1 ]
> ::status
debugging core file of gelf (32-bit) from build-userland
file: /export/home/newman/ws/oi-userland/components/library/guile/gelf
initial argv: ./gelf Makefile
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=0
> $C
08047a18 libc.so.1`strlen+0x30(0, 11, fee02cc3, 1)
08047aa8 main+0xfa(8047aac, fef262e8, 8047ae8, 80510d7, 2, 8047b10)
08047ae8 _start_crt+0x96(2, 8047b10, fefcfed4, 0, 0, 0)
08047b04 _start+0x1a(2, 8047c24, 8047c2b, 0, 8047c34, 8047c48)

Related issues

Related to OpenIndiana Distribution - Bug #11274: Crash in elf.so during REQUIRED_PACKAGES targetNew

Actions

History

#1

Updated by Michal Nowak 29 days ago

  • Related to Bug #11274: Crash in elf.so during REQUIRED_PACKAGES target added

Also available in: Atom PDF