pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: seg fault building npm
and here's a more useful backtrace, but the lines are "weird"
(gdb) bt full
#0 0x00007f7ff2d1f3da in _lwp_kill () from /usr/lib/libc.so.12
#1 0x00007f7ff2cfde06 in ?? () from /usr/lib/libc.so.12
#2 0x00007f7ff2cfde20 in __stack_chk_fail () from /usr/lib/libc.so.12
#3 0x0000000000a58b85 in ecp_nistz256_points_mul (group=<optimized out>, r=0x7f7ff5d41880, scalar=<optimized out>, num=<optimized out>,
points=<optimized out>, scalars=<optimized out>, ctx=<optimized out>) at ../deps/openssl/openssl/crypto/ec/ecp_nistz256.c:1377
i = <optimized out>
ret = <optimized out>
no_precomp_for_generator = <optimized out>
p_is_infinity = <optimized out>
j = <optimized out>
p_str = "\222ozð$ky\032\376\275ib\b2\312ô\005\005\070\003ç\036Ù\252}f,\217\352\000\001"
preComputedTable = <optimized out>
pre_comp = <optimized out>
generator = <optimized out>
new_ctx = <optimized out>
new_scalars = <optimized out>
new_points = <optimized out>
idx = <optimized out>
wvalue = <optimized out>
t = {p = {X = {3620154016736348849, 5463021389322159509, 15608699967279702412, 15095580971932690615}, Y = {7871375149979479653,
16561442981532790500, 16522655443155107326, 10173170073108879458}, Z = {15661471133010601322, 6732399098682321652,
17486198675283732482, 5317593264098758191}}, a = {X = {3620154016736348849, 5463021389322159509, 15608699967279702412,
15095580971932690615}, Y = {7871375149979479653, 16561442981532790500, 16522655443155107326, 10173170073108879458}}}
p = {p = {X = {10337162303785170630, 16342864364099802932, 7220185788713705660, 1195762646791238812}, Y = {16287973126867647067,
10686056314997797588, 10365308224681756515, 8323936492554006280}, Z = {4924568919430143826, 14750988170262099888,
15575340555952156248, 2053613390655902591}}, a = {X = {10337162303785170630, 16342864364099802932, 7220185788713705660,
1195762646791238812}, Y = {16287973126867647067, 10686056314997797588, 10365308224681756515, 8323936492554006280}}}
tmp_scalar = <optimized out>
#4 0x0000000000a52db7 in EC_POINTs_mul (group=<optimized out>, r=<optimized out>, scalar=<optimized out>, num=<optimized out>,
points=points@entry=0x7f7fffff30a0, scalars=scalars@entry=0x7f7fffff30a8, ctx=ctx@entry=0x7f7ff5d34e80)
at ../deps/openssl/openssl/crypto/ec/ec_lib.c:927
No locals.
So, it is corrupting the stack and the stack check at the exit of the
function detects this.
Home |
Main Index |
Thread Index |
Old Index