Hi,
Bernd: Any idea?
-------- Original-Nachricht -------- Betreff: Re: [Nsis_imp] nsis-qos Datum: Thu, 28 Dec 2006 13:48:56 +0100 Von: Jesús Pérez jesus@tlmat.unican.es An: Christian Dickmann mail@christian-dickmann.de Referenzen: 4592B368.6050408@tlmat.unican.es 4593062F.7050303@christian-dickmann.de
Christian Dickmann wrote:
Hi,
I am not an expert on the QoS NSLP, so my comments are rather general. However, I hope I can help you.
clean exit: SIGSEGV QoSServer::~QoSServer QoSServer deleted!
The QoS NSLP daemon gets a SEGFAULT signal and shuts down as a result. This means: The daemon crashed! You should run it using GDB to see where the SEGFAULT is thrown and provide us with a backtrace (command "bt" in GDB).
I hope Bernd can help you debugging your problem when he gets the backtrace. Without the backtrace it is probably very hard to tell whats going wrong.
Thank you for your help.
Regards, Christian
Hi,
Here is the bt output you asked me for:
#0 0x0805af33 in Traffic::bandwidth (this=0x838c668) at qspec/Traffic.cpp:86 #1 0x0805bd6e in SimpleRMF::reserveQoS (this=0x834c0a0, mri=0x838b540, desired_qspec=0x838c5c8, sid=0x838b50c '%G�%@' <repeats 16 times>, bound_sid=0x838b52c "", reserv_qspec=0x0, newNslpId=0x838b4fc, rmfData=0x838b4c0) at rmf/SimpleRMF.cpp:85 #2 0x0804f1a1 in QoSFsm::tg_reserve (this=0x838b488, event=5, args=0x838b4c0) at fsm/QoSFsm.cpp:503 #3 0x0804e705 in QoSFsm::triggerEvent (this=0x838b488, event=EV_TG_RESERVE, args=0x838b4c0) at fsm/QoSFsm.cpp:216 #4 0x0804c704 in QoSServer::handleClientSocket (this=0x834c028, sockfd=8, sockData=0x838b410) at QoSServer.cpp:572 #5 0x0806329c in NslpApi::processSockets (this=0x834c148, rfds=0xbfd2627c) at NslpApi.cpp:166 #6 0x080634bc in NslpApi::waitForSignal (this=0x834c148) at NslpApi.cpp:206 #7 0x0804a58d in QoSServer::run (this=0x834c028) at QoSServer.cpp:97 #8 0x08049d0c in main (argc=1, argv=0xbfd26414) at qos_server.cpp:110
I hope it can help you. Thank you.
Cheers,
Jesus
Hi,
in QoSFsm.cpp (line 503) msg_received->qspec->traffic->bandwidthPtr points to 0x0. This is the reason why it crashes.
(gdb) p *msg_received->qspec->traffic $7 = {<GenericObject> = {_vptr.GenericObject = 0x8063b28, static count = 18, buffer = 0x9ef45f8 "33£A", tail = 0x9ef463c "", mymemory = false, memoryInitialized = false}, flags = 0 '\0', bandwidthPtr = 0x0, bucketRatePtr = 0x9ef45f8 "33£A", bucketSizePtr = 0x9ef45fc "", peakRatePtr = 0x9ef4600 "", minimumUnitPtr = 0x9ef4604 "", mtuPtr = 0x9ef4608 "", size = 0}
I'll have a deeper look where the source of the bug is.
Bernd
Christian Dickmann wrote:
Hi,
Bernd: Any idea?
-------- Original-Nachricht -------- Betreff: Re: [Nsis_imp] nsis-qos Datum: Thu, 28 Dec 2006 13:48:56 +0100 Von: Jesús Pérez jesus@tlmat.unican.es An: Christian Dickmann mail@christian-dickmann.de Referenzen: 4592B368.6050408@tlmat.unican.es 4593062F.7050303@christian-dickmann.de
Christian Dickmann wrote:
Hi,
I am not an expert on the QoS NSLP, so my comments are rather general. However, I hope I can help you.
clean exit: SIGSEGV QoSServer::~QoSServer QoSServer deleted!
The QoS NSLP daemon gets a SEGFAULT signal and shuts down as a result. This means: The daemon crashed! You should run it using GDB to see where the SEGFAULT is thrown and provide us with a backtrace (command "bt" in GDB).
I hope Bernd can help you debugging your problem when he gets the backtrace. Without the backtrace it is probably very hard to tell whats going wrong.
Thank you for your help.
Regards, Christian
Hi,
Here is the bt output you asked me for:
#0 0x0805af33 in Traffic::bandwidth (this=0x838c668) at qspec/Traffic.cpp:86 #1 0x0805bd6e in SimpleRMF::reserveQoS (this=0x834c0a0, mri=0x838b540, desired_qspec=0x838c5c8, sid=0x838b50c '%G�%@' <repeats 16 times>, bound_sid=0x838b52c "", reserv_qspec=0x0, newNslpId=0x838b4fc, rmfData=0x838b4c0) at rmf/SimpleRMF.cpp:85 #2 0x0804f1a1 in QoSFsm::tg_reserve (this=0x838b488, event=5, args=0x838b4c0) at fsm/QoSFsm.cpp:503 #3 0x0804e705 in QoSFsm::triggerEvent (this=0x838b488, event=EV_TG_RESERVE, args=0x838b4c0) at fsm/QoSFsm.cpp:216 #4 0x0804c704 in QoSServer::handleClientSocket (this=0x834c028, sockfd=8, sockData=0x838b410) at QoSServer.cpp:572 #5 0x0806329c in NslpApi::processSockets (this=0x834c148, rfds=0xbfd2627c) at NslpApi.cpp:166 #6 0x080634bc in NslpApi::waitForSignal (this=0x834c148) at NslpApi.cpp:206 #7 0x0804a58d in QoSServer::run (this=0x834c028) at QoSServer.cpp:97 #8 0x08049d0c in main (argc=1, argv=0xbfd26414) at qos_server.cpp:110
I hope it can help you. Thank you.
Cheers,
Jesus
Nsis_Imp mailing list Nsis_Imp@informatik.uni-goettingen.de https://user.informatik.uni-goettingen.de/mailman/listinfo/nsis_imp
nsis_imp@informatik.uni-goettingen.de