bugGNUstep - Bugs: bug #26843, Crash in GSToUnicode()


bug #26843: Crash in GSToUnicode()

Submitted by:  Doug Simons <theeggcamefirst>
Submitted on:  Thu 18 Jun 2009 09:59:55 PM UTC  
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 21 Jun 2009 08:57:18 PM UTC, comment #2: 

Yes, the latest version of Unicode.m has fixed the crash introduced in r28328. Thanks!

Unfortunately, I'm now seeing a number of issues (about 60 of my tests are failing) as a result of the changes made in r28335. I'm about to leave on vacation for a week so I don't have time to track this down more specifically. I'll look more closely at these issues after I get back and submit a new bug if you haven't found and fixed something in the meantime.

Doug Simons <theeggcamefirst>
Fri 19 Jun 2009 09:02:27 AM UTC, comment #1: 

Thanks ...  hope that's fixed in svn now.  Please give it a go.

Richard Frith-Macdonald <CaS>
Project Member
Thu 18 Jun 2009 09:59:55 PM UTC, original submission:  

The change to Unicode.m made in r28328 has introduced a crash.

      • glibc detected *** /usr/GNUstep/Local/Tools/st: free(): invalid pointer: 0xbfb27ad8 ***

Here's the relevant part of the backtrace:
#0  0xb7ef7410 in __kernel_vsyscall ()
#1  0xb73d9085 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb73daa01 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb7411b7c in ?? () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7419a85 in ?? () from /lib/tls/i686/cmov/libc.so.6
#5  0xb741d4f0 in free () from /lib/tls/i686/cmov/libc.so.6
#6  0xb752f7c0 in objc_free () from /usr/lib/libobjc.so.2
#7  0xb7b6a572 in default_free (zone=0xb7d0c7a0, ptr=0xbfb27ad8) at NSZone.m:162
#8  0xb7b6cf9b in NSZoneFree (zone=0xb7d0c7a0, ptr=0xbfb27ad8) at NSZone.m:2040
#9  0xb7bba9fc in GSToUnicode (dst=0xbfb27ba8, size=0xbfb27bac,
    src=0x8690790 "3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381"..., slen=1002, enc=NSISOLatin1StringEncoding, zone=0xb7d0c7a0, options=1) at Unicode.m:1188
#10 0xb79fbb17 in doubleValue_c (self=0x8690780) at GSString.m:1558
#11 0xb79fba47 in -[GSCString doubleValue] (self=0x8690780, _cmd=0xb7ed76e8) at GSString.m:2938

Let me know if you need any more information.

Doug Simons <theeggcamefirst>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Updated the item)
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by theeggcamefirst (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-13 FredKiefer Open/ClosedIn Test => Closed
    2009-06-19 CaS Open/ClosedOpen => In Test
    2009-06-19 CaS StatusNone => Fixed

    Back to the top

    Powered by Savane 3.6