current trinity gives glibc errors
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
When I run latest trinity at a stable 32 Bit Gentoo Linux user mode linux image I do now get :
trinity -q -N 10000 -C 2 -x mremap
...
[child0:1763] init_module (128) returned ENOSYS, marking as inactive. [child0:1763] ipc (117) returned ENOSYS, marking as inactive. [main] Random reseed: 3211420801
[child0:1765] ioperm (101) returned ENOSYS, marking as inactive. [child0:1765] set_robust_list (311) returned ENOSYS, marking as inactive. [child0:1765] move_pages (317) returned ENOSYS, marking as inactive. *** glibc detected *** trinity: double free or corruption (out): 0x085bc000 *** ======= Backtrace: =========
/lib/libc.so.6(+0x76552)[0x400a0552]
trinity[0x805930e]
trinity[0x8052085]
trinity[0x805508c]
trinity[0x804af91]
trinity[0x804ead5]
trinity[0x804a605] /lib/libc.so.6(__libc_start_main+0xf5)[0x40046ad5] trinity[0x804ab15]
======= Memory map: ========
00100000-00102000 r-xp 00000000 00:00 0
08048000-0806d000 r-xp 00000000 62:00 88380 /usr/bin/trinity 0806d000-0806e000 r--p 00024000 62:00 88380 /usr/bin/trinity 0806e000-080cb000 rw-p 00025000 62:00 88380 /usr/bin/trinity 080cb000-084eb000 rw-p 00000000 00:00 0 [heap] 084eb000-085b5000 rw-p 00000000 00:00 0 [heap] 085b5000-08783000 rw-p 00000000 00:00 0 [heap] 40000000-40020000 r-xp 00000000 62:00 88339 /lib/ld-2.16.so 40020000-40021000 r--p 0001f000 62:00 88339 /lib/ld-2.16.so 40021000-40022000 rw-p 00020000 62:00 88339 /lib/ld-2.16.so
40022000-40026000 rw-p 00000000 00:00 0
40026000-40028000 rw-s 00000000 00:04 83577 /dev/zero (deleted)
40028000-40029000 rw-p 00000000 00:00 0
40029000-4002a000 rw-p 00000000 00:00 0
4002a000-401cb000 r-xp 00000000 62:00 88343 /lib/libc-2.16.so 401cb000-401cc000 ---p 001a1000 62:00 88343 /lib/libc-2.16.so 401cc000-401ce000 r--p 001a1000 62:00 88343 /lib/libc-2.16.so 401ce000-401cf000 rw-p 001a3000 62:00 88343 /lib/libc-2.16.so 401cf000-401d3000 rw-p 00000000 00:00 0 401d3000-4022a000 rw-s 00000000 00:04 83575 /dev/zero (deleted) 4022a000-40248000 ---s 00000000 00:04 83576 /dev/zero (deleted) 40248000-40254000 rw-s 0001e000 00:04 83576 /dev/zero (deleted) 40254000-40272000 ---s 0002a000 00:04 83576 /dev/zero (deleted) 40272000-40274000 r--s 00000000 00:04 83578 /dev/zero (deleted) 40274000-40276000 -w-s 00000000 00:04 83579 /dev/zero (deleted) 40276000-40376000 rw-s 00000000 00:04 83580 /dev/zero (deleted) 40376000-40476000 r--s 00000000 00:04 83581 /dev/zero (deleted) 40476000-40576000 -w-s 00000000 00:04 83582 /dev/zero (deleted) 40576000-40776000 rw-s 00000000 00:04 83583 /dev/zero (deleted) 40776000-40976000 r--s 00000000 00:04 83584 /dev/zero (deleted) 40976000-40b76000 -w-s 00000000 00:04 83585 /dev/zero (deleted) 40b76000-40f76000 rw-s 00000000 00:04 83586 /dev/zero (deleted) 40f76000-41376000 r--s 00000000 00:04 83587 /dev/zero (deleted) 41376000-41776000 -w-s 00000000 00:04 83588 /dev/zero (deleted) 41776000-42176000 rw-s 00000000 00:04 83589 /dev/zero (deleted) 42176000-42b76000 r--s 00000000 00:04 83590 /dev/zero (deleted) 42b76000-43576000 -w-s 00000000 00:04 83591 /dev/zero (deleted) 4357d000-43597000 r-xp 00000000 62:00 85032 /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/libgcc_s.so.1 43597000-43598000 r--p 00019000 62:00 85032 /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/libgcc_s.so.1 43598000-43599000 rw-p 0001a000 62:00 85032 /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/libgcc_s.so.1
bf7e3000-bf804000 rw-p 00000000 00:00 0
[main] Random reseed: 3271769164
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlK0WYUACgkQxOrN3gB26U4+IwD+IqBcRpU9nQud5F1omd0EPWki Hqvx4eBlZcKgJg19zwQA/1ypItkbJ/qTw6aQtrb/6U832kd7BF4mUfBiWwELD0O2 =0UZq
-----END PGP SIGNATURE-----
Quoted 18 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256When I run latest trinity at a stable 32 Bit Gentoo Linux user mode linux image I do now get :
trinity -q -N 10000 -C 2 -x mremap
...
[child0:1763]
init_module(128) returned ENOSYS, marking as inactive. [child0:1763] ipc (117) returned ENOSYS, marking as inactive. [main] Random reseed: 3211420801
[child0:1765] ioperm (101) returned ENOSYS, marking as inactive. [child0:1765]set_robust_list(311) returned ENOSYS, marking as inactive. [child0:1765]move_pages(317) returned ENOSYS, marking as inactive. *** glibc detected *** trinity: double free or corruption (out):0x085bc000*** ======= Backtrace: =========
/lib/libc.so.6(+0x76552)[0x400a0552]
Quoted 8 lines
trinity[0x805930e]
trinity[0x8052085]
trinity[0x805508c]
trinity[0x804af91]
trinity[0x804ead5]
trinity[0x804a605] /lib/libc.so.6(__libc_start_main+0xf5)[0x40046ad5] trinity[0x804ab15]
If you could narrow down which syscalls are causing this it would help a lot. scripts/find.sh might give you some ideas.
Dave
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 4 lines · Dave Jones
If you could narrow down which syscalls are causing this it would help a lot.
scripts/find.shmight give you some ideas.Dave
will do - where's the variable $i (line 32 and 33) defined in find.sh ?
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlK0p0QACgkQxOrN3gB26U5b6wD/bedr1F1Dk3Kzvtdjb2gZsV+Q iU7ulQyaINKX3+ZHt5kA/jTFU1HmnJhQ2fO/s4HZTOCML1FDzp7BQsMRHxlpEOvW =L3GK
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 24 lines · Dave Jones
Quoted 9 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
When I run latest trinity at a stable 32 Bit Gentoo Linux user mode linux image I do now get :
trinity -q -N 10000 -C 2 -x mremap
...
Quoted 13 lines
[child0:1763]
init_module(128) returned ENOSYS, marking as inactive. [child0:1763] ipc (117) returned ENOSYS, marking as inactive. [main] Random reseed: 3211420801 [child0:1765] ioperm
(101) returned ENOSYS, marking as inactive. [child0:1765]set_robust_list(311) returned ENOSYS, marking as inactive. [child0:1765]move_pages(317) returned ENOSYS, marking as inactive. *** glibc detected *** trinity: double free or corruption (out):0x085bc000*** ======= Backtrace: ========= /lib/libc.so.6(+0x76552)[0x400a0552] trinity[0x805930e] trinity[0x8052085] trinity[0x805508c] trinity[0x804af91] trinity[0x804ead5] trinity[0x804a605] /lib/libc.so.6(__libc_start_main+0xf5)[0x40046ad5] trinity[0x804ab15]
Quoted 6 lines
If you could narrow down which syscalls are causing this it would help a lot.
scripts/find.shmight give you some ideas.Dave
It is this :
trinity -q -l off -N 1 -c move_pages
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlK0qV8ACgkQxOrN3gB26U6gUwD/WSN2Cvc/pKt1JmDDv4nPreCs 5saJoP1QSw77PWP5xogBAImklXwHsLqlTA/ASJDQ250kzuwXAC5NzDMl0D5tOfeq =ssCC
-----END PGP SIGNATURE-----
Quoted 7 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256Quoted 3 lines · Dave Jones
Quoted 2 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
When I run latest trinity at a stable 32 Bit Gentoo Linux user mode linux image I do now get :
trinity -q -N 10000 -C 2 -x mremap
It is this :
trinity -q -l off -N 1 -c
move_pages
Are you running as root ? Probably best to just -x it for now.
sanitise_move_pages could use rewriting tbh, to use the new maps structs. I'll look at doing that in the new year.
Dave
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 2 lines · Dave Jones
Are you running as root ? Probably best to just -x it for now.
no - always as common user w/o special rights - but will do it
Quoted 2 lines
sanitise_move_pagescould use rewriting tbh, to use the new maps structs. I'll look at doing that in the new year.
thx :-)
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlK0r6QACgkQxOrN3gB26U73kQD+K3fC7dXjjobKKhqyvlT8sJXJ QmAZeiOHNfiRneOY65sA/jE8fE/hcvIeX2AkA+IAo1zejb8UTYpgS8qwzKbv7xZw =EwGM
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 15 lines · Dave Jones
Quoted 14 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256Quoted 8 lines · Dave Jones
Quoted 7 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
When I run latest trinity at a stable 32 Bit Gentoo Linux user mode linux image I do now get :
trinity -q -N 10000 -C 2 -x mremap
It is this :
Quoted 10 lines
Quoted 1 line
trinity -q -l off -N 1 -c
move_pagesAre you running as root ? Probably best to just -x it for now.
sanitise_move_pagescould use rewriting tbh, to use the new maps structs. I'll look at doing that in the new year.Dave
With latest git tree 1.1-946-g7f333fd I cannot blame a single syscall for emitting the glibc error. I tried it with this command line (as a common user) :
$> for sc in trinity -L | grep entrypoint | grep -v AVOID | awk '{ print $3 }' | sort -u; do echo $sc; trinity -q -c $sc -C2 -N 9999 2>&1 | grep -B 4 -A 4 libc; sleep 2; don
So, it is either a combination of 2 or more syscalls (and ofc ML might be a culprit too).
BTW, the tag "v1.3" seems to be a light weight tag, right ? Because git describe" still refers to v1.1-..."
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlK/CEQACgkQxOrN3gB26U4v8QD/d2vnlF6UiT/1+04p7b1uvqxS zWYa1hm4gz5x8oX6/64A/00qgnL3NwgAkia61ENPPLe4pqzYONslgm8vjqby0Kjy =7FS7
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Quoted 13 lines · Dave Jones
Quoted 12 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Quoted 9 lines · Dave Jones
Quoted 7 lines · Toralf Förster
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
When I run latest trinity at a stable 32 Bit Gentoo Linux user mode linux image I do now get :
trinity -q -N 10000 -C 2 -x mremap
Quoted 9 lines
Quoted 3 lines
It is this :
trinity -q -l off -N 1 -c
move_pagesAre you running as root ? Probably best to just -x it for now.
sanitise_move_pagescould use rewriting tbh, to use the new maps structs. I'll look at doing that in the new year.
since today (with 1.1-1102-g4914e9f) it works now again - thx
- --
MfG/Sincerely
Toralf Förster
pgp finger print:1A37 6F99 4A9D 026F 13E2 4DCF C4EA CDDE 0076 E94E -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iF4EAREIAAYFAlMHxQAACgkQxOrN3gB26U6JmQD+MIlNwsJVfDUHNzVpPp4O3+mg lk5ZawRphM124rOFsEUA/30dKQr57nJOLmtppRDPHgqWNkfSrJHn0GxISAhifrjG =l5xU
-----END PGP SIGNATURE-----
Quoted 7 lines · Toralf Förster
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
When I run latest trinity at a stable 32 Bit Gentoo Linux user mode linux image I do now get :
trinity -q -N 10000 -C 2 -x mremap
It is this :
Quoted 8 lines
Quoted 7 lines
Quoted 1 line
trinity -q -l off -N 1 -c
move_pagesAre you running as root ? Probably best to just -x it for now.
sanitise_move_pagescould use rewriting tbh, to use the new maps structs. I'll look at doing that in the new year.since today (with 1.1-1102-g4914e9f) it works now again - thx
good to know. I've still got a bunch of other backtraces to dig through, but that's going to have to wait until next week.
Dave