[sr-dev] [kamailio] kamailio 4.3 crash in update_dialog_vars_dbinfo (#301)

Daniel-Constantin Mierla notifications at github.com
Tue Aug 25 14:37:04 CEST 2015


Interesting, it is clear the crash happened because the var pointer is invalid:

```
#0  0x00007f3b4fd779da in update_dialog_vars_dbinfo (cell=0x7f3b3c3aa958, var=0x3433) at dlg_db_handler.c:651
651     SET_STR_VALUE(values+2, var->key);
```

But it is taken from cell->vars, which show good values for each 'next' fields -- code of frame 1 is:

```
		for(var=cell->vars ; var ; var=var->next) {
			if (update_dialog_vars_dbinfo(cell, var) != 0)
				return -1;
		}
```

So the core file has some inaccurate info or the stack was corrupted. Did you get error messages in syslog before the crash?



---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/301#issuecomment-134571571
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150825/4397524f/attachment.html>


More information about the sr-dev mailing list