Hi, please excuse my overlengthy lines, it was easier to not-wrap this content.
> As best as i can tell that's your OS segfaulting, not fossil. It returns > from a write() and then immediately throws a sigbus? sigbus is something > i've only seen on sparc, and i've personally only seen it when linking to > invalid system libs (e.g. those compiled for other platforms). A bit of > googling shows sigbus to sometimes be alignment-related. The address being > passed to write() is 0x40b16808 (dec=1085368328), which "should" be >properly aligned for 32/64-bit. Though I wouldn't bet on it, I think I've already seen SIGBUS on x86 with FreeBSD. > > It should be quite tricky C code for a > > C compiler to generate bad-aligned accesses for a given platform. I'd like > > to > > know where is that bad access; I've not checked, but I'd imagine fossil > > has no > > tricky C code. > > > > Fossil doesn't have any tricky C code (or at least it shouldn't - if you > find some we'll call it a bug.) But SQLite does definitely have tricky C > code. We've had SIGBUS problems running SQLite on sparc before, but I > thought we had fixed all those. On the other hand, I don't have sparc on > which to test SQLite so I'm not really sure. You're right, seems to be sqlite. $ gdb fossil-src-20111021125253/fossil GNU gdb 6.5 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc64--netbsd"... (gdb) run init blakopf Starting program: /home/gnrp/temp/fossil-src-20111021125253/fossil init blakopf Program received signal SIGBUS, Bus error. 0x00000000001b7560 in sqlite3CreateIndex (pParse=0x40b03008, pName1=<value optimized out>, pName2=<value optimized out>, pTblName=0x0, pList=0x40b10288, onError=<value optimized out>, pStart=0x0, pEnd=0x0, sortOrder=0, ifNotExist=0) at ./src/sqlite3.c:82174 82174 pIndex->azColl[i] = zColl; (gdb) I used svn before which uses sqlite, too (at least it's the dependency), but it worked flawless. Regards, Julian _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users