GEARMAN_WORKER_NON_BLOCKING will crash with some values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman |
Fix Released
|
Undecided
|
Brian Aker |
Bug Description
Hi,
I tried range of values from 2.000 to 10.000.
If I am getting it right $worker-
Segmentation fault will appear if timeout is reached or if job is received. In both cases it's the same fault:
(gdb) run test.php
Starting program: /usr/bin/php test.php
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
warning: the debug information found in "/usr/lib/
warning: the debug information found in "/usr/lib/
warning: the debug information found in "/usr/lib/
warning: the debug information found in "/usr/lib/
warning: the debug information found in "/usr/lib/
warning: the debug information found in "/usr/lib/
[New Thread 0x7fffef826700 (LWP 22165)]
OS: Linux goran 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64
PHP: 5.3.10-1ubuntu3.4
pecl/gearman: 1.1.0
gearman: 1.1.3
[Thread 0x7fffef826700 (LWP 22165) exited]
looping
waiting
wait no more
looping
waiting
wait no more
looping
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2866328 in gearman_packet_free (packet=0x10a06a8) at libgearman/
289 if (packet-
OS: Linux goran 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64
PHP: 5.3.10-1ubuntu3.4
pecl/gearman: 1.1.0
gearman: 1.1.3
Let me know if I can provide further information.
Changed in gearmand: | |
assignee: | nobody → Brian Aker (brianaker) |
Changed in gearmand: | |
status: | New → Incomplete |
Changed in gearmand: | |
status: | Incomplete → Fix Released |
./configure --enable-assert --disable- libdrizzle --enable-debug
* CPP Flags: -fvisibility=hidden
* LIB Flags: -pie
* Assertions enabled: yes
* Debug enabled: yes
* Warnings as failure: no
* Building with libsqlite3 yes
* Building with libdrizzle no
* Building with libmemcached yes
* Building with libpq no
* Building with tokyocabinet no
* Building with libmysql yes
* make -j: 3
* VCS checkout: no