Bug 1036351
| Summary: | [abrt] gimp-2.8.8-3.fc19: pango_layout_iter_get_char_extents: Process /usr/bin/gimp-2.8 was killed by signal 8 (SIGFPE) | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | HeeroYuy <baleineh> | ||||||||||||||||||||||
| Component: | pango | Assignee: | Akira TAGOH <tagoh> | ||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||
| Version: | 19 | CC: | baleineh, fonts-bugs, i18n-bugs, nphilipp, phracek, tagoh, thuta87 | ||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/47dafe76cbdcbd4c36877fb80f5976a2afbe65ca | ||||||||||||||||||||||||
| Whiteboard: | abrt_hash:ac5c0436ea0ca7860fb6028b44c44d7a377de16a | ||||||||||||||||||||||||
| Fixed In Version: | pango-1.34.1-2.fc19 | Doc Type: | Bug Fix | ||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||
| Last Closed: | 2014-02-01 04:05:16 UTC | Type: | --- | ||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||
|
Description
HeeroYuy
2013-12-01 11:00:56 UTC
Created attachment 831185 [details]
File: backtrace
Created attachment 831186 [details]
File: cgroup
Created attachment 831187 [details]
File: core_backtrace
Created attachment 831189 [details]
File: dso_list
Created attachment 831191 [details]
File: environ
Created attachment 831193 [details]
File: limits
Created attachment 831195 [details]
File: maps
Created attachment 831197 [details]
File: open_fds
Created attachment 831200 [details]
File: proc_pid_status
Created attachment 831202 [details]
File: var_log_messages
Looks like a division by zero here:
--- 8< --- pango/pango-layout.c:6098 -- pango_layout_iter_get_char_extents() ---
x0 = (iter->character_position * cluster_rect.width) / iter->cluster_num_chars;
--- >8 ---
The cluster_num_chars member is opaque to outside API users, so IMO has to be set by pango itself:
--- 8< --- app/tools/gimptexttool.c:841 -- gimp_text_tool_draw_selection() ---
iter = pango_layout_get_iter (layout);
gimp_draw_tool_push_group (draw_tool, fill_group);
do
{
if (! pango_layout_iter_get_run (iter))
continue;
i = pango_layout_iter_get_index (iter);
if (i >= min && i < max)
{
PangoRectangle rect;
gint ytop, ybottom;
pango_layout_iter_get_char_extents (iter, &rect);
pango_layout_iter_get_line_yrange (iter, &ytop, &ybottom);
rect.y = ytop;
rect.height = ybottom - ytop;
pango_extents_to_pixels (&rect, NULL);
gimp_text_layout_transform_rect (text_tool->layout, &rect);
rect.x += offset_x;
rect.y += offset_y;
gimp_draw_tool_add_rectangle (draw_tool, TRUE,
rect.x, rect.y,
rect.width, rect.height);
}
}
while (pango_layout_iter_next_char (iter));
--- >8 ---
Changing component to pango.
Please let me know how to reproduce this issue. pango-1.36.1-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pango-1.36.1-2.fc20 pango-1.34.1-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/pango-1.34.1-2.fc19 Package pango-1.36.1-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pango-1.36.1-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1429/pango-1.36.1-2.fc20 then log in and leave karma (feedback). pango-1.36.1-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. pango-1.34.1-2.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |