Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

FUCK YOU, MALLOC

DefenderDefender Registered User regular
edited February 2008 in Social Entropy++
Seriously, how the fuck do you fail on an allocation request for 24 bytes? I have over 500 megs of RAM free according to Task Manager, what the fuck is your fucking problem?

And you know what? I'm also looking at you, MSVC++ 2005 Express. MSVC++ 6.0 compiled this program and it worked fine. I give it to you and you FUCK IT UP SO IT CAN'T EVEN ALLOCATE MEMORY.

FUCK YOU

Defender on
hello massa, I jar jar binks
I've overheard someone say "Don't say something is retarded, its not cool to make fun of retards. Just say its gay."
«1

Posts

  • OrikaeshigitaeOrikaeshigitae Registered User, ClubPA regular
    edited February 2008
  • OrikaeshigitaeOrikaeshigitae Registered User, ClubPA regular
    edited February 2008
    (it's probably a typo defender)

  • ZonkytonkmanZonkytonkman Registered User regular
    edited February 2008
    have you tried ctrl-alt-del?

    Spoiler:
  • DefenderDefender Registered User regular
    edited February 2008
    I'm recompiling code that used to work just fine.

    Also, if I use new instead of malloc, it throws a fucking ENOMEM (error - not enough memory) exception.

    hello massa, I jar jar binks
    I've overheard someone say "Don't say something is retarded, its not cool to make fun of retards. Just say its gay."
  • ZonkytonkmanZonkytonkman Registered User regular
    edited February 2008
    maybe

    Spoiler:
  • ZonkytonkmanZonkytonkman Registered User regular
    edited February 2008
    maybe you need more ram

    Spoiler:
  • MKRMKR Registered User regular
    edited February 2008
    Your computer has Alzheimer's.

    Also, Code::Blocks + MingW.

  • cSpoogecSpooge Registered User
    edited February 2008
    also wtf are you using malloc for in C++??!!?

  • potatoepotatoe Registered User
    edited February 2008
    does msvc++ try to set it's own personal limit for memory?

    I tried to write "but that" and my hands naturally wrote "butt hat", which is vastly superior in every way.
  • edited February 2008
    I'm assuming your using C b/c if your using C++ please use new and delete :) also yes malloc can be a big dick.

  • BoxBox Registered User
    edited February 2008
  • quibblebarfquibblebarf Registered User
    edited February 2008
    Defender wrote: »
    Seriously, how the fuck do you fail on an allocation request for 24 bytes? I have over 500 megs of RAM free according to Task Manager, what the fuck is your fucking problem?

    And you know what? I'm also looking at you, MSVC++ 2005 Express. MSVC++ 6.0 compiled this program and it worked fine. I give it to you and you FUCK IT UP SO IT CAN'T EVEN ALLOCATE MEMORY.

    FUCK YOU

    Retarded-extreme memory fragmentation? ... I got nothing. I'd probably blame the compiler too.

    Alternate post: God hates you and that's why it won't work.

  • DefenderDefender Registered User regular
    edited February 2008
    cSpooge wrote: »
    also wtf are you using malloc for in C++??!!?

    It's a mixed C/C++ app.

    If I use new, as I said, it just throws an exception. This exact code worked under MSVC 6.0, all I did was change a bunch of functions to the "safe" versions like sprintf() is updated to sprintf_s(). It doesn't matter, though, because it gets like 10 lines in and then fucking crashes.

    hello massa, I jar jar binks
    I've overheard someone say "Don't say something is retarded, its not cool to make fun of retards. Just say its gay."
  • MKRMKR Registered User regular
    edited February 2008
    It is my opinion as a doctor that your code has a humorous imbalance.

  • LarlarLarlar Super Moderator, Moderator, ClubPA mod
    edited February 2008
    Malloc's the demon overlord of all silly putty, right? I met him at that crayola festival. He seemed nice.

    iwantanswers3.png
  • redfenixredfenix Registered User regular
    edited February 2008
    MKR wrote: »
    It is my opinion as a doctor that your code has a humorous imbalance.

    I think that you mean it has an imbalance of the humors.

    A humorous imbalance is just like a funny tightrope-walker or something

  • StaleStale Registered User regular
    edited February 2008
    call more functions.

    Definitely needs more functions.

  • FaricazyFaricazy Registered User
    edited February 2008
    public class void main

  • OrikaeshigitaeOrikaeshigitae Registered User, ClubPA regular
    edited February 2008
    sounds like it's time to rewrite everything from scratcH! :D

  • MKRMKR Registered User regular
    edited February 2008
    Route it through the deconstructor array.

  • potatoepotatoe Registered User
    edited February 2008
    just flush everything after every line of code

    it's kind of like having a low-yield toilet

    I tried to write "but that" and my hands naturally wrote "butt hat", which is vastly superior in every way.
  • telcustelcus Registered User
    edited February 2008
    shout at it some more

    that should fix it

    [SIGPIC][/SIGPIC]
  • OrikaeshigitaeOrikaeshigitae Registered User, ClubPA regular
    edited February 2008
    ROUTE IT THROUGH THE DEFLECTER SHIELD DISENGAGE THE HEISENBERG COMPENSATOR SEND ALL ENERGY TO THE LEFT NACELLE

  • FaricazyFaricazy Registered User
    edited February 2008
    FEED IT THROUGH THE PLASMADIZANATOR

  • telcustelcus Registered User
    edited February 2008
    call tech support

    [SIGPIC][/SIGPIC]
  • DefenderDefender Registered User regular
    edited February 2008
    sounds like it's time to rewrite everything from scratcH! :D

    Haha NO

    I was considering rewriting it all in XNA, but then I was like "uh-uh, fuck that."

    hello massa, I jar jar binks
    I've overheard someone say "Don't say something is retarded, its not cool to make fun of retards. Just say its gay."
  • OrikaeshigitaeOrikaeshigitae Registered User, ClubPA regular
    edited February 2008
    if it helps, the other day i made a simple webpage in php and it compiled immediately and did exactly what i wanted it to

  • FaricazyFaricazy Registered User
    edited February 2008
    defender how come you're not at GDC

  • Cosmic SombreroCosmic Sombrero Registered User
    edited February 2008
    Larlar wrote: »
    Malloc's the demon overlord of all silly putty, right? I met him at that crayola festival. He seemed nice.

    This wouldn't be funny coming from anyone else.

  • MKRMKR Registered User regular
    edited February 2008
    brb, exploiting Jim's unchecked inputs.

  • telcustelcus Registered User
    edited February 2008
    saucy!

    [SIGPIC][/SIGPIC]
  • DefenderDefender Registered User regular
    edited February 2008
    Faricazy wrote: »
    defender how come you're not at GDC

    Not worth the money for me to go this year.

    hello massa, I jar jar binks
    I've overheard someone say "Don't say something is retarded, its not cool to make fun of retards. Just say its gay."
  • FaricazyFaricazy Registered User
    edited February 2008
    joystiq posted pictures of the attendee grab-bag

    inside is this contest thing that requires you get business cards of devs

    there are levels

    like one for just four cards, one for four cards with four-digit extensions, and one for four different international zipcode cards

    i predict this will suck for devs

  • TenTen Registered User regular
    edited February 2008
    ROUTE IT THROUGH THE DEFLECTER SHIELD DISENGAGE THE HEISENBERG COMPENSATOR SEND ALL ENERGY TO THE LEFT NACELLE

    Dude, you forgot to invert the polarity, ALWAYS invert the polarity. Now we have a warp core breach, good job. I don't care what, just invert something's polarity.

  • OrikaeshigitaeOrikaeshigitae Registered User, ClubPA regular
    edited February 2008
    look, i don't care if it's your fucking tricorder battery, invert something already

    stand on your fucking head if you have to

  • LarlarLarlar Super Moderator, Moderator, ClubPA mod
    edited February 2008
    Larlar wrote: »
    Malloc's the demon overlord of all silly putty, right? I met him at that crayola festival. He seemed nice.

    This wouldn't be funny coming from anyone else.

    It was pretty terrible, regardless.

    I'll admit that I suck. Can you accept it?

    iwantanswers3.png
  • Cosmic SombreroCosmic Sombrero Registered User
    edited February 2008
    Larlar wrote: »
    Larlar wrote: »
    Malloc's the demon overlord of all silly putty, right? I met him at that crayola festival. He seemed nice.

    This wouldn't be funny coming from anyone else.

    It was pretty terrible, regardless.

    I'll admit that I suck. Can you accept it?

    I'm pretty sure I suck more than you, so if you admit that you suck, it'll creates some kind of suck paradox that destroys everything we know and love.

    So, nyet!

  • LarlarLarlar Super Moderator, Moderator, ClubPA mod
    edited February 2008
    Then we are at an impasse. I propose an underwear party to pass the time.

    iwantanswers3.png
  • nevilleneville The Worst Gay (Seriously. The Worst!)Registered User regular
    edited February 2008
    Remember Defender, you need to free() what you malloc()

    :P

    nevillexmassig1.png
  • DefenderDefender Registered User regular
    edited February 2008
    neville wrote: »
    Remember Defender, you need to free() what you malloc()

    :P

    Oh shit yeah I should totally find a way to free the NULL that malloc() is returning, or the exception that new throws. Yeah I should free/delete that shit right away!

    This is bullshit, I'm pulling out MSVC++ 6.0, let's see what this does...

    EDIT: And thank god I installed that to my F:\ instead of my C:\, since I can't find the CD anymore and I had to reformat last week.

    hello massa, I jar jar binks
    I've overheard someone say "Don't say something is retarded, its not cool to make fun of retards. Just say its gay."
«1
Sign In or Register to comment.