[Users] [Bug 3793] New: Segfaults when autocompletion returns too many results

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Mar 28 20:26:54 CEST 2017


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3793

            Bug ID: 3793
           Summary: Segfaults when autocompletion returns too many results
    Classification: Unclassified
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI
          Assignee: users at lists.claws-mail.org
          Reporter: mones at users.sourceforge.net

How to reproduce:
• Have enough contacts in your AddressBook :)
• Open compose window
• Type one letter, e.g.: 'a'
• Press Tab key

Expected result:
• Drop down list opens and you can continue typing up to completion

Actual result:
• Drop down list opens and Claws Mail segfaults (message can only be seen
  under gdb, see note below):
,-----
| Program received signal SIGSEGV, Segmentation fault.
| 0x00007ffff6cfb7d4 in gdk_window_set_geometry_hints () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
`-----

While 'enough contacts' may sound vague, in fact there's no need for so many
contacts: an AddressBook's Book (XML file) with 309 contacts is enough for
triggering this in my case and there's 399 total contacts in AB.

My suspect is that the results returned by matching are not cut at some sane
number and it's trying to build a window too large with them, but this is just
a wild guess.

Note: while trying to debug this in my computer the whole X became frozen, and
have to kill Claws Mail or gdb from a text console to regain control. The
latter makes impossible to get a backtrace, so ideas on how to get one are
welcome.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list