Opened 6 years ago

Closed 6 years ago

#589 closed баг (fixed)

Падение при запуске без файла конфига

Reported by: san Owned by: alx
Priority: major Milestone: 1 очередь
Component: ПО MC04-Dispatcher. Пульт диспетчера/техника Keywords:
Cc:

Description

  • удалил конфиг файл
  • запустил
  • ввёл корректные данные, нажал вход
  • упала (в нижней строке окна "Подключение к FreeSwitch..."

r1054M-test
Windows 7

2018.05.25 16:22:25.475 [INFO   ] Программа запущенна, MC04-Dispatcher-v1.0-r1054M
2018.05.25 16:22:25.475 [INFO   ] Конфигурация загружена
2018.05.25 16:22:25.475 [INFO   ] Начат процесс подключения к FreeSwitch серверу

2018.05.25 16:22:25.179 [DEBUG  ] Loading config from C:/Users/test/AppData/Local/MC04Dispatcher.xml
2018.05.25 16:22:41.348 [DEBUG  ] sip_endpoint.c  .Creating endpoint instance...
2018.05.25 16:22:41.348 [DEBUG  ]          pjlib  .select() I/O Queue created (045F3048)
2018.05.25 16:22:41.348 [DEBUG  ] sip_endpoint.c  .Module "mod-msg-print" registered
2018.05.25 16:22:41.348 [DEBUG  ] sip_transport.  .Transport manager created.
2018.05.25 16:22:41.349 [DEBUG  ]   pjsua_core.c  .PJSUA state changed: NULL --> CREATED
2018.05.25 16:22:42.424 [INFO   ]   pjsua_core.c  .pjsua version 2.6 for  initialized
2018.05.25 16:22:42.425 [DEBUG  ] local IPv4 address is 192.168.0.5
2018.05.25 16:22:42.426 [DEBUG  ] --> CPJSIPSUA::Init(): line  207
2018.05.25 16:22:42.426 [DEBUG  ] local IPv6 address is 2a01:540:2f09:9a00:c1e6:62c8:bf50:6ef
2018.05.25 16:22:42.426 [DEBUG  ] --> CPJSIPSUA::Init(): line  214
2018.05.25 16:22:42.426 [DEBUG  ] --> CPJSIPSUA::Init(): line  216
2018.05.25 16:22:42.427 [DEBUG  ] --> CPJSIPSUA::Init(): line  218
2018.05.25 16:22:42.427 [DEBUG  ] --> CPJSIPSUA::Init(): line  223
2018.05.25 16:22:42.427 [DEBUG  ] --> CPJSIPSUA::Init(): line  225
2018.05.25 16:22:42.427 [DEBUG  ] --> CPJSIPSUA::Init(): line  230
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::Init(): line  233
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::Init(): line  239
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::Init(): line  263
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::Init(): line  269
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::Init(): line  271
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::Init(): line  277
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  339
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  341
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  344
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  346
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  350
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  354
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  359
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  363
2018.05.25 16:22:42.428 [DEBUG  ] --> CPJSIPSUA::ParseURI(): line  367
2018.05.25 16:22:42.429 [DEBUG  ] connecting to MySQL server "192.168.0.63" as user "4"
2018.05.25 16:22:42.434 [INFO   ] connected to MySQL database
2018.05.25 16:22:42.436 [DEBUG  ] CStartupDlg::mysqlConnected()
2018.05.25 16:22:42.436 [DEBUG  ] MySQLConnection::exec(): "SELECT value FROM options WHERE name = 'event-socket-pwd'"
2018.05.25 16:22:42.460 [DEBUG  ] ESL2: message received:
 Content-Type: auth/request


2018.05.25 16:22:42.460 [DEBUG  ] ESL2: sending request: "auth **********\n\n"
2018.05.25 16:22:42.461 [DEBUG  ] ESL2: message received:
 Content-Type: command/reply
Reply-Text: +OK accepted


2018.05.25 16:22:42.461 [DEBUG  ] ESL2: sending request: "event json PRESENCE_IN RELOADXML BACKGROUND_JOB MODULE_LOAD CUSTOM sofia::register sofia::expire sofia::unregister conference::maintenance alert::notify\n\n"

Change History (1)

comment:1 by alx, 6 years ago

Resolution: fixed
Status: newclosed

In 1055/dispatcher:

Исправлена ошибка: если список логинившихся пользователей пуст,
при завершении стартового диалога происходило обращение к несуществующему
элементу списка, что приводило к ошибке сегментации. Fixes #589.

Note: See TracTickets for help on using tickets.