Re: [wsjt-devel] EmulateTransceiver bug

2019-01-25 Thread Bill Somerville
On 25/01/2019 05:16, Black Michael via wsjt-devel wrote: I don't see anything in there about serialization...but here's a thread which shows some examples and says "don't do it" referring to pass by reference. https://stackoverflow.com/questions/8455887/stack-object-qt-signal-and-parameter-as-

Re: [wsjt-devel] EmulateTransceiver bug

2019-01-24 Thread Black Michael via wsjt-devel
I don't see anything in there about serialization...but here's a thread which shows some examples and says "don't do it" referring to pass by reference. https://stackoverflow.com/questions/8455887/stack-object-qt-signal-and-parameter-as-reference Mike On Thursday, January 24, 2019, 5:22:36

Re: [wsjt-devel] EmulateTransceiver bug

2019-01-24 Thread Bill Somerville
On 24/01/2019 23:07, Black Michael via wsjt-devel wrote: And where does this serialization take place?  Are you saying it's a default condition of Qt to serialize across event boundaries? de Mike W9MDB Mike, you need to read up on the Qt signal/slot mechanism and how queued signals are proc

Re: [wsjt-devel] EmulateTransceiver bug

2019-01-24 Thread Black Michael via wsjt-devel
And where does this serialization take place?  Are you saying it's a default condition of Qt to serialize across event boundaries? de Mike W9MDB On Thursday, January 24, 2019, 4:05:37 PM CST, Bill Somerville wrote: On 24/01/2019 21:07, Black Michael via wsjt-devel wrote: If app

Re: [wsjt-devel] EmulateTransceiver bug

2019-01-24 Thread Bill Somerville
On 24/01/2019 22:45, Black Michael via wsjt-devel wrote: Here's more context Hi Mike, I need more than that. It looks like PTT has just been set, is this a "Test PTT" button click? What Hamlib backend is being used and how is CAT and PTT configured? 73 Bill G4WJS. __

Re: [wsjt-devel] EmulateTransceiver bug

2019-01-24 Thread Black Michael via wsjt-devel
Could be a buffer flushing problem on the segfault.   Here's more context [20190124 06:32:14.097 Eastern Standard Time D] C:\JTSDK-Tools\tmp\wsjtx\HamlibTransceiver.cpp:1017 - "HamlibTransceiver::poll:" rig_get_ptt PTT = 0[20190124 06:32:15.061 Eastern Standard Time D] C:\JTSDK-Tools\tmp\wsjtx\C

Re: [wsjt-devel] EmulateTransceiver bug

2019-01-24 Thread Bill Somerville
On 24/01/2019 21:07, Black Michael via wsjt-devel wrote: If appears to me that the new_state variable is passed by reference to the update event and it may be losing scope before being handled. Hi Mike, I doubt that. The signal is not crossing a thread boundary so it will simply be a functio

[wsjt-devel] EmulateTransceiver bug

2019-01-24 Thread Black Michael via wsjt-devel
I'm working with a user who was running a Flex and split=Fake It. The last line of his debug log showed this:[20190124 06:32:15.061 Eastern Standard Time D] C:\JTSDK-Tools\tmp\wsjtx\EmulateSplitTransceiver.cpp:41 - EmulateSplitTransceiver::handle_update: from wrapped: Transceiver::TransceiverS