Re: [Libreoffice] Crash in master: Sum button in sc

2011-01-26 Thread Soeren Moeller
Thanks for the answer. I now used gdb to locate the segfault, and found it to happen when ScViewFunc called ScRangeList.front() with an empty range list, which resulted in a segfault while trying to retrieve the first element of the list. I have prepared the attached patch, adding a check for empty

Re: [Libreoffice] Crash in master: Sum button in sc

2011-01-25 Thread Kohei Yoshida
Hi Soeren, On Tue, 2011-01-25 at 23:13 +0100, Soeren Moeller wrote: > Hi > > I just noticed a bug in master (pull about 1h ago): > When I in calc press the sum button (shaped like a sigma), then calc > crashes instantly and without any message. This seems to happen only > when calc doesn't guess

[Libreoffice] Crash in master: Sum button in sc

2011-01-25 Thread Soeren Moeller
Hi I just noticed a bug in master (pull about 1h ago): When I in calc press the sum button (shaped like a sigma), then calc crashes instantly and without any message. This seems to happen only when calc doesn't guess a sum area by itself. (E.g. if there are numbers in the cells above the marked ce