Menu

#47 tutorial_09: accessibility check failed in gnoga-gui-view.adb:273

1.6
closed
Blady
None
2022-03-20
2020-08-19
No

After running tutorial_09 and then connecting to localhost:8080 in a browser, the PROGRAM_ERROR is raised and the application crashes, due to an accessibility check failure.

tama@tardis:~/code/ada/gnoga$ bin/tutorial_09
Gnoga            :1.6-alpha
Application root :/home/tama/code/ada/gnoga/
Executable at    :/home/tama/code/ada/gnoga/bin/
HTML root        :/home/tama/code/ada/gnoga/html/
Upload directory :/home/tama/code/ada/gnoga/upload/
Templates root   :/home/tama/code/ada/gnoga/templates/
/js  at          :/home/tama/code/ada/gnoga/js/
/css at          :/home/tama/code/ada/gnoga/css/
/img at          :/home/tama/code/ada/gnoga/img/
Boot file        :boot.html
HTTP listen on   ::8080
Multi-connect application.
Press Ctrl-C to close server.
2020-08-19 13:43:57.31 : HTTP Server Started
2020-08-19 13:44:02.78 : Requested: Kind: FILE, File: , Query:
2020-08-19 13:44:02.78 : Reply: /home/tama/code/ada/gnoga/html/boot.html (text/html)
2020-08-19 13:44:02.84 : Requested: Kind: FILE, File: js/jquery.min.js, Query:
2020-08-19 13:44:02.84 : Reply: /home/tama/code/ada/gnoga/js/jquery.min.js (text/javascript)
2020-08-19 13:44:02.85 : Requested: Kind: FILE, File: js/boot.js, Query:
2020-08-19 13:44:02.85 : Reply: /home/tama/code/ada/gnoga/js/boot.js (text/javascript)
2020-08-19 13:44:03.27 : New connection - ID 1
2020-08-19 13:44:03.28 : Requested: Kind: FILE, File: favicon.ico, Query:
2020-08-19 13:44:03.28 : Reply: /home/tama/code/ada/gnoga/html/favicon.ico (image/x-icon)
2020-08-19 13:44:03.69 : Sending to default route for Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari
/537.36 on Linux x86_64 from 127.0.0.1:33912
2020-08-19 13:44:03.79 : Error connection 1 closed by exception.
2020-08-19 13:44:03.79 : raised PROGRAM_ERROR : gnoga-gui-view.adb:273 accessibility check failed
[bin/tutorial_09]
Gnoga.Gui.View.Add_Element at gnoga-gui-view.adb:273
Gnoga.Gui.View.New_Element at gnoga-gui-view.adb:287
Tutorial_09.On_Connect at tutorial_09.adb:82
Gnoga.Application.Multi_Connect.On_Connect at gnoga-application-multi_connect.adb:96
Gnoga.Server.Connection.Event_Task_TypeT at gnoga-server-connection.adb:1251
0x649894 system__tasking__stages__task_wrapper at ???
[/lib/x86_64-linux-gnu/libpthread.so.0]
0x7f62a0fa24a2
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f62a08d3d0d
0xfffffffffffffffe

2020-08-19 13:44:03.79 : Connection_Data freed -1
2020-08-19 13:44:03.79 : Finalizing connection - 1
2020-08-19 13:44:27.71 : Requested: Kind: FILE, File: , Query:
2020-08-19 13:44:27.71 : Reply: /home/tama/code/ada/gnoga/html/boot.html (text/html)
2020-08-19 13:44:27.73 : Websocket connection closed - ID 1
2020-08-19 13:44:27.73 : Deleting connection - 1
2020-08-19 13:44:27.77 : Requested: Kind: FILE, File: js/jquery.min.js, Query:
2020-08-19 13:44:27.77 : Reply: /home/tama/code/ada/gnoga/js/jquery.min.js (text/javascript)
2020-08-19 13:44:27.77 : Requested: Kind: FILE, File: js/boot.js, Query:
2020-08-19 13:44:27.77 : Reply: /home/tama/code/ada/gnoga/js/boot.js (text/javascript)
2020-08-19 13:44:28.16 : New connection - ID 2
2020-08-19 13:44:28.16 : Requested: Kind: FILE, File: favicon.ico, Query:
2020-08-19 13:44:28.16 : Reply: /home/tama/code/ada/gnoga/html/favicon.ico (image/x-icon)
2020-08-19 13:44:28.56 : Sending to default route for Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari
/537.36 on Linux x86_64 from 127.0.0.1:33916
2020-08-19 13:44:28.67 : Error connection 2 closed by exception.
2020-08-19 13:44:28.67 : raised PROGRAM_ERROR : gnoga-gui-view.adb:273 accessibility check failed
[bin/tutorial_09]
Gnoga.Gui.View.Add_Element at gnoga-gui-view.adb:273
Gnoga.Gui.View.New_Element at gnoga-gui-view.adb:287
Tutorial_09.On_Connect at tutorial_09.adb:82
Gnoga.Application.Multi_Connect.On_Connect at gnoga-application-multi_connect.adb:96
Gnoga.Server.Connection.Event_Task_TypeT at gnoga-server-connection.adb:1251
0x649894 system__tasking__stages__task_wrapper at ???
[/lib/x86_64-linux-gnu/libpthread.so.0]
0x7f62a0fa24a2
[/lib/x86_64-linux-gnu/libc.so.6]
0x7f62a08d3d0d
0xfffffffffffffffe

2020-08-19 13:44:28.67 : Connection_Data freed -1
2020-08-19 13:44:28.67 : Finalizing connection - 2

Discussion

  • Tama McGlinn

    Tama McGlinn - 2020-08-19

    I'm on dev_1.6 branch, commit a3deffc3e6e. Every prior tutorial worked as expected.

     
  • Blady

    Blady - 2020-08-21

    Thanks for reporting, I can reproduce it with GNAT Community 2020. It wasn't the case with GNAT Community 2019. Could you please precise you GNAT version?

     

    Last edit: Blady 2020-08-21
  • Blady

    Blady - 2021-02-10
    • status: open --> pending
     
  • Blady

    Blady - 2021-02-10

    A fix has been pushed with this commit.
    Is it now ok on your side?

     
  • Blady

    Blady - 2022-03-20
    • status: pending --> closed
    • assigned_to: Blady
    • Milestone: Ongoing --> 1.6
     
  • Blady

    Blady - 2022-03-20

    Closed if there are no other error feedback.

     

Log in to post a comment.