Re: php_ow
Thomas Berg <thomas <at> branndal.se>
2007-11-04 08:49:58 GMT
Hi,
Great, I´ll try the cvs version.
Best regards,
Thomas
Christian Magnusson skrev:
> I fixed it in the cvs..
>
> diff -u -r1.29 globals.c
> --- module/owlib/src/c/globals.c 7 Oct 2007 22:57:32 -0000 1.29
> +++ module/owlib/src/c/globals.c 4 Nov 2007 07:10:14 -0000
> <at> <at> -53,7 +53,7 <at> <at>
> #endif
>
> .opt = 0 ,
> - .progname = "One Wire File System" ,
> + .progname = NULL , // "One Wire File System" , Can't allocate here
> since it's freed
> .want_background = 1 ,
> .now_background = 0 ,
>
>
>
>
>> -----Original Message-----
>> From: owfs-developers-bounces <at> lists.sourceforge.net [mailto:owfs-
>> developers-bounces <at> lists.sourceforge.net] On Behalf Of Thomas Berg
>> Sent: den 3 november 2007 12:37
>> To: owfs-developers <at> lists.sourceforge.net
>> Subject: [Owfs-developers] php_ow
>>
>> Hi,
>>
>> I´ve recently compiled owfs with php support and dosen´t get it to
>> work.
>> If I try to run a sample I get this error
>>
>> php owphp_test.php
>> *** glibc detected *** free(): invalid pointer: 0xb6fbe0b0 ***
>> Aborted
>>
>> running on debian etch with PHP5
>>
>> PHP-script looks like
>> <?php
>>
>> require "load_php_OW.php";
>> init( "localhost:3001" );
>>
>> //get( "/10.301639010800/present" );
>>
>> finish();
>>
>> ?>
>> and load_php_OW.php is not modified at all.
>>
>> Any ideas?
>>
>> Regards,
>> Thomas
>>
>> Detta E-postbrev har kontrollerats avseende virus.
>>
>>
>>
>> -----------------------------------------------------------------------
>> --
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems? Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
> Detta E-postbrev har kontrollerats avseende virus.
>
>
>
Detta E-postbrev har kontrollerats avseende virus.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/