Professional Web Applications Themes

#24975 [Opn->Fbk]: Segmentation Fault after ImageCreate on Png - PHP Development

ID: 24975 Updated by: [email]iliaaphp.net[/email] Reported By: c-dilla at gmx dot ch -Status: Open +Status: Feedback Bug Type: GD related Operating System: SuSe 8.2 PHP Version: 4.3.2 New Comment: Please try using this CVS snapshot: [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url] For Windows: [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url] If the problem still occurs please include a backtrace in your reply. Previous Comments: ------------------------------------------------------------------------ [2003-08-07 08:13:51] c-dilla at gmx dot ch Description: ------------ hey, i want to do ImageString ($im, 10, 5, 5, "..........", $text_color); ImagePng ($im) i get a Segmentation fault in Apache error log Apache version 1.3.28 gdlib 2.0.15 libpng 1.2.5 php 4.3.2 Stable everything self compiled. i ...

  1. #1

    Default #24975 [Opn->Fbk]: Segmentation Fault after ImageCreate on Png

    ID: 24975
    Updated by: [email]iliaaphp.net[/email]
    Reported By: c-dilla at gmx dot ch
    -Status: Open
    +Status: Feedback
    Bug Type: GD related
    Operating System: SuSe 8.2
    PHP Version: 4.3.2
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]

    If the problem still occurs please include a backtrace in your reply.


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

    [2003-08-07 08:13:51] c-dilla at gmx dot ch

    Description:
    ------------
    hey,
    i want to do
    ImageString ($im, 10, 5, 5, "..........", $text_color);
    ImagePng ($im)
    i get a Segmentation fault in Apache error log
    Apache version 1.3.28
    gdlib 2.0.15
    libpng 1.2.5
    php 4.3.2 Stable

    everything self compiled. i tried to compile a bunch of other versions
    on gd like 2.0.10, but got no better result


    Reproduce code:
    ---------------
    <?
    header ("Content-type: image/png");
    $im = ImageCreate (650, 100)
    or die ("Auf diesem Server funktioniert die Erstellung von PNG
    Grafiken nicht");
    $background_color = ImageColorAllocate ($im, 255, 25, 255);
    $text_color = ImageColorAllocate ($im, 233, 255, 91);
    ImageString ($im, 10, 5, 5, "Auf diesem Server funktioniert die
    Erstellung von PNG Grafiken", $text_color);
    ImagePng ($im);
    ?>

    Expected result:
    ----------------
    nothing happens. Segmentation faul of a Child process in Apache
    error_log



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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=24975&edit=1[/url]

    iliaa@php.net Guest

  2. #2

    Default #24975 [Opn->Fbk]: Segmentation Fault after ImageCreate on Png

    ID: 24975
    Updated by: [email]sniperphp.net[/email]
    Reported By: c-dilla at gmx dot ch
    -Status: Open
    +Status: Feedback
    Bug Type: GD related
    Operating System: SuSe 8.2
    PHP Version: 4.3.2
    New Comment:

    We only support the bundled GD, so configure with --with-gd (without
    any path).



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

    [2003-08-08 06:13:07] c-dilla at gmx dot ch

    latest CVS tested....same result
    error_log of apache
    ------------------
    [Fri Aug 8 15:11:41 2003] [notice] child pid 27517 exit signal
    Segmentation fault (11)
    [Fri Aug 8 15:11:41 2003] [notice] child pid 27516 exit signal
    Segmentation fault (11)
    [Fri Aug 8 15:11:41 2003] [notice] child pid 27514 exit signal
    Segmentation fault (11)
    [Fri Aug 8 15:11:41 2003] [notice] child pid 27513 exit signal
    Segmentation fault (11)
    [Fri Aug 8 15:11:41 2003] [notice] child pid 27488 exit signal
    Segmentation fault (11)

    configuration line
    ------------------
    ../configure --with-apache=../apache_1.3.28 \
    --with-mysql=/usr \
    --with-zlib \
    --enable-debug=yes \
    --enable-safe-mode=no \
    --enable-discard-path=no \
    --with-ttf \
    --with-gd=/usr \
    --enable-gd-imgstrttf \
    --enable-gd-native-ttf \
    --with-png-dir=/usr \
    --with-jpeg-dir=/usr \
    --enable-ftp \
    --enable-bcmath \
    --enable-memory-limit \
    --enable-trans-sid \
    --with-xpm-dir=/usr/X11R6 \
    --enable-magic-quotes \
    --with-tiff-dir=/usr \
    --with-jpeg-dir=/usr \
    --with-freetype-dir=/usr/local \
    --with-t1lib=/usr/local \
    --with-zlib-dir=/usr \
    --with-mcrypt \
    --with-imagick=/usr/lib/ImageMagick/ \
    --enable-sigchild \
    --with-pear=/usr/local/bin/ \
    --enable-memory-limit \
    --enable-exif \
    --enable-wddx \
    --enable-inline-optimization \
    --enable-track-vars \
    --with-curl=/usr \
    --with-pdflib=/usr \
    --with-imap-ssl=/usr/include/openssl \
    --with-imap=/usr/local/ext-imap \
    --enable-memory-limit \
    --enable-dbase \
    --enable-safe-mode \
    --with-iconv \
    --with-gettext \
    --enable-calendar \
    --enable-sysvsem \
    --enable-sysvshm \
    --enable-shmop


    backtrace
    ---------
    backtrace don't want to work, maybe i do something wrong ?! :)
    gdb /www/bin/httpd
    (gdb) run -X
    Starting program: /www/bin/httpd -X
    (no debugging symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...Couldn't get registers: Operation not
    permitted.

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

    [2003-08-07 09:55:11] [email]iliaaphp.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]

    If the problem still occurs please include a backtrace in your reply.

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

    [2003-08-07 08:13:51] c-dilla at gmx dot ch

    Description:
    ------------
    hey,
    i want to do
    ImageString ($im, 10, 5, 5, "..........", $text_color);
    ImagePng ($im)
    i get a Segmentation fault in Apache error log
    Apache version 1.3.28
    gdlib 2.0.15
    libpng 1.2.5
    php 4.3.2 Stable

    everything self compiled. i tried to compile a bunch of other versions
    on gd like 2.0.10, but got no better result


    Reproduce code:
    ---------------
    <?
    header ("Content-type: image/png");
    $im = ImageCreate (650, 100)
    or die ("Auf diesem Server funktioniert die Erstellung von PNG
    Grafiken nicht");
    $background_color = ImageColorAllocate ($im, 255, 25, 255);
    $text_color = ImageColorAllocate ($im, 233, 255, 91);
    ImageString ($im, 10, 5, 5, "Auf diesem Server funktioniert die
    Erstellung von PNG Grafiken", $text_color);
    ImagePng ($im);
    ?>

    Expected result:
    ----------------
    nothing happens. Segmentation faul of a Child process in Apache
    error_log



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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=24975&edit=1[/url]

    sniper@php.net Guest

Similar Threads

  1. [PHP] Segmentation Fault
    By Jay Blanchard in forum PHP Development
    Replies: 0
    Last Post: August 15th, 06:21 PM
  2. #24975 [Fbk->NoF]: Segmentation Fault after ImageCreate on Png
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: August 13th, 09:31 AM
  3. #24975 [Fbk]: Segmentation Fault after ImageCreate on Png
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: August 8th, 12:43 PM
  4. #24975 [Fbk->Opn]: Segmentation Fault after ImageCreate on Png
    By c-dilla at gmx dot ch in forum PHP Development
    Replies: 0
    Last Post: August 8th, 11:13 AM
  5. #24975 [NEW]: Segmentation Fault after ImageCreate on Png
    By c-dilla at gmx dot ch in forum PHP Development
    Replies: 0
    Last Post: August 7th, 01:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139