[MacPorts] #35267: php54-gearman error for object pointer being freed was not allocated
#35267: php54-gearman error for object pointer being freed was not allocated --------------------------------+------------------------------------------- Reporter: chris@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: --------------------------------+------------------------------------------- I can't get php54-gearman @1.0.2_2 to work properly. It builds fine, but when I try to utilize the Gearman PHP libraries it fails to run. {{{ $ php54 Dispatch.php [ 1] Starting 25 workers php54(15382) malloc: *** error for object 0x10b892c58: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6 }}} Everything else in PHP seems to work normal. I have tried both php5 and php54. Both result in the same outcome. Machine is brand new. Using Mac OS X 10.7.4, Xcode 4.3.3 Please let me know if I've included enough detail. I'm new around here. -- Ticket URL: <https://trac.macports.org/ticket/35267> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35267: php54-gearman error for object pointer being freed was not allocated --------------------------------+------------------------------------------- Reporter: chris@… | Owner: rodney.rehm@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: php54-gearman --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => rodney.rehm@… * port: => php54-gearman Comment: In the future, please fill in the Port field and Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/35267#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35267: php54-gearman error for object pointer being freed was not allocated --------------------------------+------------------------------------------- Reporter: chris@… | Owner: rodney.rehm@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: php54-gearman --------------------------------+------------------------------------------- Comment(by pixilla@…): chris: Is there a simple example that can be download for testing? -- Ticket URL: <https://trac.macports.org/ticket/35267#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35267: php54-gearman error for object pointer being freed was not allocated --------------------------------+------------------------------------------- Reporter: chris@… | Owner: rodney.rehm@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: php54-gearman --------------------------------+------------------------------------------- Comment(by chris@…): Got it. What kind of example? PHP? The default code samples on the PHP website will reproduce the above. http://www.php.net/manual/en/gearman.examples-reverse-bg.php Also, it appears that the error only happens with the worker class. The client sample normally waits for a response from the worker, but it just dies with no error. {{{ Christophers-MacBook-Pro:Sample chris$ php Worker.php Starting php(87054) malloc: *** error for object 0x10379cde0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6 Christophers-MacBook-Pro:Sample chris$ php Worker.php Starting php(87060) malloc: *** error for object 0x109186de0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap: 6 }}} -- Ticket URL: <https://trac.macports.org/ticket/35267#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35267: php54-gearman error for object pointer being freed was not allocated --------------------------------+------------------------------------------- Reporter: chris@… | Owner: rodney.rehm@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: php54-gearman --------------------------------+------------------------------------------- Comment(by chris@…): Not sure what difference this makes, but I installed the PECL (I think from pear-CodeGen_PECL) to see if I could use the PECL installer. I tried versions pecl-gearman 1.0.2 (version that macports installs), 1.0.1, 1.0.1, and 0.8.1. All of these versions result with the same message above. -- Ticket URL: <https://trac.macports.org/ticket/35267#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35267: php54-gearman error for object pointer being freed was not allocated --------------------------------+------------------------------------------- Reporter: chris@… | Owner: rodney.rehm@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: php54-gearman --------------------------------+------------------------------------------- Comment(by roberto.carvajal@…): Hey guys, I have exactly the same problem and I tracked it down to libboost 1.50 and gearman 0.34, I noticed that I couldn't compile gearman 0.33 against libboost 1.50 (which I upgraded trough macports), the only solution was to downgrade libboost back to 1.47 and compile gearman 0.33 again, any other combination, even gearman 0.34 against libboost 1.47 failed.. just my 2¢ in case anyone else needs to have gearman running again quickly.. -- Ticket URL: <https://trac.macports.org/ticket/35267#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35267: php-gearman error for object pointer being freed was not allocated --------------------------+--------------------------- Reporter: chris@… | Owner: rodney.rehm@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: php-gearman | --------------------------+--------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * port: php54-gearman => php-gearman Comment: I do not get a crash when running the example scripts on the above web page. I just get errors presumably because I am not running a gearmand server. Is anybody still seeing this problem with the current versions? If so please report the problem to the developers of gearmand; it doesn't sound like a MacPorts-specific problem. -- Ticket URL: <https://trac.macports.org/ticket/35267#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts