status of SR-755

It’s been like a year since SR-755 <https://bugs.swift.org/browse/SR-755>
was filed and linux crash logs still look like this.

Current stack trace:
0 libswiftCore.so 0x00007f39facaf0f0
_swift_stdlib_reportFatalError + 171
1 libswiftCore.so 0x00007f39fac549cf <unavailable> +
4155855
2 libswiftCore.so 0x00007f39fa9b3acb <unavailable> +
1399499
3 libswiftCore.so 0x00007f39fac0b691 <unavailable> +
3856017
4 libswiftCore.so 0x00007f39fa9b3acb <unavailable> +
1399499

i don’t think any other bug in the compiler is as annoying as this one,
because it literally affects debugging every Swift program. is this ever
going to get fixed?

Is https://github.com/apple/swift/blob/master/utils/symbolicate-linux-fatal not working for you?

This script works around the unfortunate interaction between dladdr and ELF local symbols. It was added a year ago. The explanation is in the SR, and the PR with the workaround was linked from the bug discussion.

(Based on the discussion, it sounds like the status is “works as expected, workaround provided.” :\)

···

--
Jeremy W. Sherman
http://jeremywsherman.com/

On Nov 16, 2017, at 18:32, Kelvin Ma via swift-users <swift-users@swift.org> wrote:

It’s been like a year since SR-755 was filed and linux crash logs still look like this.

Current stack trace:
0 libswiftCore.so 0x00007f39facaf0f0 _swift_stdlib_reportFatalError + 171
1 libswiftCore.so 0x00007f39fac549cf <unavailable> + 4155855
2 libswiftCore.so 0x00007f39fa9b3acb <unavailable> + 1399499
3 libswiftCore.so 0x00007f39fac0b691 <unavailable> + 3856017
4 libswiftCore.so 0x00007f39fa9b3acb <unavailable> + 1399499

i don’t think any other bug in the compiler is as annoying as this one, because it literally affects debugging every Swift program. is this ever going to get fixed?
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

that could really be automated in the compiler

···

On Thu, Nov 16, 2017 at 9:22 PM, Jeremy W. Sherman < jeremyw.sherman@gmail.com> wrote:

Is https://github.com/apple/swift/blob/master/utils/
symbolicate-linux-fatal not working for you?

This script works around the unfortunate interaction between dladdr and
ELF local symbols. It was added a year ago. The explanation is in the SR,
and the PR with the workaround was linked from the bug discussion.

(Based on the discussion, it sounds like the status is “works as expected,
workaround provided.” :\)
--
Jeremy W. Sherman
http://jeremywsherman.com/

On Nov 16, 2017, at 18:32, Kelvin Ma via swift-users < > swift-users@swift.org> wrote:

It’s been like a year since SR-755 <https://bugs.swift.org/browse/SR-755>
was filed and linux crash logs still look like this.

Current stack trace:
0 libswiftCore.so 0x00007f39facaf0f0
_swift_stdlib_reportFatalError + 171
1 libswiftCore.so 0x00007f39fac549cf <unavailable>
+ 4155855
2 libswiftCore.so 0x00007f39fa9b3acb <unavailable>
+ 1399499
3 libswiftCore.so 0x00007f39fac0b691 <unavailable>
+ 3856017
4 libswiftCore.so 0x00007f39fa9b3acb <unavailable>
+ 1399499

i don’t think any other bug in the compiler is as annoying as this one,
because it literally affects debugging every Swift program. is this ever
going to get fixed?

it works and that’s what i’ve been using but it’s a really weird workflow