<div dir="ltr">Hello Harald,<div><br></div><div>I sent the backtrace full in the bugtracker.</div><div><br></div><div>Thanks</div><div><br>Romeu Medeiros</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 17, 2019 at 8:30 PM Harald Welte <<a href="mailto:laforge@gnumonks.org">laforge@gnumonks.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Romeu,<br>
<br>
On Wed, Jul 17, 2019 at 06:17:31PM -0300, Romeu Medeiros wrote:<br>
> I some situations, when the MME lost connection with the OSMO-MSC and<br>
> return this connection if I try send a MT-CSFB the OSMO-MSC is crashing.<br>
<br>
that obviously shouldn't happen.<br>
<br>
> I get this error in the log:<br>
> <br>
> <0006> sgs_iface.c:470 XXXXXXXXXX state == 1  conf_by_radio_contact_ind == 1<br>
> <0011> sgs_iface.c:251 (sub<br>
> IMSI-724210000000003:MSISDN-5544912340003:TMSI-0x8E44F269) Tx<br>
> PAGING-REQUEST suitable MME found, but no SGS connection present!<br>
> <0005> sgs_iface.c:480<br>
> SGs-UE(imsi:724210000000003)[0x563949b08fc0]{SGs-ASSOCIATED}: Will not Page<br>
> (no MME)<br>
> <0005> paging.c:101 Paging:<br>
> IMSI-724210000000003:MSISDN-5544912340003:TMSI-0x8E44F269 for MNCC:<br>
> establish call: Starting paging failed (rc=-22)<br>
> <0001> gsm_04_08_cc.c:1922 trans(CC<br>
> IMSI-724210000000003:MSISDN-5544912340003:TMSI-0x8E44F269 callref-0x1396<br>
> tid-255) Failed to allocate paging token.<br>
> Segmentation fault (core dumped)<br>
<br>
Thanks. I created a bug at <a href="https://osmocom.org/issues/4117" rel="noreferrer" target="_blank">https://osmocom.org/issues/4117</a><br>
<br>
> I'll try why this happened, but I'm not getting used to it in the OSMO<br>
> source code. Can you tell me (if you have time) how identify where this<br>
> crash is occouring?<br>
<br>
It's the same as any other C program:<br>
* compile with "-g"<br>
* run it in gdb<br>
* provoke the setfault<br>
* take a "backtrace full" after the crash<br>
<br>
It would be great if you could amend the bugtracker with that information,<br>
but I would guess the information you provided is already sufficient for Philipp,<br>
the implementor of the SGs support in OsmoMSC.<br>
<br>
-- <br>
- Harald Welte <<a href="mailto:laforge@gnumonks.org" target="_blank">laforge@gnumonks.org</a>>           <a href="http://laforge.gnumonks.org/" rel="noreferrer" target="_blank">http://laforge.gnumonks.org/</a><br>
============================================================================<br>
"Privacy in residential applications is a desirable marketing option."<br>
                                                  (ETSI EN 300 175-7 Ch. A6)<br>
</blockquote></div>