[Asterisk-Dev] current cvs-head seg fault while compiling
Rich Adamson
radamson at routers.com
Mon Oct 31 14:32:10 MST 2005
> On Mon, 2005-10-31 at 14:06 -0600, Rich Adamson wrote:
> > > > logger.c: In function `ast_queue_log':
> > > > logger.c:369: internal compiler error: Segmentation fault
> > >
> > > That's quite bizarre, to say the least. I'm not able to reproduce it
> > > here... and nothing of consequence has changed in that file. I did make
> > > some changes that affect the ast_mutex_unlock() function that is called
> > > on the line before, though, so it's possible your compiler is having
> > > some odd troubles with that.
> > >
> > > What compiler version are you using?
> >
> > Very odd....
> >
> > [root at phoenix asterisk]# gcc -v
> > Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
> > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
> > sr/share/info --enable-shared --enable-threads=posix --disable-checking --with-s
> > ystem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-aw
> > t=gtk --host=i386-redhat-linux
> > Thread model: posix
> > gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
> > [root at phoenix asterisk]#
> >
> > Did another make clean followed by make install, and it completed
> > as expected. Not sure what's going on here.
>
> Suspect your memory isn't of the highest quality, or you experienced a
> random cosmic ray interference.
I'm off to run memtest against the box. gcc (etc) is the same version I've been
using on this box for a couple of months (without a glitch).
More information about the asterisk-dev
mailing list