Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dtorkin@ubuntu1:~/Desktop/practice$ sudo ./uvm_app --wait-for-gui OR
- UVM: Option --wait-for-gui enabled. Will wait for GUI connection.
- DEBUG UVM: Effective RadarMode selected: 0
- UVM: Загрузка конфигурации...
- Configuration parsed successfully from 'config.ini'.
- Found configurations for 4 SVM instances in file.
- --- Effective Configuration ---
- interface_type = ethernet
- UVM Target: 192.168.189.129:8080
- SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- -----------------------------
- UVM: Found 4 SVM configurations in config file.
- Thread-safe UVM request queue created with capacity 50
- Thread-safe UVM Response queue created with capacity 200
- UVM: Connecting to SVMs...
- DEBUG UVM: IP before loop: 192.168.189.129
- UVM: Attempting to connect to SVM ID 0 (IP: 192.168.189.129, Port: 8080)...
- DEBUG UVM: Preparing to create interface for SVM 0 with IP=192.168.189.129, Port=8080
- Ethernet: Connected to 192.168.189.129:8080 (handle: 3)
- UVM: Successfully connected to SVM ID 0 (Handle: 3).
- UVM: Attempting to connect to SVM ID 1 (IP: 192.168.189.129, Port: 8081)...
- DEBUG UVM: Preparing to create interface for SVM 1 with IP=192.168.189.129, Port=8081
- Ethernet: Connected to 192.168.189.129:8081 (handle: 4)
- UVM: Successfully connected to SVM ID 1 (Handle: 4).
- UVM: Attempting to connect to SVM ID 2 (IP: 192.168.189.129, Port: 8082)...
- DEBUG UVM: Preparing to create interface for SVM 2 with IP=192.168.189.129, Port=8082
- Ethernet: Connected to 192.168.189.129:8082 (handle: 5)
- UVM: Successfully connected to SVM ID 2 (Handle: 5).
- UVM: Attempting to connect to SVM ID 3 (IP: 192.168.189.129, Port: 8083)...
- DEBUG UVM: Preparing to create interface for SVM 3 with IP=192.168.189.129, Port=8083
- Ethernet: Connected to 192.168.189.129:8083 (handle: 6)
- UVM: Successfully connected to SVM ID 3 (Handle: 6).
- UVM: Connected to 4 out of 4 configured SVMs.
- UVM: Запуск потоков Sender, Receiver(s) и GUI Server...
- UVM: Waiting for GUI client to connect on port 12345 (or press Ctrl+C)...
- UVM Receiver thread started for SVM ID 1 (handle: 4).
- UVM Sender thread started.
- UVM Receiver thread started for SVM ID 0 (handle: 3).
- UVM Receiver thread started for SVM ID 2 (handle: 5).
- GUI Server: Starting listener on port 12345
- UVM Receiver thread started for SVM ID 3 (handle: 6).
- GUI Server: Waiting for GUI connection on port 12345...
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (SVM 1): Connection closed by SVM. Marking link as INACTIVE.
- UVM Receiver thread for SVM ID 1 finished.
- GUI Server: Accepted connection from 127.0.0.1:43480 (FD 8)
- GUI Server: Sending initial state to new GUI client (FD 8).
- GUI Server: Initial state sent to GUI client (FD 8).
- UVM: GUI client connected! Proceeding with SVM operations.
- UVM: All necessary threads started. Selected RadarMode: 0
- UVM: Начало основного цикла управления SVM (Асинхронная подготовка)...
- UVM Main (SVM 0): Отправка команды подготовки типа 128 (Num 0)...
- send_uvm_request: Вход. Запрос для SVM 0, тип протокольного сообщения 128, тип UVM запроса 1.
- UVM Main (SVM 0): Команда подготовки типа 128 (Num 0) отправлена. Переход в состояние ожидания 2.
- UVM Main (SVM 2): Отправка команды подготовки типа 128 (Num 0)...
- send_uvm_request: Вход. Запрос для SVM 2, тип протокольного сообщения 128, тип UVM запроса 1.
- UVM Main (SVM 2): Команда подготовки типа 128 (Num 0) отправлена. Переход в состояние ожидания 2.
- UVM Main (SVM 3): Отправка команды подготовки типа 128 (Num 0)...
- send_uvm_request: Вход. Запрос для SVM 3, тип протокольного сообщения 128, тип UVM запроса 1.
- UVM Main (SVM 3): Команда подготовки типа 128 (Num 0) отправлена. Переход в состояние ожидания 2.
- Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=3
- Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=5
- Отправка сообщения через Ethernet: Тип=128, Номер=0, Длина тела=2, Общий размер=8, Handle=6
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (SVM 2): Connection closed by SVM. Marking link as INACTIVE.
- UVM Receiver thread for SVM ID 2 finished.
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (SVM 0): Connection closed by SVM. Marking link as INACTIVE.
- UVM Receiver thread for SVM ID 0 finished.
- receive_protocol_message: Соединение закрыто при чтении заголовка.
- Receiver Thread (SVM 3): Connection closed by SVM. Marking link as INACTIVE.
- UVM Receiver thread for SVM ID 3 finished.
- dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
- SVM Multi-Port Server starting...
- SVM App-wide resources (srand) initialized.
- Message handlers initialized.
- SVM: Loading configuration...
- Configuration parsed successfully from 'config.ini'.
- Found configurations for 4 SVM instances in file.
- --- Effective Configuration ---
- interface_type = ethernet
- UVM Target: 192.168.189.129:8080
- SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
- Simulate Control Failure: No
- Disconnect After: -1 messages
- Simulate Response Timeout: No
- Send Warning on Confirm: No (TKS: 1)
- -----------------------------
- SVM: Will attempt to start 4 instances based on config.
- DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
- DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
- DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
- DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
- Thread-safe QueuedMessage queue created with capacity 400
- SVM: Starting common Sender thread...
- SVM: Sender thread started. 4 listeners active. Running...
- SVM Main: Waiting for shutdown signal...
- Ethernet: Listening on port 8081 (handle: 3)
- Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 3)
- Listener (SVM 1, Port 8081): Waiting for connection...
- SVM Sender thread started (reads global outgoing queue).
- Ethernet: Listening on port 8080 (handle: 5)
- Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 5)
- Listener (SVM 0, Port 8080): Waiting for connection...
- Ethernet: Listening on port 8082 (handle: 7)
- Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 7)
- Listener (SVM 2, Port 8082): Waiting for connection...
- Ethernet: Listening on port 8083 (handle: 8)
- Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 8)
- Listener (SVM 3, Port 8083): Waiting for connection...
- Listener (SVM 0, Port 8080): Accepted connection from 192.168.189.128:52716 (Client FD 6)
- Thread-safe QueuedMessage queue created with capacity 100
- Listener (SVM 0, Port 8080): Instance activated. Worker threads (Recv, Proc, Timer) started.
- SVM Processor thread started for instance 0.
- InstanceTimer (ID 0, LAK 0x08): Thread started.
- InstanceTimer (ID 0, LAK 0x08): Thread finished.
- SVM Receiver thread started for instance 0 (LAK 0x08, handle: 6).
- Listener (SVM 1, Port 8081): Accepted connection from 192.168.189.128:37572 (Client FD 4)
- Thread-safe QueuedMessage queue created with capacity 100
- SVM Receiver thread started for instance 1 (LAK 0x09, handle: 4).
- Listener (SVM 2, Port 8082): Accepted connection from 192.168.189.128:58070 (Client FD 9)
- Thread-safe QueuedMessage queue created with capacity 100
- Listener (SVM 1, Port 8081): Instance activated. Worker threads (Recv, Proc, Timer) started.
- Listener (SVM 3, Port 8083): Accepted connection from 192.168.189.128:51446 (Client FD 10)
- Thread-safe QueuedMessage queue created with capacity 100
- Listener (SVM 3, Port 8083): Instance activated. Worker threads (Recv, Proc, Timer) started.
- SVM Receiver thread (Inst 1, LAK 0x09): Shutting down incoming queue and finishing.
- Thread-safe QueuedMessage queue shutdown initiated.
- SVM Receiver thread finished for instance 1 (LAK 0x09).
- InstanceTimer (ID 3, LAK 0x0B): Thread started.
- InstanceTimer (ID 3, LAK 0x0B): Thread finished.
- Listener (SVM 1, Port 8081): Receiver thread joined.
- SVM Processor thread started for instance 2.
- InstanceTimer (ID 2, LAK 0x0A): Thread started.
- InstanceTimer (ID 2, LAK 0x0A): Thread finished.
- Listener (SVM 2, Port 8082): Instance activated. Worker threads (Recv, Proc, Timer) started.
- SVM Processor thread started for instance 1.
- Processor Thread (Inst 1): Incoming queue empty and shutdown. Exiting.
- SVM Processor thread finished for instance 1.
- SVM Receiver thread started for instance 2 (LAK 0x0A, handle: 9).
- Listener (SVM 1, Port 8081): Processor thread joined.
- Listener (SVM 1, Port 8081): Signaled instance timer thread to stop.
- InstanceTimer (ID 1, LAK 0x09): Thread started.
- InstanceTimer (ID 1, LAK 0x09): Thread finished.
- Listener (SVM 1, Port 8081): Instance timer thread joined.
- Listener (SVM 1, Port 8081): Worker threads finished. Cleaning up instance...
- Ethernet: Closing handle 4
- SVM Receiver thread started for instance 3 (LAK 0x0B, handle: 10).
- Thread-safe QueuedMessage queue destroyed
- Listener (SVM 1, Port 8081): Instance deactivated. Ready for new connection.
- SVM Processor thread started for instance 3.
- Listener (SVM 1, Port 8081): Waiting for connection...
- DEBUG RECV: header_net.body_length (network order) = 0x0200 (512)
- DEBUG RECV: bodyLenHost (host order) = 2
- DEBUG RECV: message.header.body_length после message_to_host_byte_order (должен быть хост) = 2
- Получено сообщение через Ethernet: Тип=128, Номер=0, Длина тела=2, Handle=9
- DEBUG RECV: header_net.body_length (network order) = 0x0200 (512)
- DEBUG RECV: bodyLenHost (host order) = 2
- DEBUG RECV: message.header.body_length после message_to_host_byte_order (должен быть хост) = 2
- Получено сообщение через Ethernet: Тип=128, Номер=0, Длина тела=2, Handle=6
- DEBUG RECV: header_net.body_length (network order) = 0x0200 (512)
- DEBUG RECV: bodyLenHost (host order) = 2
- DEBUG RECV: message.header.body_length после message_to_host_byte_order (должен быть хост) = 2
- Получено сообщение через Ethernet: Тип=128, Номер=0, Длина тела=2, Handle=10
- Processor (Inst 2): Обработка 'Инициализация канала'
- Параметры: LAUVM=0x1, LAK=0x0A (assigned)
- SVM (Inst 2): Эмуляция выключения лазера...
- Processor (Inst 0): Обработка 'Инициализация канала'
- Параметры: LAUVM=0x1, LAK=0x08 (assigned)
- SVM (Inst 0): Эмуляция выключения лазера...
- Processor (Inst 3): Обработка 'Инициализация канала'
- Параметры: LAUVM=0x1, LAK=0x0B (assigned)
- SVM (Inst 3): Эмуляция выключения лазера...
- Ответ 'Подтверждение инициализации' сформирован (LAK=0x0A).
- Ответ 'Подтверждение инициализации' сформирован (LAK=0x0B).
- send_protocol_message: Invalid arguments
- Sender Thread: Error sending message (type 129) to instance 2 (handle 662693568).
- Sender Thread: Deactivating instance 2 (handle 662693568) due to send error.
- Ответ 'Подтверждение инициализации' сформирован (LAK=0x08).
- Ошибка сегментирования
Advertisement
Add Comment
Please, Sign In to add comment