Menu

#85 Access violation when sending sth on closed port

V3.0.0.33
closed-fixed
nobody
None
V3.0.0.34
1
2017-12-05
2017-08-29
No

While the port is closed (so this describes admittedly not a useful user scenario), an access violation is thrown when something is being sent via the "Send" tab in one of the the input lines (enter content, click on either "Number", "as Hex" or "as ASCII", then the violation occours).


[Window Title]
Information

[Content]
Last Error Message was:

Error in SendString,
Access violation at address 779DFF33 in module 'ntdll.dll'. Write of address 000000E0

RealTerm: Serial Capture Program 3.0.0.33
C:\Program Files (x86)\BEL\Realterm\realterm.exe 25.06.2017
CodeSigned by Broadcast Equipment Ltd
Windows (Version 6.2, Build 9200, 64-bit Edition)
Memory Used: 1899kb Run 7 times 22,8 hrs

ctrl-C to copy this to clipboard

[OK]


Discussion

  • Simon Bridger

    Simon Bridger - 2017-08-29

    Seem to be two issues:
    a) Not-autoopening first time i.e when port has not been open before
    b) showing error message / error message obscure.

    In case B, what do you expect RT to do when the user send to a closed or non-existent port?
    (when auto-open is not set)

     
  • Daniel Hoenig

    Daniel Hoenig - 2017-08-30

    Disabling the send functionality would be the most user friendly solution (maybe with a status string "port closed" withing the send data area) as it gives the user feedback even before s/he performs a useless action.

     
  • Simon Bridger

    Simon Bridger - 2017-09-27

    fixed in 3.1.34
    no longer brings up error dialog
    auto-open is acting properly first time

    The icon shows X when port is closed, and error light and error message in status bar will show.
    Because a vaild port will auto-open, it is not so useful to know it is not open.

     
  • Simon Bridger

    Simon Bridger - 2017-10-05
    • status: open --> awaiting-testing
    • Fixed_in_Version: Not Fixed --> V3.0.0.34
     
  • Daniel Hoenig

    Daniel Hoenig - 2017-12-04

    I can confirm this is fixed in 3.0.1.44.

     
  • Simon Bridger

    Simon Bridger - 2017-12-05
    • status: awaiting-testing --> closed-fixed
     

Log in to post a comment.