[Live-devel] error (ARM) : terminate called after throwing an instance of 'int'

Josan josan.chiao at fuho.com.tw
Mon Jan 21 22:24:47 PST 2013


Ross Finlayson <finlayson at ...> writes:

> 
> 
> 
>    We got the same situation like yours!Did you get the solution yet? Could 
you tell me how to get rid of this error?
> 
> 
> Remember, You Have Complete Source Code.
> As long as you have a console, you should be able to find out (by inserting 
appropriate "printf()"s in the code) exactly where/why it's crashing.
> 
> Also, as I noted to the previous questioner, you'll probably find it easier 
to debug the problem using "testOnDemandRTSPServer", rather than (the more 
complicated) "wis-streamer".
> 
> Ross FinlaysonLive Networks, Inc.http://www.live555.com/
> 
> 
> 
> 
> _______________________________________________
> live-devel mailing list
> live-devel at ...
> http://lists.live555.com/mailman/listinfo/live-devel
> 


Thanks for your reply, Ross!

 I have tried to print out some message to debug! But it crashed in 
handleCmd_DESCRIBE() function of RTSPServer.cpp!
 once it call this sdpDescription = session->generateSDPDescription(); then 
crashed!
 
 We use montavisa(mv_pro_5.0) toolchain as our cross-compiler. I just wonder 
if something wrong in our Makefie?? 
 Because we can build live555 and run it successfully in early version. But I 
try to update live555 to latest source code, just cannot run it! Is there 
something I need to pay attention?
Please give me some hint or any suggestion!  I appreciate your help!


--------This is our Makefile-------
MVTOOL_DIR=/opt/dm36x/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le
MVTOOL_PREFIX=$(MVTOOL_DIR)/bin/arm_v5t_le-

CROSS_COMPILE=		$(MVTOOL_PREFIX)
COMPILE_OPTS =		$(INCLUDES) -I. -O3 -DSOCKLEN_T=socklen_t -
DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
C =			c
C_COMPILER =		$(CROSS_COMPILE)gcc
C_FLAGS =		$(COMPILE_OPTS)
CPP =			cpp
CPLUSPLUS_COMPILER =	$(CROSS_COMPILE)c++
CPLUSPLUS_FLAGS =	$(COMPILE_OPTS) -Wall -DBSD=1
OBJ =			o
LINK =			$(CROSS_COMPILE)c++ -o
LINK_OPTS =		-L. -s 
CONSOLE_LINK_OPTS =	$(LINK_OPTS)
LIBRARY_LINK =		$(CROSS_COMPILE)ld -o
LIBRARY_LINK_OPTS =	$(LINK_OPTS) -r -Bstatic
LIB_SUFFIX =			a
LIBS_FOR_CONSOLE_APPLICATION =
LIBS_FOR_GUI_APPLICATION =
EXE =
##### End of variables to change 


Regards,
Josan 



More information about the live-devel mailing list