Re: Xcode-users Digest, Vol 8, Issue 312
Re: Xcode-users Digest, Vol 8, Issue 312
- Subject: Re: Xcode-users Digest, Vol 8, Issue 312
- From: J <email@hidden>
- Date: Wed, 17 Aug 2011 21:44:53 +0200
I do want to take the opportunity to let you (apple) know
that Xcode seems to me and many of my coworkers quite
dysfunctional at the moment - I don't mean to rant, many (interface)
things are very good - but we've lost at least 6 weeks of production
over the course of 6 months with this particular IOS project. As
XCode is the only way to go for IOS at the moment, we keep fighting,
but would have switched to *any* other solution if we could,
and will if we can. It's a real problem.
J
ps If you're interested, we can send you a list of problems, crashes and
inconsistencies we had during this project once we're done with it (IF we're done,
cause at the moment it doesn't look good for us due to these xcode problems)
On Aug 17, 2011, at 9:08 PM, email@hidden wrote:
> Send Xcode-users mailing list submissions to
> email@hidden
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.apple.com/mailman/listinfo/xcode-users
> or, via email, send a message with subject or body 'help' to
> email@hidden
>
> You can reach the person managing the list at
> email@hidden
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Xcode-users digest..."
>
>
> Today's Topics:
>
> 1. Re: serious problems in GDB / LLDB debugger (Quincey Morris)
> 2. Re: serious problems in GDB / LLDB debugger (J)
> 3. Re: serious problems in GDB / LLDB debugger (J)
> 4. Re: serious problems in GDB / LLDB debugger (Jim Ingham)
> 5. Re: serious problems in GDB / LLDB debugger (Scott Ribe)
> 6. Xcode Stil not working for since january (Fayimora Femi-Balogun)
> 7. Re: Xcode Stil not working for since january (Jeff Kelley)
> 8. Re: Xcode Stil not working for since january (Roland King)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Aug 2011 16:50:19 -0700
> From: Quincey Morris <email@hidden>
> Subject: Re: serious problems in GDB / LLDB debugger
> To: J <email@hidden>
> Cc: email@hidden
> Message-ID:
> <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
> On Aug 16, 2011, at 16:43 , J wrote:
>
>> that's a good suggestion, but it's not an issue. %g is the shorter of %f or %e and is expecting a float.
>> to print a double, you add an 'L' after the f or g (or e or E) also note that my code is giving the expected behaviour here.
>
> As I said, I can never remember the details. :)
>
> OT, I just wanted to add that this code (the 'sprintf') has the "code smell" of an exploitable buffer overflow waiting to happen.
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.apple.com/pipermail/xcode-users/attachments/20110816/112feb94/attachment.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 17 Aug 2011 02:01:27 +0200
> From: J <email@hidden>
> Subject: Re: serious problems in GDB / LLDB debugger
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
>> OT, I just wanted to add that this code (the 'sprintf') has the "code smell" of an exploitable buffer overflow waiting to happen
>
> hmm, not so sure about that. you may be right, but I'll get back to that when the issue at hand is resolved..
>
> J
>
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 17 Aug 2011 02:08:44 +0200
> From: J <email@hidden>
> Subject: Re: serious problems in GDB / LLDB debugger
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
> using apple llvm compiler 2.1, we get the following output of lldb:
>
> m_v float [16]
> [0] float 2
> [1] float 3
> [2] float 4
> [3] float 5
> [4] float 6
> [5] float 7
> [6] float 8
> [7] float 9
> [8] float 10
> [9] float 11
> [10] float 12
> [11] float 13
> [12] float 14
> [13] float 15
> [14] float 40
> [15] float 10
>
> for the same data given earlier.
>
> 'my' output gives the expected
>
> previousGT: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
>
> On Aug 17, 2011, at 1:33 AM, Quincey Morris wrote:
>
>> On Aug 16, 2011, at 15:24 , J wrote:
>>
>>> If it's an alignment/offset issue, why the two '1's repeated at the end of the array ?
>>
>> There's a repeating pattern in your data. If you imagine 2 of these arrays end to end, you'll get (in terms of successive floats):
>>
>> 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
>>
>> m_varray is supposed to be the first 16 of these. What I'm saying is that it's perhaps not the first 16, but 16 elements starting from #2. If the debug info is wrong, it may be showing up this way because the debugger is being told the wrong offset in the class layout.
>>
>> Another possibility is that your code is accessing these array elements via a pointer, and the pointer is off by 2 elements. Falling off the end of the array by a couple of elements *may* produce this sort of result without necessarily causing a crash.
>>
>>> I sure hope it's something fixable, but Ive had many problems the last couple of days relating
>>> to the debugger, both using gcc and llvm as compiler, and using gdb and lldb for debugging respectively.
>>> the problem reported here pertains to llvm gcc 4.2 as compiler and lldb as debugger.
>>> when I compile with gcc and use gdb as the debugger, things do seem to work properly, however
>>> I get the following message in the console for which I don't understand the cause and im unsure whether it's related:
>>>
>>> warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.2 (8H7)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
>>> warning: No copy of libXcodeDebuggerSupport.dylib found locally, reading from memory on remote device. This may slow down the debug session.
>>
>> In Xcode 4.1, you should be able to compile with the clang llvm 2.1 compiler, which is not the same thing as gcc llvm 4.2. (There is also a clang llvm 3, but it's not available in Xcode 4.1 apparently.)
>>
>>> I'm not quite sure why you're talking about 'ivar's, could you explain ? the m_v array is an array of floats - not integers,
>>> or do I misunderstand your use of the word ivar ?.
>>
>> Sorry, I was talking Objective-C-ese. I mean "instance variable", not "integer variable".
>>
>>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.apple.com/pipermail/xcode-users/attachments/20110817/0805e2d0/attachment.html
>
> ------------------------------
>
> Message: 4
> Date: Tue, 16 Aug 2011 17:20:57 -0700
> From: Jim Ingham <email@hidden>
> Subject: Re: serious problems in GDB / LLDB debugger
> To: J <email@hidden>
> Cc: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> It does sound like the debug information is wrong here. If you can file a bug with bugreporter.apple.com, we will take a look. If you don't mind making the object file containing this code available, then just find that in your build folder and attach it to the bug, along with the name of the variable that is being printed wrong. If you had the actual definition of the type of this m_vfloat as well (from your C++ code) that would help too.
>
> BTW, when trying to determine whether debug info for clang is wrong, it is better to compare to gcc-4.2 if possible, that's been around for a really long time and has fewer debug info bugs than clang (which has fewer than llvm-gcc at this point.)
>
> Jim
>
>
>
> On Aug 16, 2011, at 5:08 PM, J wrote:
>
>> using apple llvm compiler 2.1, we get the following output of lldb:
>>
>> m_v float [16]
>> [0] float 2
>> [1] float 3
>> [2] float 4
>> [3] float 5
>> [4] float 6
>> [5] float 7
>> [6] float 8
>> [7] float 9
>> [8] float 10
>> [9] float 11
>> [10] float 12
>> [11] float 13
>> [12] float 14
>> [13] float 15
>> [14] float 40
>> [15] float 10
>>
>> for the same data given earlier.
>>
>> 'my' output gives the expected
>>
>> previousGT: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
>>
>> On Aug 17, 2011, at 1:33 AM, Quincey Morris wrote:
>>
>>> On Aug 16, 2011, at 15:24 , J wrote:
>>>
>>>> If it's an alignment/offset issue, why the two '1's repeated at the end of the array ?
>>>
>>> There's a repeating pattern in your data. If you imagine 2 of these arrays end to end, you'll get (in terms of successive floats):
>>>
>>> 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1
>>>
>>> m_varray is supposed to be the first 16 of these. What I'm saying is that it's perhaps not the first 16, but 16 elements starting from #2. If the debug info is wrong, it may be showing up this way because the debugger is being told the wrong offset in the class layout.
>>>
>>> Another possibility is that your code is accessing these array elements via a pointer, and the pointer is off by 2 elements. Falling off the end of the array by a couple of elements *may* produce this sort of result without necessarily causing a crash.
>>>
>>>> I sure hope it's something fixable, but Ive had many problems the last couple of days relating
>>>> to the debugger, both using gcc and llvm as compiler, and using gdb and lldb for debugging respectively.
>>>> the problem reported here pertains to llvm gcc 4.2 as compiler and lldb as debugger.
>>>> when I compile with gcc and use gdb as the debugger, things do seem to work properly, however
>>>> I get the following message in the console for which I don't understand the cause and im unsure whether it's related:
>>>>
>>>> warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.2 (8H7)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found).
>>>> warning: No copy of libXcodeDebuggerSupport.dylib found locally, reading from memory on remote device. This may slow down the debug session.
>>>
>>> In Xcode 4.1, you should be able to compile with the clang llvm 2.1 compiler, which is not the same thing as gcc llvm 4.2. (There is also a clang llvm 3, but it's not available in Xcode 4.1 apparently.)
>>>
>>>> I'm not quite sure why you're talking about 'ivar's, could you explain ? the m_v array is an array of floats - not integers,
>>>> or do I misunderstand your use of the word ivar ?.
>>>
>>> Sorry, I was talking Objective-C-ese. I mean "instance variable", not "integer variable".
>>>
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 16 Aug 2011 20:31:24 -0600
> From: Scott Ribe <email@hidden>
> Subject: Re: serious problems in GDB / LLDB debugger
> To: J <email@hidden>
> Cc: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> If you haven't already: clean the project to force a re-compile of everything.
>
> --
> Scott Ribe
> email@hidden
> http://www.elevated-dev.com/
> (303) 722-0567 voice
>
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 17 Aug 2011 14:52:56 +0100
> From: Fayimora Femi-Balogun <email@hidden>
> Subject: Xcode Stil not working for since january
> To: email@hidden
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello guys, my xcode has not worked for almost a year now. I am unable to build iOS apps. When i click the xib file, it crashes xcode and i have posted this here about 3 times now. I have removed and re-installed xcode in soo many ways.. i have cleaned my system, bought lion installed and xcode still does the same thing. When i build i get 2 copies of this error:
>
> auto_zone_set_associative_ref: object should point to a GC block or a global address, otherwise associations will leak. Break on auto_zone_association_error() to debug.
>
> I have been hoping i would get help here and this is about the fifth time am posting this again. This is what xcode shows when it crashes --> http://pastebin.com/BxMKqN6r
>
> Please Please PLease, I need serous help..
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.apple.com/pipermail/xcode-users/attachments/20110817/09050312/attachment.html
>
> ------------------------------
>
> Message: 7
> Date: Wed, 17 Aug 2011 10:19:31 -0400
> From: Jeff Kelley <email@hidden>
> Subject: Re: Xcode Stil not working for since january
> To: xcode-Users List <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
>> From the log:
>
>> Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
>
> Have you done this?
>
> As a more general comment, have you tried deleting and recreating your nibs?
>
> Jeff Kelley
>
> On Aug 17, 2011, at 9:52 AM, Fayimora Femi-Balogun wrote:
>
>> Hello guys, my xcode has not worked for almost a year now. I am unable to build iOS apps. When i click the xib file, it crashes xcode and i have posted this here about 3 times now. I have removed and re-installed xcode in soo many ways.. i have cleaned my system, bought lion installed and xcode still does the same thing. When i build i get 2 copies of this error:
>>
>> auto_zone_set_associative_ref: object should point to a GC block or a global address, otherwise associations will leak. Break on auto_zone_association_error() to debug.
>>
>> I have been hoping i would get help here and this is about the fifth time am posting this again. This is what xcode shows when it crashes --> http://pastebin.com/BxMKqN6r
>>
>> Please Please PLease, I need serous help..
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.apple.com/pipermail/xcode-users/attachments/20110817/ad9bceca/attachment.html
>
> ------------------------------
>
> Message: 8
> Date: Wed, 17 Aug 2011 22:38:26 +0800
> From: Roland King <email@hidden>
> Subject: Re: Xcode Stil not working for since january
> To: Xcode Users List <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
> and this happens when you start a brand new project from scratch or have you all the time been trying to open an old project? Have you tried opening some of the Apple projects and building them? Do you still have this problem with a new File -> New Project, a simple one, with no code added, no nothing, just ask Xcode to create it, then compile and run it?
>
>
> On Aug 17, 2011, at 9:52 PM, Fayimora Femi-Balogun wrote:
>
>> Hello guys, my xcode has not worked for almost a year now. I am unable to build iOS apps. When i click the xib file, it crashes xcode and i have posted this here about 3 times now. I have removed and re-installed xcode in soo many ways.. i have cleaned my system, bought lion installed and xcode still does the same thing. When i build i get 2 copies of this error:
>>
>> auto_zone_set_associative_ref: object should point to a GC block or a global address, otherwise associations will leak. Break on auto_zone_association_error() to debug.
>>
>> I have been hoping i would get help here and this is about the fifth time am posting this again. This is what xcode shows when it crashes --> http://pastebin.com/BxMKqN6r
>>
>> Please Please PLease, I need serous help..
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.apple.com/pipermail/xcode-users/attachments/20110817/f069e747/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Xcode-users mailing list
> email@hidden
> http://lists.apple.com/mailman/listinfo/xcode-users
>
> End of Xcode-users Digest, Vol 8, Issue 312
> *******************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden