Skip to content

stripped 8.out crashes #261

Closed
Closed
@gopherbot

Description

@gopherbot

by wjosephson:

Before filing a bug, please check whether it has been fixed since
the latest release: run "hg pull -u" and retry what you did to
reproduce the problem.  Thanks.

What steps will reproduce the problem?
1. Build any go program, e.g. hello world
2. Strip it, with or with out strip -d
3. Run it and watch it commit suicide

What is the expected output? What do you see instead?
$ strip -d hello
BFD: hello: warning: Empty loadable segment detected, is this intentional ?

$ ./hello 
SIGSEGV: segmentation violation
Faulting address: 0x99000000
PC=0x3b

Segmentation fault: 11 (core dumped)


What is your $GOOS?  $GOARCH?

FreeBSD/386

Which revision are you sync'ed to?  (hg log -l 1)

changeset:   4134:3c97caf16ae0

Please provide any additional information below.

Strip probably doesn't need to work, but it shouldn't
cause the binary to shoot itself in the head.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions