The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
OS X - Day Three

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Daniel Berger

Posts: 1383
Nickname: djberg96
Registered: Sep, 2004

Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
OS X - Day Three Posted: Mar 21, 2007 6:02 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Daniel Berger.
Original Post: OS X - Day Three
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...

Advertisement
So, I've had a while to tinker around with this thing for a few days now and it's been a mostly positive experience. The UI is very nice, the builtin apps are pretty cool (especially iTunes), and I can fire up a bash terminal. Yay!

I still don't understand some things, however. For example, I don't know exactly a .dmg file is, and why there's a Firefox icon on my desktop that looks like a mini hard drive that gives me an option to "eject". Or how to create desktop shortcuts. Some things took me a while to figure out, like how to get an X server up and running. I thought OS X *was* X Windows! Oops.

As I told my friend the other day, in some ways this is worse than starting from scratch because I have to unlearn what I've learned from MS Windows (and, to a lesser extent, the various UI's from UNIX distros). But, I'll muddle through.

With the help of drbrain I've also managed to get my development toolchain setup just about the way I want (including gvim and Eclipse). The sysutils package has several OS X specific bugs in the queue, so I've already fixed a couple of those, though I don't understand the primary error I'm getting:
malloc: ***  Deallocation of a pointer not malloced: 0x3387f4; This could be a double free(), or free()
called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

This only seems to occur on OS X. I've seen lots of instances of it reported on Google, but no good explanation for what's causing it. I can duplicate it easily enough, but I don't know if it's a real programming mistake or a bug in gcc. In short, it whines whenever I try to increment a struct member that's a char**. I have to assign it to another variable first, then increment the new variable instead.

Anyway, good times.

Read: OS X - Day Three

Topic: Ruby iTunes Library Analyzer Previous Topic   Next Topic Topic: Improvements for Ruby Debugging

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use