Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core dump in RawConnection drop #2092

Closed
2 tasks done
Munksgaard opened this issue Jun 17, 2019 · 1 comment
Closed
2 tasks done

Core dump in RawConnection drop #2092

Munksgaard opened this issue Jun 17, 2019 · 1 comment

Comments

@Munksgaard
Copy link

Munksgaard commented Jun 17, 2019

Setup

Diesel needs to be able to connect to a database with a password. The error described below appears for me if the connection string is postgres://USER:PASSWORD@localhost/, but not if it is postgres://localhost/ or simpler forms thereof.

For my example, it was also necessary to add reqwest as a dependency: reqwest = "0.9.18"

Versions

  • Rust:

rustc 1.36.0-nightly (cfdc84a00 2019-05-07)
rustc 1.35.0 (3c235d560 2019-05-20)

  • Diesel:

1.4.2

  • Database:

PostgreSQL 11.2

  • Operating System

Ubuntu 16.04.6

Feature Flags

  • diesel: postgres

Problem Description

Core dump when running program

What are you trying to accomplish?

I am running this program:

use diesel::pg::PgConnection;
use diesel::connection::Connection;

fn main() {
    let connection = PgConnection::establish("postgres://USER:PASSWORD@localhost/")
        .unwrap_or_else(|e| panic!("Error connecting to database, {:?}", e));

    let res = reqwest::get("https://example.com").unwrap();

    panic!("");
}

What is the expected output?

A normal panic

What is the actual output?

A normal seeming panic, followed by a core dump:

