-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8 Oct 2002 at 18:42, Wei Dai wrote:

> You're using a key of zero length, which is not valid for AES. The cipher
> object will throw an exception, and since you're not catching it, the
> program terminates. Please do provide backtraces in the future.
> 
> On Tue, Oct 08, 2002 at 06:19:19PM -0400, J Smith wrote:
> > 
> > The exact error is a SIGABRT, which is being spit out of libstdc++. I can
> > provide a backtrace if you'd like. I'm running a Linux system with gcc
> > 2.96, a 2.4.18 kernel and glibc 2.2.4.
> > 

The above exchange contains a gem that it is useful to remember: if your 
C++ program dies because it receives a SIGABRT, it is quite likely to be 
because of an uncaught exception.

Sorry for the waste of bandwidth for those who already knew this, but I 
thought that it might save tome for those few among us who don't spend 
their spare time reading the C++ standard.

  Doc


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: Key obtainable from servers: ID 0x362912B8

iQA/AwUBPaNtH2nXrLw2KRK4EQJsbQCg7l3rfoQPE84qWkqrkg4KJpjJq74AoKB/
JjZmrs9f8fSstE23w2+MZQgJ
=UU5s
-----END PGP SIGNATURE-----

Reply via email to