[Clam-devel] Array::operator[]: Index out of range

Mkk Junz xljunz at gmail.com
Fri Mar 7 14:59:28 PST 2008


Hi, I'm trying to run a network through OfflinePlayer in NetworkEditor
1.2.0, but I get these errors (I'm not using Resize anywhere in my
code, btw.):
.##########################################################
################### ASSERTION FAILED #####################
##########################################################
At file /usr/local/include/CLAM/Array.hxx line 185
Array::operator[]: Index out of range
This may happen if you forgot to call SetSize(...) in your code.
This is now needed. Just calling Resize() is not enough any more.

 Backtrace:

[0] /usr/local/lib/libclam_core.so.1(_ZN4CLAM13DumpBacktraceERSo+0x2c)
[0xb7f0fb58]
[1] /usr/local/lib/libclam_core.so.1 [0xb7f0fdcb]
[2] /usr/local/lib/libclam_core.so.1(_ZN4CLAM26ExecuteAssertFailedHandlerEPKcS1_i+0x2e)
[0xb7f0f6e2]
[3] ./OfflinePlayer [0x812703d]
[4] /usr/local/lib/libclam_core.so.1(_ZN4CLAM16NaiveFlowControl2DoEv+0x12c)
[0xb7f28d84]
[5] /usr/local/lib/libclam_core.so.1(_ZN4CLAM7Network2DoEv+0x1e) [0xb7f203ec]
[6] /usr/local/lib/libclam_audioio.so.1(_ZN4CLAM25FreewheelingNetworkPlayer5StartEv+0xe27)
[0xb7e27df7]
[7] /usr/local/lib/libclam_core.so.1(_ZN4CLAM7Network5StartEv+0x181)
[0xb7f212d3]
[8] ./OfflinePlayer(_ZNK9QTreeView7drawRowEP8QPainterRK20QStyleOptionViewItemRK11QModelIndex+0xdda)
[0x807e0e2]
[9] /lib/libc.so.6(__libc_start_main+0xe0) [0xb61df390]
[10] ./OfflinePlayer(_ZNK7QDialog15minimumSizeHintEv+0x129) [0x807de51]
Trace/breakpoint trap

Thanks in advance.




More information about the clam-devel mailing list