-
Notifications
You must be signed in to change notification settings - Fork 36
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
Dying with non-ASCII utf8 DB message, with use warnings FATAL => 'all'; leads to "Wide character in subroutine entry" error message with DB-message omitted #108
Comments
Your report is unclear. Could you specify the steps to reproduce and provide a short Perl program which shows the problem? Thank you! |
Hm... Tried to write step by step guide how to reproduce it, and found out that I can not reproduce this from scratch on clean environment... Will need more time to revert my dev server and project I am working on to original configuration, where I met this issue, and then will try to reproduce it there, finding the key point... This might take some time |
Understood. Thank you for your efforts. In the meantime perhaps someone else will have some insight into the issue. |
I found the cause... If you set Quite a good way to shoot own leg... But I guess this Do you need more detailed instructions for bug reproduction? |
Well, it wouldn't hurt.... |
On clean Debian (or Debian based) installation do:
add Exit shell and login again.
Run following script:
It will give you
This a real problem, you will have hard time finding the real cause of why program fails. Now comment out
Two last lines is expected error message in Russian, and first line should not be there from my point of view. |
Update: see #108 (comment) below, to get up to date bug description.
I've stabled a problem:
I have DB initialized with non-English (and not Latin) utf8 locale. (It is Russian, but this is not really importaint)
I am connecting to the DB via network (this one is important, peer connection works well)
I am running a query that fails with an error.
Program dies, (as I have
RaiseError => 1
) but does not print any error text, it is only printsWide character in print
error message.When I reinitialized DB cluster running it with en_US.UTF8 locale, this problem have gone. I got proper error message.
Main question: is this problem known? If it is not, or known but did not fixed yet, I will explore it more, and provide more detailed but report.
The text was updated successfully, but these errors were encountered: