Click here to Skip to main content
15,891,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[SOLVED - see last post] Help needed: another strange calloc/malloc issue [modified] Pin
lyuabe21-Jul-06 0:30
lyuabe21-Jul-06 0:30 
AnswerRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt21-Jul-06 1:03
Stephen Hewitt21-Jul-06 1:03 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe21-Jul-06 1:14
lyuabe21-Jul-06 1:14 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Cedric Moonen21-Jul-06 1:16
Cedric Moonen21-Jul-06 1:16 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe21-Jul-06 1:24
lyuabe21-Jul-06 1:24 
QuestionRe: Help needed: another strange calloc/malloc issue Pin
David Crow21-Jul-06 3:12
David Crow21-Jul-06 3:12 
GeneralRe: Help needed: another strange calloc/malloc issue [modified] Pin
cmk21-Jul-06 4:33
cmk21-Jul-06 4:33 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe21-Jul-06 7:15
lyuabe21-Jul-06 7:15 
cmk wrote:
I REALLY doubt it is a problem with malloc/calloc.
I would think that either grid is NULL/invalid or grid->n_rad is 0/invalid (i.e. large).


Hummm, nope. The grid pointer and n_rad are okay (I can print their value). My app is not (yet) multi-threaded, so there's no chance of a conflict accessing these variables. Although, I will check what you suggest (multithreaded support).


GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt21-Jul-06 1:16
Stephen Hewitt21-Jul-06 1:16 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe21-Jul-06 1:26
lyuabe21-Jul-06 1:26 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt21-Jul-06 2:51
Stephen Hewitt21-Jul-06 2:51 
AnswerRe: Help needed: another strange calloc/malloc issue Pin
Steve S21-Jul-06 1:03
Steve S21-Jul-06 1:03 
AnswerRe: Help needed: another strange calloc/malloc issue [modified] Pin
Jonas Hammarberg21-Jul-06 1:40
professionalJonas Hammarberg21-Jul-06 1:40 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe21-Jul-06 1:18
lyuabe21-Jul-06 1:18 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt21-Jul-06 3:05
Stephen Hewitt21-Jul-06 3:05 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe21-Jul-06 7:23
lyuabe21-Jul-06 7:23 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt21-Jul-06 18:56
Stephen Hewitt21-Jul-06 18:56 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe29-Jul-06 2:24
lyuabe29-Jul-06 2:24 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt29-Jul-06 2:39
Stephen Hewitt29-Jul-06 2:39 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe29-Jul-06 5:47
lyuabe29-Jul-06 5:47 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt29-Jul-06 16:33
Stephen Hewitt29-Jul-06 16:33 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe30-Jul-06 15:56
lyuabe30-Jul-06 15:56 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
Stephen Hewitt31-Jul-06 1:43
Stephen Hewitt31-Jul-06 1:43 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe31-Jul-06 15:43
lyuabe31-Jul-06 15:43 
GeneralRe: Help needed: another strange calloc/malloc issue Pin
lyuabe2-Aug-06 21:22
lyuabe2-Aug-06 21:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.