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
@@ -53,7 +53,7 @@
 #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: [EMAIL PROTECTED] [mailto:owfs-
> [EMAIL PROTECTED] On Behalf Of Thomas Berg
> Sent: den 3 november 2007 12:37
> To: [email protected]
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to