Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713348 - net-misc/proxychains-4.12-r1 random crash
Summary: net-misc/proxychains-4.12-r1 random crash
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL: https://github.com/rofl0r/proxychains...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-19 06:44 UTC by Xuefer
Modified: 2020-03-19 18:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xuefer 2020-03-19 06:44:06 UTC
=================================================================
                        Package Settings
=================================================================

net-misc/proxychains-4.12-r1::gentoo was built with the following:
USE="" ABI_X86="(64)"
CFLAGS="-O2 -pipe -pipe -O2 -march=znver1 -Wno-error=varargs -Wno-error=parentheses-equality -flto=thin -ggdb"
CXXFLAGS="-O2 -pipe -Wno-error=varargs -Wno-error=parentheses-equality -flto=thin -ggdb"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg ccache compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox prelink-checksums preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"

i'm running openwrt build concurrently using
$ proxychains -q make -j32  HOST_JOBS=-j32 PKG_JOBS=-j32
(not reproduce without proxychains)

it seems to core dump randomly generating core file
$ find bin -iname core
bin/packages/x86_64/packages/core

$ gdb  staging_dir/host/bin/bash  bin/packages/x86_64/packages/core


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000043e590 in ?? ()
[Current thread is 1 (Thread 0x7ffff7f7b700 (LWP 6355))]
(gdb) bt
#0  0x000000000043e590 in ?? ()
#1  0x00000000004422e3 in ?? ()
#2  <signal handler called>
#3  0x00007ffff7e2dfef in select () from /lib64/libc.so.6
#4  0x00007ffff7f82471 in wait_data (readfd=<optimized out>) at src/allocator_thread.c:164
#5  getmessage (dir=<optimized out>, hdr=0x7ffff7f7ad98, data=0x7ffff7f7adc8) at src/allocator_thread.c:192
#6  0x00007ffff7f826a2 in threadfunc (x=<optimized out>) at src/allocator_thread.c:210
#7  0x00007ffff7d0c508 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff7e3757f in clone () from /lib64/libc.so.6

(gdb) bt full
#0  0x000000000043e590 in ?? ()
No symbol table info available.
#1  0x00000000004422e3 in ?? ()
No symbol table info available.
#2  <signal handler called>
No symbol table info available.
#3  0x00007ffff7e2dfef in select () from /lib64/libc.so.6
No symbol table info available.
#4  0x00007ffff7f82471 in wait_data (readfd=<optimized out>) at src/allocator_thread.c:164
        fds = {fds_bits = {2147483648, 0 <repeats 15 times>}}
        ret = <optimized out>
        __d1 = <optimized out>
        __d0 = <optimized out>
        emsg = <optimized out>
        e = <optimized out>
        x = <optimized out>
#5  getmessage (dir=<optimized out>, hdr=0x7ffff7f7ad98, data=0x7ffff7f7adc8) at src/allocator_thread.c:192
        readfd = {0x7ffff7fcc7c8 <req_pipefd>, 0x7ffff7fcc7d0 <resp_pipefd>}
        ret = <optimized out>
#6  0x00007ffff7f826a2 in threadfunc (x=<optimized out>) at src/allocator_thread.c:210
        msg = {msgtype = ATM_GETIP, datalen = 0}
        ret = <optimized out>
        readbuf = <optimized out>
#7  0x00007ffff7d0c508 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#8  0x00007ffff7e3757f in clone () from /lib64/libc.so.6
No symbol table info available.
(gdb)
Comment 1 Jonas Stein gentoo-dev 2020-03-19 17:46:03 UTC
please check upstream tickets and link the matching one here if one exists or create a new one.
https://github.com/rofl0r/proxychains-ng/issues