Bug#401529: backtrace and a little analysis of medcon segfault.

2006-12-05 Thread Andreas Henriksson
medcon recompiled without optimization and with debugging symbols: CFLAGS=-g -O0 DEB_BUILD_OPTIONS=debug, noopt, nostrip dpkg-buildpackage -uc -us -rfakeroot Running on Debian Unstable AMD64. Program received signal SIGSEGV, Segmentation fault. 0x2aea4eac2d45 in DecodeFirstRow

Bug#401529: backtrace and a little analysis of medcon segfault.

2006-12-05 Thread Andreas Henriksson
On Tue, Dec 05, 2006 at 05:34:41PM +0100, Andreas Henriksson wrote: [...] ./libs/ljpg/mcu.h: typedef unsigned short ComponentType; /* the type of image components */ typedef ComponentType *MCU; /* MCU - array of samples */ test.c tell me that sizeof(unsigned short) is 2, so