Re: [fossil-users] TH1 bomb

2013-05-08 Thread Sergei Gavrikov
On Wed, 8 May 2013, Stephan Beal wrote: > On Wed, May 8, 2013 at 6:37 PM, Stephan Beal wrote: > _Seems_ (without having looked at the code yet) to be an > over-eager loop in Th_ErrorMessage. i'll have a look at it this > evening. > > > My suspicion was wrong but the backtrace

Re: [fossil-users] TH1 bomb

2013-05-08 Thread Stephan Beal
On Wed, May 8, 2013 at 6:59 PM, Stephan Beal wrote: > [stephan@host:~/cvs/fossil/fossil]$ ./fossil test-th-eval info > TH_ERROR: Expected sub-command > [stephan@host:~/cvs/fossil/fossil]$ ./fossil test-th-eval 'info exists' TH_ERROR: wrong # args: should be "info exists var" [stephan@host:~/cvs/

Re: [fossil-users] TH1 bomb

2013-05-08 Thread Stephan Beal
On Wed, May 8, 2013 at 6:37 PM, Stephan Beal wrote: > _Seems_ (without having looked at the code yet) to be an over-eager loop > in Th_ErrorMessage. i'll have a look at it this evening. > My suspicion was wrong but the backtrace lead to the problem: out-of-bounds access to an array element. This

Re: [fossil-users] TH1 bomb

2013-05-08 Thread Stephan Beal
On Wed, May 8, 2013 at 6:04 PM, Lluís Batlle i Rossell wrote: > I see the same. i suspected it was recursion, but gdb proves me wrong: [stephan@host:~/cvs/fossil/fossil]$ ./fossil test-th-eval info ... Program received signal SIGSEGV, Segmentation fault. __memcpy_ssse3_back () at ../sysdeps/x86

Re: [fossil-users] TH1 bomb

2013-05-08 Thread Lluís Batlle i Rossell
I see the same. On Wed, May 08, 2013 at 07:02:28PM +0300, Sergei Gavrikov wrote: > Caught by a chance (try evaluate "info" in TH1 without a sub-command) > > % ./fossil test-th-eval info ;# bomb (100% cpu/mem usage) > Segmentation fault > > Is it reproducible? > > More pain for a server > >

[fossil-users] TH1 bomb

2013-05-08 Thread Sergei Gavrikov
Caught by a chance (try evaluate "info" in TH1 without a sub-command) % ./fossil test-th-eval info ;# bomb (100% cpu/mem usage) Segmentation fault Is it reproducible? More pain for a server /admin_th1 TH1: [info ] [ ] [ ]