Bug 483999
Summary: | X BadAlloc crash when clicking combobox | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Kovalsky <dkovalsk> | ||||||||||
Component: | gtk3 | Assignee: | Matthias Clasen <mclasen> | ||||||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 16 | CC: | andreas.bierfert, benl, bugs.michael, colin, mclasen, ted.feasel | ||||||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2013-02-14 02:33:58 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: |
|
Seems strange. It doesn't happen to many people as it's the first time I've seen that reported. It's a stock GTK widget... Maybe test with another theme? I'll be more than happy to try :-) Because I'm not really a theme guy (OK, I change my desktop background, that's it) - how do I try with another theme? I use that combobox frequently, and it has never crashed for me so far.
> How reproducible:
> always in my case
Do you see anything suspicious in $HOME/.claws-mail/quicksearch_history? Just curious.
Hi Michael, good pointer! Suspicious - well, I do use a very complicated "extended search", almost 5000 chars on one line. I have a script which converts a set of rules (one line each, with comments) to a claws-like extended search format. Each rule is seperated by '|'. I copy/paste this long string into the search box to select messages out of trash that I want to purge. I've tried renaming quicksearch_history to quicksearch_history.bak, start claws, search for "asdf", close claws, open again and try clicking the combo it doesn't crash. Recap: If I remove the extra-long string from the quicksearch_history file, claws doesn't crash anymore. Perhaps there's a limit on the length of the string the combobox can handle? In the end, the error message in comment #0 contains: """ The program 'claws-mail' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. """ HTH, /David Created attachment 356029 [details]
detailed backtrace
Yes, it's X that runs out of resources. Here a huge drawing area appears prior to the crash. I wonder whether Gtk or Cairo can do something about it? Kind of prevent the crash maybe?
#17 0x07cae4ae in gdk_window_clear_backing_rect (window=<value optimized out>, x=<value optimized out>, y=0, width=55569, height=466) at gdkwindow.c:2075
[...]
To reproduce (Fedora 11):
1) cat /etc/services | tr '\n' ' ' > $HOME/.claws-mail/quicksearch_history
2) Start claws-mail
3) Click quicksearch combobox as explained in original bug description.
This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Not reproducible: Fedora 12 Reproducible: Fedora 11 This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Not reproducible on F12 x86_64, which I have ATM. gtk2-2.18.9-3.fc12.x86_64 not going to try and fix this in f11 at this point, sorry. *** Bug 772688 has been marked as a duplicate of this bug. *** A new test-case is needed, however. If I open Claws Mail and post something long in the quicksearch combobox, this can be used to cause various crashes. Test-case: $ rm -f ~/.claws-mail/quicksearch_history $ for i in `seq 1000`; do echo -n $i >> ~/.claws-mail/quicksearch_history ; done $ claws-mail Open "From/To/Subject/Tag" search combobox. The crash takes down gnome-shell, too. fowarded a email backtrace_rating: 4 Package: claws-mail-3.8.0-1.fc16 OS Release: Fedora release 16 (Verne) Created attachment 571995 [details]
File: backtrace
fowarded a email, i can reproduce without fail by fowarding email backtrace_rating: 4 Package: claws-mail-3.8.0-1.fc16 OS Release: Fedora release 16 (Verne) Created attachment 571997 [details]
File: backtrace
@ ted.feasel Can you retry after installing https://admin.fedoraproject.org/updates/FEDORA-2012-4288 ? This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |
Created attachment 330856 [details] Screenshot showing where to click Description of problem: Cliking combobox results in application crash. gdb shows: [New Thread 0xb602fb90 (LWP 17073)] (no debugging symbols found) [Thread 0xb602fb90 (LWP 17073) exited] [New Thread 0xb602fb90 (LWP 17074)] [Thread 0xb602fb90 (LWP 17074) exited] [New Thread 0xb602fb90 (LWP 17075)] [Thread 0xb602fb90 (LWP 17075) exited] [New Thread 0xb602fb90 (LWP 17076)] [Thread 0xb602fb90 (LWP 17076) exited] (no debugging symbols found) [New Thread 0xb602fb90 (LWP 17077)] [Thread 0xb602fb90 (LWP 17077) exited] The program 'claws-mail' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 9519 error_code 11 request_code 53 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Version-Release number of selected component (if applicable): claws-mail-3.7.0-1.fc10.i386 How reproducible: always in my case Reproducer: 1) start claws-mail 2) click the combobox highlighted in screenshot See screenshot. Let me know if you need more information.