|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71869 Program received signal SIGFPE, Arithmetic exception in HaruDoc::loadTTC
Submitted: 2016-03-21 15:13 UTC Modified: 2017-10-24 23:25 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:-1 (-100.0%)
From: vvvaagn at gmail dot com Assigned:
Status: Suspended Package: haru (PECL)
PHP Version: 5.6.20RC1 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
20 + 42 = ?
Subscribe to this entry?

 [2016-03-21 15:13 UTC] vvvaagn at gmail dot com
(gdb) r test.php input/msgothic.ttc
Starting program: /usr/local/bin/php test.php input/msgothic.ttc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
Program received signal SIGFPE, Arithmetic exception.
0x00007ffff6469477 in ?? () from /usr//lib/
(gdb) i r
rax            0x35b60	220000
rbx            0x1614480	23151744
rcx            0x0	0
rdx            0x0	0
rsi            0x161453a	23151930
rdi            0x1614420	23151648
rbp            0x1614590	0x1614590
rsp            0x7fffffffaf90	0x7fffffffaf90
r8             0xdc	220
r9             0x1614538	23151928
r10            0x16142d0	23151312
r11            0x246	582
r12            0x1614590	23152016
r13            0x0	0
r14            0x1614810	23152656
r15            0x0	0
rip            0x7ffff6469477	0x7ffff6469477
eflags         0x10206	[ PF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
(gdb) quit

bug reproduce when second argument is 1 in loadTTC function

Test script:
if (strpos($argv[1], "ttc")==true)
$doc = new HaruDoc();


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-23 01:09 UTC]
Are you able to generate a backtrace - probably the "bt" command.

Also, the OS is marked as all - please can you specify at least one operating system that you have reproduced the issue on, so that other people can try to reproduce it.
 [2017-04-02 15:02 UTC]
-Package: *General Issues +Package: haru
 [2017-10-24 23:25 UTC]
-Status: Open +Status: Suspended
 [2017-10-24 23:25 UTC]
The haru package have not had a release since 2012 and no development since, its safe to say that this package is no longer maintained, if development picks back up then this report should be re-opened
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 08:05:45 2022 UTC