On Sun, Nov 13, 2011 at 11:02:06PM +0100, Stephan Beal wrote:
> On Sun, Nov 13, 2011 at 10:10 PM, Julian Fagir 
> <listensamm...@komkon2.de>wrote:
> > Having to register to send mails to the list (and especially getting no
> > reports) is somewhat... unintuitive.
> >
> 
> i can't even guess as to why the mailing list hasn't been working for you.

I agree with Julian. There should be an answer, if the letter does not reach the
list. I also like when it is not required to subscribe to send mails.
 
> This part:
> 
> 11868      1 fossil   write(0x5, 0x40b16808, 0x200) = 512, 1085368328
> 
>  
> "\0\0\0\0\0\0\0\0\0\0\0\0\M-/\M^H\M-66\0\0\0\0\0\0\^B\0\0\0\^D\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
>  11868      1 fossil   SIGBUS SIG_DFL
> 
> 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.

I don't think the write is related to the SIGBUS. If it is similar to 'strace',
the "= 512" means that the syscall succeeded and returned 512.

> Other googling suggests that a cast in one part of the code can cause
> corruption which first shows up as a sigbus further downstream. Could you
> run it through valgrind? That would help us rule out memory corruption.

I don't think valgrind runs on sparc.

gdb will catch the sigbus perfectly. 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.

Regards,
Lluís.
_______________________________________________
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