actuino / light-pack

Automatically exported from code.google.com/p/light-pack
GNU General Public License v3.0
0 stars 0 forks source link

API Connect Causes Crash #118

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. 2x Lightpack, API with no key
2. Connect via Telnet to Prismatik
3. Connection accepted, "Lightpack API v1.4" appears, then immediately, 
Prismatik crashes and the connection is closed. 

What is the expected output? What do you see instead?
It's quite obvious here, really 

What version of the product are you using? On what operating system?
5.10.6 on Windows 7 x64

Please provide any additional information below.
I've attached the log file (start process-connect-crash) with the highest log 
level, and ini for the profile.

Original issue reported on code.google.com by snir.h...@gmail.com on 22 May 2014 at 5:58

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'd also attempted to disconnect one LightPack and run the wizard again to 
create a new profile. I then assigned that profile and attempted to connect, 
and Prismatik still crashed.

So this isn't related to having two Lightpacks.

Also note that I'm not running Prismatik as an Administrator - but the issue 
reproduces even when running Prismatik with admin privileges.

Just for the record, I have another PC at home with a Lightpack and I haven't 
experienced this crash there.

Original comment by snir.h...@gmail.com on 22 May 2014 at 6:09

GoogleCodeExporter commented 9 years ago
Also tried with version 5.11.0, still reproduces.

Original comment by snir.h...@gmail.com on 22 May 2014 at 6:16

GoogleCodeExporter commented 9 years ago
Do you use any antivirus or firewall software? Try to disable it (one by one) 
and check whether it helps. I tried your Lightpack profile on Win7 box - no 
problems.

BTW, according to source code, you have to have "Incoming connection from:" in 
logs immediately after connection is established and server sent API version 
string:
...
    m_clients.insert(client, cs);
    client->write(ApiVersion);
    DEBUG_LOW_LEVEL << "Incoming connection from:" << client->peerAddress().toString();
...

For some reason that never happens.

Original comment by alexey.r...@gmail.com on 10 Jun 2014 at 5:10

GoogleCodeExporter commented 9 years ago
Sorry, my bad, you have this line in logs (I expected it more close to the end 
of log output). Will investigate it further.

Original comment by alexey.r...@gmail.com on 10 Jun 2014 at 5:13

GoogleCodeExporter commented 9 years ago
Another idea: could you turn on constant color mood mode (instead of screen 
grabbing) and try to connect to API server?
If it will still crash - upload a new log file, please.

Original comment by alexey.r...@gmail.com on 10 Jun 2014 at 6:05