Re: [fossil-users] Fossil crashes on Windows

2012-01-13 Thread François Vogel
drh, Your commit 34dc2a4956 regarding this problem does not seem entirely correct to me. The return value &p->aFile[i] should be changed for &pBase->aFile[i] according to my testing (see below). If I'm mistaking, could you please explain my mistake? F. François Vogel said on 13/01/2012 23:1

Re: [fossil-users] Fossil crashes on Windows

2012-01-13 Thread François Vogel
François Vogel said on 13/01/2012 23:10: The loop in which this fossil_stricmp is called is the following: for(i=0; inFile; i++){ if( fossil_stricmp(zName, p->aFile[i].zName)==0 ){ return &p->aFile[i]; } } I would suggest the call to fossil_stricmp should read: fossil_stricmp(zName, pBase->aFi

Re: [fossil-users] Fossil crashes on Windows

2012-01-13 Thread François Vogel
Okay. It crashes in printf.c:fossil_stricmp(const char *zA, const char *zB), because zB is a bad pointer. This is called from manifest.c:manifest_file_find exactly on line 1250, which reads: if( fossil_stricmp(zName, p->aFile[i].zName)==0 ){ (...) Now I'm not understanding a lot to wha

Re: [fossil-users] Fossil crashes on Windows

2012-01-13 Thread François Vogel
François Vogel said on 13/01/2012 22:33: Seems I have built a release version despite CFLAGS = -nologo -MT -O2 -Zi Forgot the linker flags, sorry for the noise. F. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-sc

Re: [fossil-users] Fossil crashes on Windows

2012-01-13 Thread François Vogel
Lluís Batlle i Rossell said on 13/01/2012 22:20: In "Open -> Project", you can choose an exe. Set the arguments in the project, the working directory, and press 'play'. That will happen inside the debugger. Great! I see and have tried. It turns out I did not properly change the makefile.msc t

Re: [fossil-users] Fossil crashes on Windows

2012-01-13 Thread Lluís Batlle i Rossell
On Fri, Jan 13, 2012 at 10:15:27PM +0100, François Vogel wrote: > Out of ideas I'm looking at the debugging of the issue. > > I could compile fossil from source (on Windows, VS 2010). Now, how > can I debug the problem, considering it crashes before I can attach > the debugger to the process? Any

Re: [fossil-users] Fossil crashes on Windows

2012-01-13 Thread François Vogel
Out of ideas I'm looking at the debugging of the issue. I could compile fossil from source (on Windows, VS 2010). Now, how can I debug the problem, considering it crashes before I can attach the debugger to the process? Any advice, perhaps? Thanks, F. fvogeln...@free.fr said on 11/01/2012 17

Re: [fossil-users] Fossil crashes on Windows

2012-01-11 Thread fvogelnew1
the solution suggested in this message, but at no avail. Francois -Original Message- De: "Mark Janssen" À: "Fossil SCM user's discussion" Envoyé: Mercredi 11 Janvier 2012 13:59:13 Objet: Re: [fossil-users] Fossil crashes on Windows Unless this is not the whole s

Re: [fossil-users] Fossil crashes on Windows

2012-01-11 Thread Mark Janssen
users-boun...@lists.fossil-scm.org] On Behalf Of François Vogel Sent: dinsdag 10 januari 2012 22:06 To: fossil-users@lists.fossil-scm.org Subject: [fossil-users] Fossil crashes on Windows Hi all, On Windows Vista, I get repeatable crashes of fossil (application stops working and brutally crashes). This ha

Re: [fossil-users] Fossil crashes on Windows

2012-01-11 Thread François Vogel
On Windows Vista, I get repeatable crashes of fossil (application stops working and brutally crashes). This happens when running fossil revert (whatever the rest of the command is) Happens for me on a second machine, same repo (Tk toolkit project). Does not happen with the fossil-scm repositor

[fossil-users] Fossil crashes on Windows

2012-01-10 Thread François Vogel
Hi all, On Windows Vista, I get repeatable crashes of fossil (application stops working and brutally crashes). This happens when running fossil revert (whatever the rest of the command is), for instance: C:\Users\francois\Documents\Development\tcltk-fossil\tk-fossil\tests>fossil changes E