Skip to content

[SR-501] Memory corruption error starting REPL on Raspi. v.2 #43118

Open
@hpux735

Description

@hpux735
Previous ID SR-501
Radar None
Original Reporter @hpux735
Type Bug
Environment
pi@raspberrypi:/ $ uname -a
Linux raspberrypi 4.1.13-v7+ #​826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
pi@raspberrypi:/ $ clang --version
Raspbian clang version 3.5.0-10+rpi1 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
Target: arm-unknown-linux-gnueabihf
Thread model: posix
Additional Detail from JIRA
Votes 2
Component/s
Labels Bug, arm, armhf
Assignee None
Priority Medium

md5: ba327313bd95b4db8284f0be5e6e805c

Issue Description:

Beginning with a brand-new raspberry pi version 2 (armv7) and raspian, using the REPL using Joe Bell's debian package or my tarball results in memory corruption errors. The REPL launches, but when, for example, importing Glibc or Foundation or printing a message the following message is printed:

pi@raspberrypi:/ $ swift
Welcome to Swift version 2.2-dev (LLVM 3ebdbb2c7e, Clang f66c5bb67b, Swift 29ae8d22b2). Type :help for assistance.
  1> print("Hello world!")
*** Error in `/usr/bin/lldb': malloc(): memory corruption: 0x6ac00072 ***
Aborted

Metadata

Metadata

Assignees

No one assigned

    Labels

    armArchitecture: any ARMarmhfArchitecture: the Debian port for ARM processors (armv7+) that have hardware floating point supportbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions