| Summary: | Eclipse crashes when opening a ticket with a large number of comments | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | magic.bitbucket | ||||
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> | ||||
| Status: | CLOSED MOVED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | birdo, robert.elves, shawn.minto, steffen.pingel | ||||
| Version: | 2.2 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux-GTK | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
I have seen similar crashes when using many task editors: bug 214832 . Which Linux distribution / GTK version are you using? Have you seen these crashes with Mylyn versions earlier than 2.2? I'm using slackware-current, gtk+2-2.12.4. I've seen the same error with Mylyn 2.1, also only with this one ticket with 1000+ comments. I didn't use Eclipse before so I can't say anything about previous versions. Thanks. The recent weekly build has performance improvements for rendering tasks with many comments by delaying creation of a comment widgets until a comment is expanded. The implementation in version 2.2 created all comment widgets once the task editor was opened. It would be great if you could try the latest build available from the weekly update site and report back if that enables you to open the task in the editor: http://www.eclipse.org/mylyn/downloads/ Now tried with 3.3 weekly build. Same problem. Maybe the performance improvement is useless because all comments are expanded when the ticket gets loaded? It seems this is what happens by default and I haven't found a configuration option for it. Sorry, that was 2.3 not 3.3 ^^ That's right, all unread comments are expanded automatically. To prevent comments from expanding you can use "Mark > Read" from the context menu in the task list. Sorry, still crashes when the ticket is marked as read. It seems there were more improvements in the latest weekly build - 20081025? I can now open the ticket, and even open the comments. Now it just crashes when expanding all comments ^^ I am not sure that any of changes made to the editor would have fixed that. Maybe the Mylyn code has developed self-healing capabilities ;). It could be that the OS is running out of handles/resources and it depends on how many other task editors and other applications are running when the ticket is opened. The same happens for me too (doesn't hang for 15 minutes, but crashes eclipse with the same stderr output as the bug report), starting at about 30 comments. I'm using Eclipse 3.4.2 with Mylyn 3.1.0. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |
Created attachment 86550 [details] Eclipse log env: jdk 1.6.0_02 Eclipse 3.3.1.1 Trac 0.10.4 (tracd standalone, tried with --auth and --basic-auth) Using XML-RPC for the mylyn trac connector. When opening a ticket with 1000+ comments Eclipse first hangs for ~15+ minutes and then crashes. I can open other tickets without problems. stderr output: The program 'Eclipse' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAlloc (insufficient resources for operation)'. (Details: serial 377387 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.)