[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
newlispfanclub.alh.net • View topic - segmentation fault

segmentation fault

Notices and updates

segmentation fault

Postby kesha » Mon Apr 25, 2016 10:38 am

kesha
 
Posts: 7
Joined: Tue Dec 04, 2012 9:11 pm

Re: segmentation fault

Postby Lutz » Mon Apr 25, 2016 5:18 pm

The second parameter of unpack must contain a valid memory addrees or a segfault can occur. This is mentioned in the documentation:
http://www.newlisp.org/downloads/newlis ... tml#unpack
... in the second paragraph.
Lutz
 
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California

Re: segmentation fault

Postby kesha » Mon Apr 25, 2016 8:46 pm

I don't think this is the correct behaviour.
The program falls, without the possibility to fix something.
kesha
 
Posts: 7
Joined: Tue Dec 04, 2012 9:11 pm

Re: segmentation fault

Postby Lutz » Wed Apr 27, 2016 6:26 am

A segfault may leave a process in an unknown, potentially unsafe, state and the process should exit.
Lutz
 
Posts: 5279
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California


Return to newLISP newS

Who is online

Users browsing this forum: No registered users and 2 guests

cron