2015-06-02 1:07 GMT+02:00 Richard Hipp <d...@sqlite.org>:
> Start in an open check-out for the repository that you want to serve.
> (This is not strictly necessary, but it makes things a little easier.)
>  Then do "gdb fossil".  Then "run test-http".  You will not be
> prompted, but Fossil is waiting on an HTTP request.  Enter "GET
> /reports" following pressing Enter twice.  Note that in test-http
> mode, Fossil is forgiving of the HTTP request syntax and allows you to
> omit the HTTP/1.0 at the en dof the first line, for example.

I'm seeing the same problem in /reports. See below. However,
if I remove the -O2 compiler flag from the Makefile, everything
works fine. So, this could be a gcc optimization bug.

$ gcc --version
gcc (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'll see if I can trace this somewhat further, but gdb's "bt" shows nothing :-(

Regards,
          Jan Nijtmans

========================================================
$ gdb ./fossil
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./fossil...done.
(gdb) run test-http
Starting program: ./fossil test-http
[New Thread 8860.0x6d0]
[New Thread 8860.0x1db0]
[New Thread 8860.0x1d38]
[New Thread 8860.0x2200]
GET /reports

      0 [main] fossil 8860 cygwin_exception::open_stackdumpfile:
Dumping stack trace to fossil.exe.stackdump
[Thread 8860.0x1d38 exited with code 35584]
[Thread 8860.0x1db0 exited with code 35584]
[Inferior 1 (process 8860) exited with code 0105400]
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to