Edit report at https://bugs.php.net/bug.php?id=55827&edit=1

 ID:                 55827
 Updated by:         johan...@php.net
 Reported by:        serj dot sj at gmail dot com
 Summary:            Loop with caption
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            *General Issues
 Operating System:   Debian 6.0
 PHP Version:        5.3SVN-2011-10-01 (SVN)
 Block user comment: N
 Private report:     N

 New Comment:

Please report bugs for the Imagick module at http://pecl.php.net/imagick Sorry 
for the inconvenience.


Previous Comments:
------------------------------------------------------------------------
[2011-10-01 14:20:26] serj dot sj at gmail dot com

Description:
------------
PHP Backend (I tried Apache2 mod php5 only now) made something(see trace) with 
loop:
Process 29537 attached - interrupt to quit
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                              = 0
stat("/usr/share/fonts/type1/gsfonts/n019003l.afm", {st_mode=S_IFREG|0644, 
st_size=43198, ...}) = 0
access("/usr/share/fonts/type1/gsfonts/n019003l.afm", F_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.afm", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=43198, ...}) = 0
mmap(NULL, 43198, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c70000
close(179)                              = 0
munmap(0x7fbe68c70000, 43198)           = 0
munmap(0x7fbe68c7b000, 79155)           = 0
open("/usr/share/fonts/type1/gsfonts/n019003l.pfb", O_RDONLY) = 179
fcntl(179, F_SETFD, FD_CLOEXEC)         = 0
fstat(179, {st_mode=S_IFREG|0644, st_size=79155, ...}) = 0
mmap(NULL, 79155, PROT_READ, MAP_PRIVATE, 179, 0) = 0x7fbe68c7b000
close(179)                   

and so on with 
--- SIGPROF (Profiling timer expired) @ 0 (0) ---
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={120, 0}}, NULL) = 0
rt_sigaction(SIGPROF, {0x7fbe63989b10, [PROF], SA_RESTORER|SA_RESTART, 
0x7fbe67c2b1e0}, {0x7fbe63989b10, [PROF], SA_RESTORER|SA_RESTART, 
0x7fbe67c2b1e0}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0
write(85, "[Sat Oct 01 18:13:56 2011] [erro"..., 190) = 190
write(85, "[Sat Oct 01 18:13:56 2011] [erro"..., 75) = 75
write(85, "[Sat Oct 01 18:13:56 2011] [erro"..., 132) = 132
write(85, "[Sat Oct 01 18:13:56 2011] [erro"..., 149) = 149
chdir("/")                              = 0
munmap(0x7fbe55ed9000, 528384)          = 0
open("/dev/urandom", O_RDONLY)          = 180
read(180, "\4O\217q\1\3\216\300", 8)    = 8
close(180)                              = 0
open("/dev/urandom", O_RDONLY)          = 180
read(180, "v\21=J\242\206\300\230", 8)  = 8
close(180)                              = 0
open("/dev/urandom", O_RDONLY)          = 180
read(180, "3[\324\364w\302\217\206", 8) = 8
close(180)                              = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
writev(178, [{"HTTP/1.1 200 OK\r\nDate: Sat, 01 O"..., 226}, 
{"\37\213\10\0\0\0\0\0\0\3", 10}, {"\3\0", 2}, {"\0\0\0\0\0\0\0\0", 8}], 4) = 
246
write(169, "93.178.233.20 - - [01/Oct/2011:1"..., 194) = 194
getgid()                                = 1005
semop(32769, {{0, -1, 0}}, 1)           = -1 EACCES (Permission denied)
semop(32769, {{0, 1, 0}}, 1)            = -1 EACCES (Permission denied)
times({tms_utime=11179, tms_stime=342, tms_cutime=0, tms_cstime=0}) = 2000766218
shutdown(178, 1 /* send */)             = -1 ENOTCONN (Transport endpoint is 
not 
connected)
close(178)                              = 0
exit_group(0)                           = ?
Process 29537 detached

at end as normal
---
>From manual page: http://www.php.net/function.imagick-setfont#refsect1-
function.imagick-setfont-examples
---


Test script:
---------------
 $image = new Imagick();
    $image->newPseudoImage(100, 100, 'caption:Ёж!');
    $image->setImageFormat('png');
    
    header("Content-Type: image/png");
    echo $image;




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



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

Reply via email to