Bug 11752 - libXt: SIGABRT in XtFree() in GetConversion()
Summary: libXt: SIGABRT in XtFree() in GetConversion()
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xt (show other bugs)
Version: 7.2 (2007.02)
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-28 03:31 UTC by Brice Goglin
Modified: 2011-10-02 13:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Brice Goglin 2007-07-28 03:31:58 UTC
Bug reported by Sune Vuorela on the Debian BTS about 2 months ago. He gets a sigabort when trying to select some text in vim.

> Program received signal SIGABRT, Aborted.
> [Switching to Thread -1229543216 (LWP 18110)]
> 0xb7f417f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> (gdb) bt
> #0  0xb7f417f2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
> #1  0xb70e1d60 in raise () from /lib/i686/cmov/libc.so.6
> #2  0xb70e35b1 in abort () from /lib/i686/cmov/libc.so.6
> #3  0xb711808b in __libc_message () from /lib/i686/cmov/libc.so.6
> #4  0xb711feed in _int_free () from /lib/i686/cmov/libc.so.6
> #5  0xb7123530 in free () from /lib/i686/cmov/libc.so.6
> #6  0xb7628d31 in XtFree (ptr=0x0) at ../../src/Alloc.c:170
> #7  0xb764cf4b in GetConversion (ctx=0x82d72c8, event=0xbfd1f5c4, target=425, property=291, widget=0x82f6778) at ../../src/Selection.c:774

For some reason, GetConversion appears to be calling XtFree on a NULL
pointer. It seems it could be related to the locale, maybe the lib doesn't support it.

Locale: LANG=en_DK.ISO-8859-15, LC_CTYPE=en_DK.ISO-8859-15 (charmap=ISO-8859-15)

Cheers,
Brice
Comment 1 Brice Goglin 2007-07-29 01:20:21 UTC
It's strange that gdb shows free() being called during XtFree(ptr=0) since XtFree does nothing in this case. Maybe the stack arguments are messed up somehow, and ptr wasn't NULL in the beginning.
Comment 2 Jeremy Huddleston Sequoia 2011-10-02 13:29:34 UTC
Is this still an issue?  If so, can you please try a build without 
optimizations (-O0) and reopen with a current backtrace.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.