Bug 909019
| Summary: | [abrt] gimp-2.8.2-6.fc18: gtk_text_view_set_attributes_from_style: Process /usr/bin/gimp-2.8 was killed by signal 11 (SIGSEGV) | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard Carlson <carlsonrichard> | ||||||||||||||||||||||||||
| Component: | oxygen-gtk2 | Assignee: | Rex Dieter <rdieter> | ||||||||||||||||||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | 18 | CC: | alekcejk, cime_now, ghisvail, johnny.rengifo, nphilipp, rdieter | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:77571783b24e4e39d011af2bcffd08a35d935abe | ||||||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2013-02-15 04:58:51 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
Richard Carlson
2013-02-08 03:53:06 UTC
Created attachment 694910 [details]
File: backtrace
Created attachment 694911 [details]
File: cgroup
Created attachment 694912 [details]
File: core_backtrace
Created attachment 694913 [details]
File: dso_list
Created attachment 694914 [details]
File: environ
Created attachment 694915 [details]
File: limits
Created attachment 694916 [details]
File: maps
Created attachment 694917 [details]
File: open_fds
Created attachment 694918 [details]
File: proc_pid_status
Created attachment 694919 [details]
File: var_log_messages
You seem to use the Oxygen GTK theme, probably because you run KDE, right? This bug seems to show up only with this GTK theme, therefore I'll change the component to oxygen-gtk2. When used with oxygen-gtk2, text_view->layout->default_style is NULL which may not be the case as it is dereferenced immediately in gtk_text_view_set_attributes_from_style(). I'll attach a short reproducer which exhibits the issue. Created attachment 695110 [details]
Reproducer which exhibits the problem.
This reproducer creates a window widget, adds a scrolled window to it and then a text view into the scrolled window. I've left out code which isn't necessary for the crash to happen, as it is nothing will be shown when run under a different gtk theme that doesn't produce a crash. I can provide a slightly longer reproducer which actually does something visible on request.
Build with:
gcc -o tv2 tv2.c `pkg-config --clags --libs gtk+-2.0`
Run with the oxygen-gtk theme (e.g. under KDE) to show the problem. When run with e.g. the "Adwaita" theme (GNOME 3), it doesn't crash.
For the crash to happen, the window widget "win" may not be realized when the text view "view" is added to the scrolled window "scrolled". Adding "gtk_widget_show (win);" or "gtk_widget_realize (win);" before the text view is added to the scrolled window container avoids the crash.
Is this happens with oxygen-gtk2-1.3.1? I compiled your test case, and run against oxygen-gtk2-1.3.1, and nothing seems to happen... no window, no crash. ? So, this is regression in oxygen-gtk2-1.3.2? (In reply to comment #14) > I compiled your test case, and run against oxygen-gtk2-1.3.1, and nothing > seems to happen... no window, no crash. ? The package I used is oxygen-gtk2-1.3.2-1.fc18.x86_64. I can confirm that 1.3.1 doesn't exhibit the problem, and my stripped down testcase doesn't crash either after upgrading again to 1.3.2. I'll attach the functional test case then which crashes anyway (but only with 1.3.2). Created attachment 695112 [details]
Reproducer which exhibits the problem (with oxygen-gtk2-1.3.2)
*** Bug 908868 has been marked as a duplicate of this bug. *** Maybe this is similar bug? Upgrade to oxygen-gtk2 1.3.2 is buggy https://bugs.kde.org/show_bug.cgi?id=314545 If so there is available fix http://quickgit.kde.org/?p=oxygen-gtk.git&a=commitdiff&h=fe89346007baba61df879bb8a8986d8b8b1e2ac4&hp=e8f0ffcdd3759940926f0443d11c9d5cfd9c0d3e This build with fix from kde bug 314545 fixes crash? http://koji.fedoraproject.org/koji/buildinfo?buildID=382932 So can someone test package from comment 21? (In reply to comment #21) > This build with fix from kde bug 314545 fixes crash? > http://koji.fedoraproject.org/koji/buildinfo?buildID=382932 With the old oxygen-gtk2-1.3.2-1.fc18.x86_64 and a new user (i.e. one who hasn't run GIMP before), running gimp crashes, with the new oxygen-gtk2-1.3.2-2.fc18.x86_64 it runs flawlessly. Thanks for the fix! Works fine heh, thank you! Works fine for me after upgrade to oxygen-gtk2-1.3.2-2.fc18.x86_64. Thank you for fixing this. oxygen-gtk2-1.3.2.1-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/oxygen-gtk2-1.3.2.1-1.fc18 Package oxygen-gtk2-1.3.2.1-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing oxygen-gtk2-1.3.2.1-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2418/oxygen-gtk2-1.3.2.1-1.fc18 then log in and leave karma (feedback). oxygen-gtk2-1.3.2.1-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 910920 has been marked as a duplicate of this bug. *** |