On Aug 17, 6:08 pm, "Jim Langston" <tazmas...@rocketmail.comwrote:
.....
what class is it, then you'll have somewhere to look at least. It could be
a class, it could be data, coudl be anythign overflowing memory.
That's the scary thing... it could be anything, including acts of god
or whatever :) I tried lots of stuff... but it seems that the only
thing could help me is the OS itself if it was capable of restricting
access to certain bytes of ram instead of pages.
On Aug 17, 5:15 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
Really? Million lines of code for a damn cell phone? I doubt it.
Did he say that he has that much code for a cell phone?? I didn't see
that.
Currently, I have 1467 (*.cpp, *.cc, *.c, *.h, *.hh) files with total
size of 10.3MB, more over our code uses some libraries in form of
source code or precompiled libraries (audio/video codecs, atl-wtl,
ffmpeg). And on top of that entire candy/animation rich gui is NOT
written in c++. So... I think it's not small at all. Sure cell phone
code becomes more complicated since it has to go around missing
functionality that's present as-is in normal PC... More over, there's
a widely used no-windows based cell phone os that's a total CRAP,
that's is entirely c++ based and almost no c++ code will ever compile
for it! It absolutely doesn't have std c++ lib (no streams, no stl).
Obviously boost/ace will never work for it. And on top of that this
crapOS has different programming concepts and entire framework has to
adjust itself to be compilable for wince and this crap os. Personally
I hope that this OS dies ASAP!!!! I've heard that even top managers
hate it... because nobody likes it :) I'm sure you guessed right that
I'm talking about symbian here. My personal opinion is that it would
be much easier to port some complicated software from windows to linux
or vice versa, than to port some not very complicated software from
one version of symbian to another... I think that Symbian has WAY more
c++ classes that win32 has api functions (not to mention that all
these classes have around 10 methods or in some extreme cases even
around 50-100 methods)!!!
So... cell phone code not complicated?!?? We have to have all the code
for lists, arrays, strings... and it's all really written EXTREMELY
BAD, any student would do a better job writing this simple containers
(imagine what java coders could write in c++?!??). Then, one of many
developers just for no reason decides to put windows specific code
entire project brakes... then in platform specific code you have to
convert between all these home cooked containers to something more
specific to the system. Then at some point you get the mysterious
crash (see my original post) that some developers spent weeks trying
to fix (unsuccessfully), some developers were sent across continent to
work on it and obviously it won't ever be fixed :) Oh yes, I forgot to
mention that all the code is full of hacks (__try/__except to trap
access violation and avoid program crash in windows!!, tons of places
where scoped_locks were manually unlocked to fix deadlocks, etc...)
I'm loving it... this project could go on forever on improving
itself...