thread 'main' panicked at '', src/main.rs:10:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
*** Error in `target/debug/diesel-bug': free(): invalid size: 0x00005597d65d4480 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f3bcb1257e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f3bcb12e37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f3bcb13253c]
/usr/lib/x86_64-linux-gnu/libpq.so.5(+0xb930)[0x7f3bcbcc2930]
target/debug/diesel-bug(_ZN84_$LT$diesel..pg..connection..raw..RawConnection$u20$as$u20$core..ops..drop..Drop$GT$4drop17hea48367f7fe0d74dE+0x27)[0x5597d5144387]
target/debug/diesel-bug(+0x26f4ff)[0x5597d49ed4ff]
target/debug/diesel-bug(+0x270471)[0x5597d49ee471]
target/debug/diesel-bug(+0x26dbc9)[0x5597d49ebbc9]
target/debug/diesel-bug(+0x26dda0)[0x5597d49ebda0]
target/debug/diesel-bug(+0x9e56b3)[0x5597d51636b3]
target/debug/diesel-bug(__rust_maybe_catch_panic+0x1a)[0x5597d516780a]
target/debug/diesel-bug(_ZN3std2rt19lang_start_internal17h66306a4a4a80131bE+0x35d)[0x5597d516427d]
target/debug/diesel-bug(+0x26dd79)[0x5597d49ebd79]
target/debug/diesel-bug(+0x26dc4a)[0x5597d49ebc4a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f3bcb0ce830]
target/debug/diesel-bug(+0x26d939)[0x5597d49eb939]
======= Memory map: ========
5597d477e000-5597d5389000 r-xp 00000000 00:2b 1078912                    /home/munksgaard/tmp/reqwest-bug/target/debug/diesel-bug
5597d5588000-5597d55f0000 r--p 00c0a000 00:2b 1078912                    /home/munksgaard/tmp/reqwest-bug/target/debug/diesel-bug
5597d55f0000-5597d55f1000 rw-p 00c72000 00:2b 1078912                    /home/munksgaard/tmp/reqwest-bug/target/debug/diesel-bug
5597d6583000-5597d65ec000 rw-p 00000000 00:00 0                          [heap]
7f3bb0000000-7f3bb0021000 rw-p 00000000 00:00 0 
7f3bb0021000-7f3bb4000000 ---p 00000000 00:00 0 
7f3bb4000000-7f3bb4021000 rw-p 00000000 00:00 0 
7f3bb4021000-7f3bb8000000 ---p 00000000 00:00 0 
7f3bb8000000-7f3bb8021000 rw-p 00000000 00:00 0 
7f3bb8021000-7f3bbc000000 ---p 00000000 00:00 0 
7f3bbc000000-7f3bbc021000 rw-p 00000000 00:00 0 
7f3bbc021000-7f3bc0000000 ---p 00000000 00:00 0 
7f3bc0000000-7f3bc010a000 rw-p 00000000 00:00 0 
7f3bc010a000-7f3bc4000000 ---p 00000000 00:00 0 
7f3bc532f000-7f3bc5334000 r-xp 00000000 08:01 4199562                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f3bc5334000-7f3bc5534000 ---p 00005000 08:01 4199562                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f3bc5534000-7f3bc5535000 r--p 00005000 08:01 4199562                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f3bc5535000-7f3bc5536000 rw-p 00006000 08:01 4199562                    /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7f3bc5536000-7f3bc5538000 r-xp 00000000 08:01 4198928                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f3bc5538000-7f3bc5737000 ---p 00002000 08:01 4198928                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f3bc5737000-7f3bc5738000 r--p 00001000 08:01 4198928                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f3bc5738000-7f3bc5739000 rw-p 00002000 08:01 4198928                    /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7f3bc5739000-7f3bc573a000 ---p 00000000 00:00 0 
7f3bc573a000-7f3bc593a000 rw-p 00000000 00:00 0 
7f3bc593a000-7f3bc593b000 ---p 00000000 00:00 0 
7f3bc593b000-7f3bc5b3b000 rw-p 00000000 00:00 0 
7f3bc5b3b000-7f3bc5b3c000 ---p 00000000 00:00 0 
7f3bc5b3c000-7f3bc5d3c000 rw-p 00000000 00:00 0 
7f3bc5d3c000-7f3bc5d3d000 ---p 00000000 00:00 0 
7f3bc5d3d000-7f3bc5f3d000 rw-p 00000000 00:00 0 
7f3bc5f3d000-7f3bc5f3e000 ---p 00000000 00:00 0 
7f3bc5f3e000-7f3bc613e000 rw-p 00000000 00:00 0 
7f3bc613e000-7f3bc6149000 r-xp 00000000 08:01 4199564                    /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f3bc6149000-7f3bc6348000 ---p 0000b000 08:01 4199564                    /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f3bc6348000-7f3bc6349000 r--p 0000a000 08:01 4199564                    /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f3bc6349000-7f3bc634a000 rw-p 0000b000 08:01 4199564                    /lib/x86_64-linux-gnu/libnss_nis-2.23.so
7f3bc634a000-7f3bc6360000 r-xp 00000000 08:01 4199574                    /lib/x86_64-linux-gnu/libnsl-2.23.so
7f3bc6360000-7f3bc655f000 ---p 00016000 08:01 4199574                    /lib/x86_64-linux-gnu/libnsl-2.23.so
7f3bc655f000-7f3bc6560000 r--p 00015000 08:01 4199574                    /lib/x86_64-linux-gnu/libnsl-2.23.so
7f3bc6560000-7f3bc6561000 rw-p 00016000 08:01 4199574                    /lib/x86_64-linux-gnu/libnsl-2.23.so
7f3bc6561000-7f3bc6563000 rw-p 00000000 00:00 0 
7f3bc6563000-7f3bc656b000 r-xp 00000000 08:01 4199586                    /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f3bc656b000-7f3bc676a000 ---p 00008000 08:01 4199586                    /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f3bc676a000-7f3bc676b000 r--p 00007000 08:01 4199586                    /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f3bc676b000-7f3bc676c000 rw-p 00008000 08:01 4199586                    /lib/x86_64-linux-gnu/libnss_compat-2.23.so
7f3bc676c000-7f3bc6777000 r-xp 00000000 08:01 4199578                    /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f3bc6777000-7f3bc6976000 ---p 0000b000 08:01 4199578                    /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f3bc6976000-7f3bc6977000 r--p 0000a000 08:01 4199578                    /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f3bc6977000-7f3bc6978000 rw-p 0000b000 08:01 4199578                    /lib/x86_64-linux-gnu/libnss_files-2.23.so
7f3bc6978000-7f3bc697e000 rw-p 00000000 00:00 0 
7f3bc697e000-7f3bc6985000 r-xp 00000000 08:01 5513482                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3bc6985000-7f3bc6b84000 ---p 00007000 08:01 5513482                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3bc6b84000-7f3bc6b85000 r--p 00006000 08:01 5513482                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3bc6b85000-7f3bc6b86000 rw-p 00007000 08:01 5513482                    /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f3bc6b86000-7f3bc6b8f000 r-xp 00000000 08:01 4199572                    /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f3bc6b8f000-7f3bc6d8e000 ---p 00009000 08:01 4199572                    /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f3bc6d8e000-7f3bc6d8f000 r--p 00008000 08:01 4199572                    /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f3bc6d8f000-7f3bc6d90000 rw-p 00009000 08:01 4199572                    /lib/x86_64-linux-gnu/libcrypt-2.23.so
7f3bc6d90000-7f3bc6dbe000 rw-p 00000000 00:00 0 
7f3bc6dbe000-7f3bc6e8d000 r-xp 00000000 08:01 5510127                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3bc6e8d000-7f3bc708c000 ---p 000cf000 08:01 5510127                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3bc708c000-7f3bc708f000 r--p 000ce000 08:01 5510127                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3bc708f000-7f3bc7091000 rw-p 000d1000 08:01 5510127                    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7f3bc7091000-7f3bc7092000 rw-p 00000000 00:00 0 
7f3bc7092000-7f3bc70d9000 r-xp 00000000 08:01 5514391                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3bc70d9000-7f3bc72d8000 ---p 00047000 08:01 5514391                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3bc72d8000-7f3bc72da000 r--p 00046000 08:01 5514391                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3bc72da000-7f3bc72dc000 rw-p 00048000 08:01 5514391                    /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f3bc72dc000-7f3bc72dd000 rw-p 00000000 00:00 0 
7f3bc72dd000-7f3bc72eb000 r-xp 00000000 08:01 5523342                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3bc72eb000-7f3bc74ea000 ---p 0000e000 08:01 5523342                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3bc74ea000-7f3bc74eb000 r--p 0000d000 08:01 5523342                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3bc74eb000-7f3bc74ec000 rw-p 0000e000 08:01 5523342                    /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7f3bc74ec000-7f3bc7513000 r-xp 00000000 08:01 5523347                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3bc7513000-7f3bc7713000 ---p 00027000 08:01 5523347                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3bc7713000-7f3bc7714000 r--p 00027000 08:01 5523347                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3bc7714000-7f3bc7715000 rw-p 00028000 08:01 5523347                    /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f3bc7715000-7f3bc7794000 r-xp 00000000 08:01 5513615                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f3bc7794000-7f3bc7993000 ---p 0007f000 08:01 5513615                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f3bc7993000-7f3bc7994000 r--p 0007e000 08:01 5513615                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f3bc7994000-7f3bc7995000 rw-p 0007f000 08:01 5513615                    /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7f3bc7995000-7f3bc79c7000 r-xp 00000000 08:01 5509104                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f3bc79c7000-7f3bc7bc6000 ---p 00032000 08:01 5509104                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f3bc7bc6000-7f3bc7bc7000 r--p 00031000 08:01 5509104                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f3bc7bc7000-7f3bc7bc8000 rw-p 00032000 08:01 5509104                    /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7f3bc7bc8000-7f3bc7bfc000 r-xp 00000000 08:01 5509107                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f3bc7bfc000-7f3bc7dfb000 ---p 00034000 08:01 5509107                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f3bc7dfb000-7f3bc7dfd000 r--p 00033000 08:01 5509107                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f3bc7dfd000-7f3bc7dfe000 rw-p 00035000 08:01 5509107                    /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
7f3bc7dfe000-7f3bc7e0f000 r-xp 00000000 08:01 5505213                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3bc7e0f000-7f3bc800f000 ---p 00011000 08:01 5505213                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3bc800f000-7f3bc8010000 r--p 00011000 08:01 5505213                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3bc8010000-7f3bc8011000 rw-p 00012000 08:01 5505213                    /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7f3bc8011000-7f3bc8042000 r-xp 00000000 08:01 5509928                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f3bc8042000-7f3bc8242000 ---p 00031000 08:01 5509928                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f3bc8242000-7f3bc8243000 r--p 00031000 08:01 5509928                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f3bc8243000-7f3bc8244000 rw-p 00032000 08:01 5509928                    /usr/lib/x86_64-linux-gnu/libidn.so.11.6.15
7f3bc8244000-7f3bc829d000 r-xp 00000000 08:01 5514504                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3bc829d000-7f3bc849c000 ---p 00059000 08:01 5514504                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3bc849c000-7f3bc84a6000 r--p 00058000 08:01 5514504                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3bc84a6000-7f3bc84a8000 rw-p 00062000 08:01 5514504                    /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7f3bc84a8000-7f3bc84c1000 r-xp 00000000 08:01 4194332                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3bc84c1000-7f3bc86c0000 ---p 00019000 08:01 4194332                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3bc86c0000-7f3bc86c1000 r--p 00018000 08:01 4194332                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3bc86c1000-7f3bc86c2000 rw-p 00019000 08:01 4194332                    /lib/x86_64-linux-gnu/libz.so.1.2.8
7f3bc86c2000-7f3bc86d7000 r-xp 00000000 08:01 5505376                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3bc86d7000-7f3bc88d6000 ---p 00015000 08:01 5505376                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3bc88d6000-7f3bc88d7000 r--p 00014000 08:01 5505376                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3bc88d7000-7f3bc88d8000 rw-p 00015000 08:01 5505376                    /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f3bc88d8000-7f3bc8908000 r-xp 00000000 08:01 5513189                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3bc8908000-7f3bc8b08000 ---p 00030000 08:01 5513189                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3bc8b08000-7f3bc8b09000 r--p 00030000 08:01 5513189                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3bc8b09000-7f3bc8b0a000 rw-p 00031000 08:01 5513189                    /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f3bc8b0a000-7f3bc8b0b000 rw-p 00000000 00:00 0 
7f3bc8b0b000-7f3bc8baa000 r-xp 00000000 08:01 5523338                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3bc8baa000-7f3bc8da9000 ---p 0009f000 08:01 5523338                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3bc8da9000-7f3bc8daa000 r--p 0009e000 08:01 5523338                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3bc8daa000-7f3bc8dad000 rw-p 0009f000 08:01 5523338                    /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f3bc8dad000-7f3bc8e31000 r-xp 00000000 08:01 5523353                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f3bc8e31000-7f3bc9030000 ---p 00084000 08:01 5523353                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f3bc9030000-7f3bc9033000 r--p 00083000 08:01 5523353                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f3bc9033000-7f3bc9036000 rw-p 00086000 08:01 5523353                    /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f3bc9036000-7f3bc9037000 rw-p 00000000 00:00 0 
7f3bc9037000-7f3bc903f000 r-xp 00000000 08:01 5513840                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3bc903f000-7f3bc923e000 ---p 00008000 08:01 5513840                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3bc923e000-7f3bc923f000 r--p 00007000 08:01 5513840                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3bc923f000-7f3bc9240000 rw-p 00008000 08:01 5513840                    /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f3bc9240000-7f3bc9243000 r-xp 00000000 08:01 4198884                    /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7f3bc9243000-7f3bc9442000 ---p 00003000 08:01 4198884                    /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7f3bc9442000-7f3bc9443000 r--p 00002000 08:01 4198884                    /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7f3bc9443000-7f3bc9444000 rw-p 00003000 08:01 4198884                    /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7f3bc9444000-7f3bc9567000 r-xp 00000000 08:01 5505921                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f3bc9567000-7f3bc9766000 ---p 00123000 08:01 5505921                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f3bc9766000-7f3bc9771000 r--p 00122000 08:01 5505921                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f3bc9771000-7f3bc9773000 rw-p 0012d000 08:01 5505921                    /usr/lib/x86_64-linux-gnu/libgnutls.so.30.6.2
7f3bc9773000-7f3bc9774000 rw-p 00000000 00:00 0 
7f3bc9774000-7f3bc97b1000 r-xp 00000000 08:01 5523361                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f3bc97b1000-7f3bc99b1000 ---p 0003d000 08:01 5523361                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f3bc99b1000-7f3bc99b2000 r--p 0003d000 08:01 5523361                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f3bc99b2000-7f3bc99b4000 rw-p 0003e000 08:01 5523361                    /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f3bc99b4000-7f3bc99b5000 rw-p 00000000 00:00 0 
7f3bc99b5000-7f3bc99ce000 r-xp 00000000 08:01 5508482                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3bc99ce000-7f3bc9bce000 ---p 00019000 08:01 5508482                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3bc9bce000-7f3bc9bcf000 r--p 00019000 08:01 5508482                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3bc9bcf000-7f3bc9bd0000 rw-p 0001a000 08:01 5508482                    /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7f3bc9bd0000-7f3bc9be7000 r-xp 00000000 08:01 4199570                    /lib/x86_64-linux-gnu/libresolv-2.23.so
7f3bc9be7000-7f3bc9de7000 ---p 00017000 08:01 4199570                    /lib/x86_64-linux-gnu/libresolv-2.23.so
7f3bc9de7000-7f3bc9de8000 r--p 00017000 08:01 4199570                    /lib/x86_64-linux-gnu/libresolv-2.23.so
7f3bc9de8000-7f3bc9de9000 rw-p 00018000 08:01 4199570                    /lib/x86_64-linux-gnu/libresolv-2.23.so
7f3bc9de9000-7f3bc9deb000 rw-p 00000000 00:00 0 
7f3bc9deb000-7f3bc9df8000 r-xp 00000000 08:01 5506897                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f3bc9df8000-7f3bc9ff8000 ---p 0000d000 08:01 5506897                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f3bc9ff8000-7f3bc9ff9000 r--p 0000d000 08:01 5506897                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f3bc9ff9000-7f3bc9ffa000 rw-p 0000e000 08:01 5506897                    /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7f3bc9ffa000-7f3bca004000 r-xp 00000000 08:01 5508815                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f3bca004000-7f3bca203000 ---p 0000a000 08:01 5508815                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f3bca203000-7f3bca204000 r--p 00009000 08:01 5508815                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f3bca204000-7f3bca205000 rw-p 0000a000 08:01 5508815                    /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f3bca205000-7f3bca208000 r-xp 00000000 08:01 4198832                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f3bca208000-7f3bca407000 ---p 00003000 08:01 4198832                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f3bca407000-7f3bca408000 r--p 00002000 08:01 4198832                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f3bca408000-7f3bca409000 rw-p 00003000 08:01 4198832                    /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f3bca409000-7f3bca435000 r-xp 00000000 08:01 5508816                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f3bca435000-7f3bca634000 ---p 0002c000 08:01 5508816                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f3bca634000-7f3bca636000 r--p 0002b000 08:01 5508816                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f3bca636000-7f3bca637000 rw-p 0002d000 08:01 5508816                    /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7f3bca637000-7f3bca638000 rw-p 00000000 00:00 0 
7f3bca638000-7f3bca6fb000 r-xp 00000000 08:01 5507212                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f3bca6fb000-7f3bca8fb000 ---p 000c3000 08:01 5507212                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f3bca8fb000-7f3bca908000 r--p 000c3000 08:01 5507212                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f3bca908000-7f3bca90a000 rw-p 000d0000 08:01 5507212                    /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f3bca90a000-7f3bca957000 r-xp 00000000 08:01 5506901                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f3bca957000-7f3bcab56000 ---p 0004d000 08:01 5506901                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f3bcab56000-7f3bcab58000 r--p 0004c000 08:01 5506901                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f3bcab58000-7f3bcab59000 rw-p 0004e000 08:01 5506901                    /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7f3bcab59000-7f3bcab5b000 rw-p 00000000 00:00 0 
7f3bcab5b000-7f3bcaba2000 r-xp 00000000 08:01 5506824                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7f3bcaba2000-7f3bcada1000 ---p 00047000 08:01 5506824                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7f3bcada1000-7f3bcada3000 r--p 00046000 08:01 5506824                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7f3bcada3000-7f3bcada5000 rw-p 00048000 08:01 5506824                    /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7f3bcada5000-7f3bcaead000 r-xp 00000000 08:01 4199590                    /lib/x86_64-linux-gnu/libm-2.23.so
7f3bcaead000-7f3bcb0ac000 ---p 00108000 08:01 4199590                    /lib/x86_64-linux-gnu/libm-2.23.so
7f3bcb0ac000-7f3bcb0ad000 r--p 00107000 08:01 4199590                    /lib/x86_64-linux-gnu/libm-2.23.so
7f3bcb0ad000-7f3bcb0ae000 rw-p 00108000 08:01 4199590                    /lib/x86_64-linux-gnu/libm-2.23.so
7f3bcb0ae000-7f3bcb26e000 r-xp 00000000 08:01 4199584                    /lib/x86_64-linux-gnu/libc-2.23.so
7f3bcb26e000-7f3bcb46e000 ---p 001c0000 08:01 4199584                    /lib/x86_64-linux-gnu/libc-2.23.so
7f3bcb46e000-7f3bcb472000 r--p 001c0000 08:01 4199584                    /lib/x86_64-linux-gnu/libc-2.23.so
7f3bcb472000-7f3bcb474000 rw-p 001c4000 08:01 4199584                    /lib/x86_64-linux-gnu/libc-2.23.so
7f3bcb474000-7f3bcb478000 rw-p 00000000 00:00 0 
7f3bcb478000-7f3bcb48e000 r-xp 00000000 08:01 4198861                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3bcb48e000-7f3bcb68d000 ---p 00016000 08:01 4198861                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3bcb68d000-7f3bcb68e000 rw-p 00015000 08:01 4198861                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3bcb68e000-7f3bcb6a6000 r-xp 00000000 08:01 4199558                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f3bcb6a6000-7f3bcb8a5000 ---p 00018000 08:01 4199558                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f3bcb8a5000-7f3bcb8a6000 r--p 00017000 08:01 4199558                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f3bcb8a6000-7f3bcb8a7000 rw-p 00018000 08:01 4199558                    /lib/x86_64-linux-gnu/libpthread-2.23.so
7f3bcb8a7000-7f3bcb8ab000 rw-p 00000000 00:00 0 
7f3bcb8ab000-7f3bcb8b2000 r-xp 00000000 08:01 4198980                    /lib/x86_64-linux-gnu/librt-2.23.so
7f3bcb8b2000-7f3bcbab1000 ---p 00007000 08:01 4198980                    /lib/x86_64-linux-gnu/librt-2.23.so
7f3bcbab1000-7f3bcbab2000 r--p 00006000 08:01 4198980                    /lib/x86_64-linux-gnu/librt-2.23.so
7f3bcbab2000-7f3bcbab3000 rw-p 00007000 08:01 4198980                    /lib/x86_64-linux-gnu/librt-2.23.so
7f3bcbab3000-7f3bcbab6000 r-xp 00000000 08:01 4199554                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f3bcbab6000-7f3bcbcb5000 ---p 00003000 08:01 4199554                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f3bcbcb5000-7f3bcbcb6000 r--p 00002000 08:01 4199554                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f3bcbcb6000-7f3bcbcb7000 rw-p 00003000 08:01 4199554                    /lib/x86_64-linux-gnu/libdl-2.23.so
7f3bcbcb7000-7f3bcbcfc000 r-xp 00000000 08:01 5507070                    /usr/lib/x86_64-linux-gnu/libpq.so.5.11
7f3bcbcfc000-7f3bcbefc000 ---p 00045000 08:01 5507070                    /usr/lib/x86_64-linux-gnu/libpq.so.5.11
7f3bcbefc000-7f3bcbeff000 r--p 00045000 08:01 5507070                    /usr/lib/x86_64-linux-gnu/libpq.so.5.11
7f3bcbeff000-7f3bcbf00000 rw-p 00048000 08:01 5507070                    /usr/lib/x86_64-linux-gnu/libpq.so.5.11
7f3bcbf00000-7f3bcc11b000 r-xp 00000000 08:01 4194333                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f3bcc11b000-7f3bcc31a000 ---p 0021b000 08:01 4194333                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f3bcc31a000-7f3bcc336000 r--p 0021a000 08:01 4194333                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f3bcc336000-7f3bcc342000 rw-p 00236000 08:01 4194333                    /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f3bcc342000-7f3bcc345000 rw-p 00000000 00:00 0 
7f3bcc345000-7f3bcc3a3000 r-xp 00000000 08:01 4194367                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f3bcc3a3000-7f3bcc5a3000 ---p 0005e000 08:01 4194367                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f3bcc5a3000-7f3bcc5a7000 r--p 0005e000 08:01 4194367                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f3bcc5a7000-7f3bcc5ae000 rw-p 00062000 08:01 4194367                    /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f3bcc5ae000-7f3bcc5d4000 r-xp 00000000 08:01 4199556                    /lib/x86_64-linux-gnu/ld-2.23.so
7f3bcc795000-7f3bcc7a8000 rw-p 00000000 00:00 0 
7f3bcc7cf000-7f3bcc7d3000 rw-p 00000000 00:00 0 
7f3bcc7d3000-7f3bcc7d4000 r--p 00025000 08:01 4199556                    /lib/x86_64-linux-gnu/ld-2.23.so
7f3bcc7d4000-7f3bcc7d5000 rw-p 00026000 08:01 4199556                    /lib/x86_64-linux-gnu/ld-2.23.so
7f3bcc7d5000-7f3bcc7d6000 rw-p 00000000 00:00 0 
7ffc8568b000-7ffc856ad000 rw-p 00000000 00:00 0                          [stack]
7ffc856b1000-7ffc856b4000 r--p 00000000 00:00 0                          [vvar]
7ffc856b4000-7ffc856b6000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted (core dumped)

Are you seeing any additional errors?

No

Steps to reproduce

Run the program listed above.

Checklist

  • I have already looked over the issue tracker for similar issues.
  • This issue can be reproduced on Rust's stable channel. (Your issue will be
    closed if this is not the case)
@weiznich
Copy link
Member

Duplicate of #813.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants