in reply to Re^3: Problem with Threaded Socket Server
in thread Problem with Threaded Socket Server

Ok, tried it properly with a new class which inherits DEVICE::SerialPort and the direct way above. Both have the same effect:
*** Error in `/usr/bin/perl': corrupted double-linked list: 0x00000000 +0173d840 ***
or
Segmentation fault (core dumped)

The error messages differ on the crashes. Seems the garbage collection still wants to clean up something and messes it up.

Found this. Sadly i don't understand it and don't know if this may be of any help.

Tomorrow i'll try your second suggestion. Thx alot so far.

Replies are listed 'Best First'.
Re^5: Problem with Threaded Socket Server
by BrowserUk (Patriarch) on Aug 18, 2013 at 21:45 UTC
    Both have the same effect: *** Error in `/usr/bin/perl': corrupted double-linked list: 0x000000000173d840 *** or Segmentation fault (core dumped)

    It was a long shot at best. As I don't do *nix, there is no way for me to investigate those errors further. They do not seem to originate in the Device::SerialPort code.

    Found this. Sadly i don't understand it and don't know if this may be of any help.

    No. It won't help.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.