Jooks like this never made it to the list when it was sent on May 28th.

In message <20150528165652.GA2489@k8>,
Svyatoslav Mishyn writes:

>(Wed, 27 May 14:03) Warren Young:
>> On May 23, 2015, at 1:25 PM, Svyatoslav Mishyn
>> <j...@openmailbox.org> wrote:
>> > 
>> > /tmp: wget -S http://localhost:8080/reports
>> > --2015-05-23 21:42:12--  http://localhost:8080/reports
>> > Resolving localhost (localhost)... 127.0.0.1
>> > Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
>> > HTTP request sent, awaiting response... No data received.
>> > Retrying.
>> 
>> That works here.

It doesn't for me.

>Finally, I found "why" ;)
>It is just  "CFLAGS=' -O2'".

I also have the /reports url crashing with no output. Recompiling
after changing the top level Makefile to remove -O2 from the TCCFLAGS
makes /reports work. The side effect is to turn off optimization which
isn't great.

This is on Linux mint 17.1 with

   gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) 
   GNU ld (GNU Binutils for Ubuntu) 2.24

Is there a way to run fossil under gdb in single shot mode where it
will listen at a port but not fork a child to handle the request. That
would make debugging this a lot easier rather than trying to chase
across a forking process.

  echo 'GET /fossil/reports HTTP/1.1' | fossil  http ~/fossil_repos/ | less

is the right idea, but

  echo 'GET /fossil/reports HTTP/1.1' | gdb fossil

sends the get to gdb and not to fossil so....

Also is there any logging in fossil thatt I can enable to help debug
where things are actually going wrong?

--
                                -- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.
_______________________________________________
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