Re: [fossil-users] fossil server for timeline will return empty result for some parameters max
I wasn't sure if my attachment made it through the mailing list. Is there an issue/report/task created for this which I can continue following instead of through the mailing list? I couldn't figure out how to create an issue on the fossil-scm site. On Mar 18, 2015, at 10:30 AM, die.drachen die.drac...@gmail.com wrote: I attached the output (using lldb instead of gdb). fossil-debug.txt On Mar 18, 2015, at 8:12 AM, Richard Hipp d...@sqlite.org wrote: On 3/18/15, die.drachen die.drac...@gmail.com wrote: Unfortunately I'm unable to distribute the repo, which is also quite large (~730mb .fossil file, 93k commits). Are there additional measures I can take to get diagnostic information? Compile your own Fossil from trunk sources, using options -O0 -g. Then run gdb fossil and within gdb type: run test-http REPOFILENAME (filling in the appropriate filename, of course). There will be no prompt, but Fossil is waiting for input at this point. Type: GET /timeline?n=421y=all with no leading spaces and the press Enter twice. When you hit the error, type bt and send me the output. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil server for timeline will return empty result for some parameters max
On 3/18/15, die.drachen die.drac...@gmail.com wrote: Unfortunately I'm unable to distribute the repo, which is also quite large (~730mb .fossil file, 93k commits). Are there additional measures I can take to get diagnostic information? Compile your own Fossil from trunk sources, using options -O0 -g. Then run gdb fossil and within gdb type: run test-http REPOFILENAME (filling in the appropriate filename, of course). There will be no prompt, but Fossil is waiting for input at this point. Type: GET /timeline?n=421y=all with no leading spaces and the press Enter twice. When you hit the error, type bt and send me the output. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil server for timeline will return empty result for some parameters max
I attached the output (using lldb instead of gdb). $ lldb fossil (lldb) target create fossil Current executable set to 'fossil' (x86_64). (lldb) run test-http mimjava.fossil Process 87976 launched: '/.../fossil' (x86_64) GET /timeline?n=421y=all Process 87976 stopped * thread #1: tid = 0x38540d, 0x00010004a092 fossil`graph_finish(p=0x000100700f70, omitDescenders=0) + 2850 at graph.c:537, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) frame #0: 0x00010004a092 fossil`graph_finish(p=0x000100700f70, omitDescenders=0) + 2850 at graph.c:537 534** Insert merge rails and merge arrows 535*/ 536for(pRow=p-pFirst; pRow; pRow=pRow-pNext){ - 537 for(i=1; ipRow-nParent; i++){ 538int parentRid = pRow-aParent[i]; 539pDesc = hashFind(p, parentRid); 540if( pDesc==0 ){ (lldb) bt * thread #1: tid = 0x38540d, 0x00010004a092 fossil`graph_finish(p=0x000100700f70, omitDescenders=0) + 2850 at graph.c:537, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT) * frame #0: 0x00010004a092 fossil`graph_finish(p=0x000100700f70, omitDescenders=0) + 2850 at graph.c:537 frame #1: 0x0001000afe26 fossil`www_print_timeline(pQuery=0x7fff5fbff8a0, tmFlags=12, zThisUser=0x, zThisTag=0x, selectedRid=-999, xExtra=0x) + 6374 at timeline.c:582 frame #2: 0x0001000b28bc fossil`page_timeline + 8716 at timeline.c:1670 frame #3: 0x0001000664f7 fossil`process_one_web_page(zNotFound=0x, pFileGlob=0x, allowRepoList=0) + 2823 at main.c:1768 frame #4: 0x000100067306 fossil`cmd_test_http + 278 at main.c:2212 frame #5: 0x000100062eb0 fossil`main(argc=3, argv=0x7fff5fbffab8) + 2384 at main.c:788 frame #6: 0x7fff8f05a5fd libdyld.dylib`start + 1 frame #7: 0x7fff8f05a5fd libdyld.dylib`start + 1 (lldb) On Mar 18, 2015, at 8:12 AM, Richard Hipp d...@sqlite.org wrote: On 3/18/15, die.drachen die.drac...@gmail.com wrote: Unfortunately I'm unable to distribute the repo, which is also quite large (~730mb .fossil file, 93k commits). Are there additional measures I can take to get diagnostic information? Compile your own Fossil from trunk sources, using options -O0 -g. Then run gdb fossil and within gdb type: run test-http REPOFILENAME (filling in the appropriate filename, of course). There will be no prompt, but Fossil is waiting for input at this point. Type: GET /timeline?n=421y=all with no leading spaces and the press Enter twice. When you hit the error, type bt and send me the output. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil server for timeline will return empty result for some parameters max
Unfortunately I'm unable to distribute the repo, which is also quite large (~730mb .fossil file, 93k commits). Are there additional measures I can take to get diagnostic information? Christopher On Mar 17, 2015, at 7:09 PM, Richard Hipp d...@sqlite.org wrote: On 3/17/15, die.drachen die.drac...@gmail.com wrote: With fossil 1.31 [2e7c40dbdd] on OSX I ran locally: $ fossil server Then on the timeline page for the Max field, when I enter values between 421-449, the server doesn't respond. Using curl: $ curl http://localhost:8080/timeline?n=421y=allv=0 http://localhost:8080/timeline?n=421y=allv=0 curl: (52) Empty reply from server Probably the code to compute the graph is segfaulting. Can you send me the repo that gives this error? Using values n421, n449 appear to work without problem. One thing I notice is that on the webpage for values 421 the graph appears, but values 449 there is no graph (presumably some threshold of complexity in the branches). I couldn't reproduce any problems when using the fossil timeline command, with parameters (not sure how y, v would map to parameters). Additionally, I couldn't find any documentation about where logs would go when running fossil server. I couldn't find logs anywhere to see if there was an issue. I saw a few other posts about timeline being problematic, but nothing that seemed to describe this same problem. Christopher -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil server for timeline will return empty result for some parameters max
Thus said die.drachen die.drac...@gmail.com on Wed, 18 Mar 2015 00:58:41 -0400: Unfortunately I'm unable to distribute the repo, which is also quite large (~730mb .fossil file, 93k commits). Are there additional measures I can take to get diagnostic information? You could ensure that core files are allowed (check ulimit -c in the environment where you start Fossil server). Then watch for a core file and use gdb to provide the output of backtrace: $ gdb fossil fossil.core bt ... Thanks, Andy -- TAI64 timestamp: 4000550907c5 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil server for timeline will return empty result for some parameters max
On 3/17/15, die.drachen die.drac...@gmail.com wrote: With fossil 1.31 [2e7c40dbdd] on OSX I ran locally: $ fossil server Then on the timeline page for the Max field, when I enter values between 421-449, the server doesn't respond. Using curl: $ curl http://localhost:8080/timeline?n=421y=allv=0 http://localhost:8080/timeline?n=421y=allv=0 curl: (52) Empty reply from server Probably the code to compute the graph is segfaulting. Can you send me the repo that gives this error? Using values n421, n449 appear to work without problem. One thing I notice is that on the webpage for values 421 the graph appears, but values 449 there is no graph (presumably some threshold of complexity in the branches). I couldn't reproduce any problems when using the fossil timeline command, with parameters (not sure how y, v would map to parameters). Additionally, I couldn't find any documentation about where logs would go when running fossil server. I couldn't find logs anywhere to see if there was an issue. I saw a few other posts about timeline being problematic, but nothing that seemed to describe this same problem. Christopher -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users