Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic crashes in bok #46

Closed
kheimerl opened this issue Aug 5, 2015 · 3 comments
Closed

Periodic crashes in bok #46

kheimerl opened this issue Aug 5, 2015 · 3 comments
Labels

Comments

@kheimerl
Copy link

kheimerl commented Aug 5, 2015

Potentially related to sdcch traffic, see matt's email.

@kheimerl kheimerl added the bug label Aug 5, 2015
@kheimerl
Copy link
Author

kheimerl commented Aug 5, 2015

(gdb) bt full
#0 0xb765245f in ?? ()
No symbol table info available.
#1 0xb3736940 in ?? ()
No symbol table info available.
#2 0x08324f3d in UnixSignal::Handler (this=0x843be80 ,
sig=sig@entry=11) at UnixSignal.cpp:68
buf = "core.openbts", '\000' <repeats 548 times>...
#3 0x083254e2 in _sigHandler (sig=11) at UnixSignal.cpp:49
FUNCTION = "_sigHandler"
#4
No symbol table info available.
#5 0x0831f96b in BitVector::peekField (this=this@entry=0xb3d00468,
readIndex=readIndex@entry=8, length=length@entry=8) at BitVector.cpp:65
i = 0
accum = 0
dp = 0x9 <error: Cannot access memory at address 0x9>
#6 0x081f2288 in GSM::L3Frame::MTI (this=0xb3d00468) at GSMTransfer.cpp:635
mti =
this = 0xb3d00468
#7 0x081f23f0 in GSM::L3Frame::text (this=this@entry=0xb3d00468, os=...)
at GSMTransfer.cpp:56
mtiname = {static npos = ,
_M_dataplus = {std::allocator = {<gnu_cxx::new_allocator<cha---Type to continue, or q to quit---
r>> = {}, },
M_p = 0xb373b148 "\314\vC\b\350\fC\b\305\020\001\264\305\020\001\264\305\020\001\264\304\020\001\264z\021\001\264\304\022\001\264\264\001\267\020"}}
#8 0x081f26c4 in GSM::operator<< (os=..., frame=...) at GSMTransfer.cpp:66
No locals.
#9 0x082ad5b7 in csl3HandleFrame (lch=, frame=)
at L3StateMachine.cpp:606
deleteit =
l3msg =
mmchan =
#10 Control::checkemMessages (dcch=dcch@entry=0x959ee50, delay=delay@entry=100)
at L3StateMachine.cpp:771
l3frame =
FUNCTION = "checkemMessages"
set =
#11 0x082b2968 in L3SDCCHLoop (dcch=) at L3StateMachine.cpp:972
No locals.
#12 Control::L3DCCHLoop (dcch=0x959ee50, frame=0xb3d148b0)
at L3StateMachine.cpp:1003
prim = GSM::L3_ESTABLISH_INDICATION
FUNCTION = "L3DCCHLoop"
PRETTY_FUNCTION = "void Control::L3DCCHLoop(Control::L3LogicalChanne---Type to continue, or q to quit---
l
, GSM::L3Frame
)"
#13 0x082ed9fc in Control::DCCHDispatcher (DCCH=DCCH@entry=0x959ee50)
at DCCHDispatch.cpp:56
frame =
FUNCTION = "DCCHDispatcher"
#14 0x08329e77 in thread_main (arg=0x9573d58) at Threads.cpp:292
p = 0x9573d58
task = 0x82ed100 Control::DCCHDispatcher(Control::L3LogicalChannel*)
param = 0x959ee50
#15 0xb748ef70 in ?? ()
No symbol table info available.
#16 0x09573d58 in ?? ()
No symbol table info available.
#17 0xb73c5bee in ?? ()
No symbol table info available.

@kheimerl
Copy link
Author

kheimerl commented Aug 5, 2015

Seems like a relatively simple crash actually; we note a frame can't be parsed, we then try to print it by parsing it and it explodes.

@kheimerl
Copy link
Author

Fixed in https://github.com/endaga/openbts/tree/bok_l3_segfault, other issues continue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant