ID:               20482
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         DOM XML related
 Operating System: RedHat 7.2 kernel 2.4.9-13
 PHP Version:      4.4.0-dev
 New Comment:

tor 2002-11-28 klockan 15.00 skrev PHP Bug Database:

> Could you please provide the shortest possible example, which
> segfaults. I'm willing to investigate into it and hopefully provide
a
> solution for 4.3, but this will be released soon, so you have to
hurry
> up :)

The problem was not related to PHP. I found out the real reason for
this
segfault. My PHP module was built with unixODBC 2.2.3 and Freetds
(snapshot 20021118).
There are some ODBC driver function call related to cursors made
within
unixODBC. It appears that these functions (badly or not implemented)
in
Freetds messes up the dynamic memory areas.

What I did was to comment out some odbc option calls in the unixODBC
code and the problem was solved. This is not the proper way to solve
the
problem but it helped me for now. I suppose I shold pass this case
over
to the unixODBC/Freetds people or...?


Previous Comments:
------------------------------------------------------------------------

[2002-11-28 08:00:52] [EMAIL PROTECTED]

Could you please provide the shortest possible example, which
segfaults. I'm willing to investigate into it and hopefully provide a
solution for 4.3, but this will be released soon, so you have to hurry
up :)

chregu

------------------------------------------------------------------------

[2002-11-18 11:08:00] [EMAIL PROTECTED]

And also a short example script which can be used to reproduce this
would be nice to have here.. :)


------------------------------------------------------------------------

[2002-11-18 11:07:13] [EMAIL PROTECTED]

Reclassified as DOM XML bug as the segfault seems to be caused by it.

Please provide a backtrace with the CVS snapshot too.


------------------------------------------------------------------------

[2002-11-18 11:01:09] [EMAIL PROTECTED]

I just tried the "latest" snapshot (20021118) but it didn't
help. Still segmentation fault =-(
-- 
Björn Smith <[EMAIL PROTECTED]>

------------------------------------------------------------------------

[2002-11-18 09:58:13] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20482

-- 
Edit this bug report at http://bugs.php.net/?id=20482&edit=1

Reply via email to