Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-22 Thread Toralf Förster
On 11/06/2013 10:31 PM, Richard Weinberger wrote: Can you please ask gdb for the value of offset? With this diff against latest Linus tree v3.12-11355-g57498f9 : diff --git a/lib/radix-tree.c b/lib/radix-tree.c index 7811ed3..54d9802 100644 --- a/lib/radix-tree.c +++ b/lib/radix-tree.c @@

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-17 Thread Toralf Förster
On 11/06/2013 10:31 PM, Richard Weinberger wrote: Am 06.11.2013 22:18, schrieb Toralf Förster: On 11/06/2013 05:06 PM, Konstantin Khlebnikov wrote: In this case it must stop after scanning whole tree in line: /* Overflow after ~0UL */ if (!index) return NULL; A fresh current example

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-10 Thread stian
You cannot build Linux with -O1/O0. Try printing the value using printk... Or even printf(), since this an UML kernel. Stian -- November Webinars for C, C++, Fortran Developers Accelerate application performance with

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-10 Thread Richard Weinberger
Am 10.11.2013 16:14, schrieb Toralf Förster: On 11/06/2013 10:31 PM, Richard Weinberger wrote: Am 06.11.2013 22:18, schrieb Toralf Förster: On 11/06/2013 05:06 PM, Konstantin Khlebnikov wrote: In this case it must stop after scanning whole tree in line: /* Overflow after ~0UL */ if (!index)

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-09 Thread Toralf Förster
On 11/06/2013 10:31 PM, Richard Weinberger wrote: Am 06.11.2013 22:18, schrieb Toralf Förster: On 11/06/2013 05:06 PM, Konstantin Khlebnikov wrote: In this case it must stop after scanning whole tree in line: /* Overflow after ~0UL */ if (!index) return NULL; A fresh current example

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-09 Thread Richard Weinberger
Am 09.11.2013 20:07, schrieb Toralf Förster: On 11/06/2013 10:31 PM, Richard Weinberger wrote: Am 06.11.2013 22:18, schrieb Toralf Förster: On 11/06/2013 05:06 PM, Konstantin Khlebnikov wrote: In this case it must stop after scanning whole tree in line: /* Overflow after ~0UL */ if (!index)

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-06 Thread Toralf Förster
On 11/06/2013 05:06 PM, Konstantin Khlebnikov wrote: In this case it must stop after scanning whole tree in line: /* Overflow after ~0UL */ if (!index) return NULL; A fresh current example with latest git tree shows that lines 769 and 770 do alternate : tfoerste@n22 ~/devel/linux $

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-06 Thread Richard Weinberger
Am 06.11.2013 22:18, schrieb Toralf Förster: On 11/06/2013 05:06 PM, Konstantin Khlebnikov wrote: In this case it must stop after scanning whole tree in line: /* Overflow after ~0UL */ if (!index) return NULL; A fresh current example with latest git tree shows that lines 769 and 770 do

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-11-06 Thread Konstantin Khlebnikov
In this case it must stop after scanning whole tree in line: /* Overflow after ~0UL */ if (!index) return NULL; -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs in radix_tree_next_chunk()

2013-10-30 Thread Toralf Förster
On 10/22/2013 07:29 PM, Richard Weinberger wrote: Am 22.10.2013 18:23, schrieb Toralf Förster: On 10/22/2013 06:12 PM, Richard Weinberger wrote: On Tue, Oct 22, 2013 at 5:16 PM, Toralf Förster toralf.foers...@gmx.de wrote: When I fuzz testing a 32 bit UML at a 32 bit host (guest