Displaying 6 results from an estimated 6 matches for "generate_random_buff".
Did you mean:
generate_random_buffer
2018 Nov 02
2
Kodi crashes when trying to browse network
On 11/2/18 4:28 PM, Jeremy Allison wrote:
> if you're getting the abort(), then urand_fd == -1.
> If urand_fd != -1 and you're hitting the abort then
> you have a compiler bug.
A compiler bug is also possible. When I have time I'll try to rebuild Samba with -O0
to make sure it isn't an optimization issue.
2018 Nov 03
2
Kodi crashes when trying to browse network
...> > rebuild Samba with -O0 to make sure it isn't an optimization issue.
>
> When I built with -O0 the backtrace changed.
>
> #0 0x00007ff699ec153f in raise () from /lib64/libc.so.6
> #1 0x00007ff699eab895 in abort () from /lib64/libc.so.6
> #2 0x00007ff696b19925 in generate_random_buffer (out=0x7ffe0422a426
> <incomplete sequence \352>,
> len=2) at ../lib/util/genrand.c:50
> #3 0x00007ff699280357 in generate_trn_id ()
> at ../source3/libsmb/namequery.c:249 #4 0x00007ff699283332 in
> name_query_send (mem_ctx=0x55788a265200, ev=0x55788b8424e0,
> name=...
2018 Nov 03
0
Kodi crashes when trying to browse network
.... When I have time I'll try to rebuild Samba with
> -O0 to make sure it isn't an optimization issue.
When I built with -O0 the backtrace changed.
#0 0x00007ff699ec153f in raise () from /lib64/libc.so.6
#1 0x00007ff699eab895 in abort () from /lib64/libc.so.6
#2 0x00007ff696b19925 in generate_random_buffer (out=0x7ffe0422a426 <incomplete
sequence \352>,
len=2) at ../lib/util/genrand.c:50
#3 0x00007ff699280357 in generate_trn_id () at ../source3/libsmb/namequery.c:249
#4 0x00007ff699283332 in name_query_send (mem_ctx=0x55788a265200, ev=0x55788b8424e0,
name=0x7ff69c731e2b "\00...
2018 Nov 03
0
Kodi crashes when trying to browse network
...e it isn't an optimization
> > > issue.
> >
> > When I built with -O0 the backtrace changed.
> >
> > #0 0x00007ff699ec153f in raise () from /lib64/libc.so.6
> > #1 0x00007ff699eab895 in abort () from /lib64/libc.so.6
> > #2 0x00007ff696b19925 in generate_random_buffer (out=0x7ffe0422a426
> > <incomplete sequence \352>,
> > len=2) at ../lib/util/genrand.c:50
> > #3 0x00007ff699280357 in generate_trn_id ()
> > at ../source3/libsmb/namequery.c:249 #4 0x00007ff699283332 in
> > name_query_send (mem_ctx=0x55788a265200, ev=0...
2018 Nov 01
4
Kodi crashes when trying to browse network
...abled and /dev/urandom is chmod' 666.
Any pointers?
Backtrace from samba-client-libs-4.9.1-2.fc29.x86_64:
#0 0x00007fe785c0b53f in raise () from /lib64/libc.so.6
#1 0x00007fe785bf5895 in abort () from /lib64/libc.so.6
#2 0x00007fe782ad97d5 in open_urandom () at ../lib/util/genrand.c:37
#3 generate_random_buffer (out=out at entry=0x7ffeb252b536 ".\025\260\230\027\207\260U",
len=len at entry=2) at ../lib/util/genrand.c:46
#4 0x00007fe78501fc6e in generate_trn_id () at ../source3/libsmb/namequery.c:1276
#5 name_query_send (mem_ctx=<optimized out>, ev=0x55b08717c250,
name=name at...
2018 Nov 02
0
Kodi crashes when trying to browse network
....
>
> Any pointers?
>
> Backtrace from samba-client-libs-4.9.1-2.fc29.x86_64:
> #0 0x00007fe785c0b53f in raise () from /lib64/libc.so.6
> #1 0x00007fe785bf5895 in abort () from /lib64/libc.so.6
> #2 0x00007fe782ad97d5 in open_urandom () at ../lib/util/genrand.c:37
> #3 generate_random_buffer (out=out at entry=0x7ffeb252b536 ".\025\260\230\027\207\260U",
> len=len at entry=2) at ../lib/util/genrand.c:46
The above is deliberate. open of /dev/urandom should never fail.
If it does we have worse problems :-).
https://en.wikipedia.org/wiki//dev/random
"In Unix-like...