Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output repetitions #20

Open
LorenzoTa opened this issue Oct 4, 2017 · 3 comments
Open

output repetitions #20

LorenzoTa opened this issue Oct 4, 2017 · 3 comments

Comments

@LorenzoTa
Copy link
Contributor

hi,
yesterday i was running your client (probably 82298a6 ie your version without my --help modification) and
today I found many lines replicated in the RoText output.

Since i use --no_time I'm not able to tell you the exact moment the issue appeared, but the first doubled line contains

hey, .... la la laaa laa, la la la

After some times every line appearead 3 times, then 4 times and this moring each line appeared 5 times.

Probably when the issue appeared I was logged with the same client from another PC at home,but i'm not sure of the time coincidence.

relaunching the client with current dd36ae2 version works as expected

L*

@choroba
Copy link
Owner

choroba commented Oct 4, 2017

This happens when the worker thread crashes and is restarted, it can retrieve some lines again. I need to make it crash less often, i.e. the WWW::Mechanize shouldn't kill it when it can't connect to PM, which is unfortunately a common problem.

@LorenzoTa
Copy link
Contributor Author

LorenzoTa commented Oct 5, 2017

dunno if this is related, but after many worker restart I found a Perl interpreter crash window (win10) and the following erroro in the console:
Restarting worker... Restarting worker... Restarting worker... Restarting worker... Restarting worker... Restarting worker... Restarting worker... Attempt to free nonexistent shared string '_ErrorInfo_', Perl interpreter: 0xe16fe8 at D:/ulisse/perl5.26.64bit/perl/site/lib/Tk.pm line 424, <__ANONIO__> line 88710. Free to wrong pool e16c30 not 1bf7f100 at D:/ulisse/perl5.26.64bit/perl/site/lib/Tk.pm line 424, <__ANONIO__> line 88710.

@choroba
Copy link
Owner

choroba commented Oct 5, 2017

It might be related, as the restarted worker is started after Tk has been loaded, but Tk isn't thread safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants