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

Device::USB - Segmentation Fault (Core Dump) #10

Open
Jezzrel opened this issue Apr 10, 2018 · 0 comments
Open

Device::USB - Segmentation Fault (Core Dump) #10

Jezzrel opened this issue Apr 10, 2018 · 0 comments

Comments

@Jezzrel
Copy link

Jezzrel commented Apr 10, 2018

I just run a sample code to retrieve information from a thermal receipt printer but the script is trowing up segmentation Fault (Core Dump).

The error was raise by the package USB.PM on sub routine/function sub print on line 101. How can we overcome this error?

OS. Fedora 27
Perl 5.24.1

If I run from bash # perl /var/www/cgi-bin/test_usb.pl I get the error with CORE DUMP, but if I run with SUDO, I get only segmentation fault.

Apache error log will display the error as,
Negative repeat count does nothing at /usr/local/share/perl5/Printer/ESCPOS/Connections/USB.PM line 101, line 1

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

No branches or pull requests

1 participant