[ecasound] STD::bad_alloc issue that is resolved when setting debugging (-d) or debug out put to stderr (-D)

From: Jason Galyon <jgalyon@email-addr-hidden>
Date: Tue Jun 30 2009 - 00:51:04 EEST

I get this whether I use an ECS file or put everything on command line.
Oddly, I do NOT receive an error when I add debugging of any level or
the '-D'.

Is there any way I can gather more information on this?

Important note, I am running this on an EC2 instance which is a Xen
machine, so there is the possibility I suppose of shared memory or
threading issues that does not show up in other circumstances. Does
debugging do something (understandably) that could 'fix' this?

Thanks for any help.

debugging info:
Starting program: /usr/local/bin/ecasound
[Thread debugging using libthread_db enabled]
[New Thread 0x2aaaad3b4fb0 (LWP 16231)]
[New Thread 0x2aaaadbb6950 (LWP 16234)]
* ecasound v2.6.0 (C) 1997-2009 Kai Vehmanen and others
- [ Chainsetup created (file) ]
terminate called after throwing an instance of 'std::bad_alloc'
  what(): std::bad_alloc

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x2aaaad3b4fb0 (LWP 16231)]
0x00002aaaad073fb5 in *__GI_raise (sig=<value optimized out>) at
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0 0x00002aaaad073fb5 in *__GI_raise (sig=<value optimized out>) at
#1 0x00002aaaad075bc3 in *__GI_abort () at abort.c:88
#2 0x00002aaaac95f0b4 in __gnu_cxx::__verbose_terminate_handler ()
    at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:98
#3 0x00002aaaac95d4b6 in __cxxabiv1::__terminate (handler=0x3f67)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:43
#4 0x00002aaaac95d4e3 in std::terminate () at
#5 0x00002aaaac95d4f6 in __cxxabiv1::__unexpected (handler=0x3f67)
    at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:59
#6 0x00002aaaac95ce78 in __cxa_call_unexpected (exc_obj_in=0x2aaab0000910)
    at ../../../../src/libstdc++-v3/libsupc++/eh_personality.cc:750
#7 0x0000000000460733 in ECA_SESSION::ECA_SESSION ()
#8 0x0000000000454d39 in main ()

Jason Galyon
Silver Screen Tele-Reality, Inc. 
http://www.sister.tv | http://www.videocarlot.tv
Phone: 972-855-3500 |  Fax: 413-778-2146
Ecasound-list mailing list
Received on Tue Jun 30 04:15:03 2009

This archive was generated by hypermail 2.1.8 : Tue Jun 30 2009 - 04:15:03 EEST