由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - google 的题 (测试题)
相关主题
两道G题the shortest code to crash your system
面试回来。面试题分享。flextrade电面面经+求教
MS店面题讨论有人在玩 Facebook 的黑客杯吗?
Interview Question: System Crash (转载)感覺自己的答案代碼crashed leetcode,好幾次了
两道testing相关的题,crashing, server,client side有人讨论吗?美国签证系统crash了所有签证全部delay (转载)
求牛人帮我理解一个题的一句话好吗请教一道题
google phone screen来来来,大家发http://:给skype好友 (转载)
Amazon二面结束,求BLESSu know why i love periscope?
相关话题的讨论汇总
话题: 测试题话题: debugger话题: what话题: mostly
进入JobHunting版参与讨论
1 (共1页)
d****o
发帖数: 1055
1
讨论一下
You are given a the source to a application which is crashing when run.
After running it 10 times in a debugger, you find it never crashes in the
same place. The application is single threaded, and uses only the C standard
library. What programming errors could be causing this crash? How would you
test each one?
S**I
发帖数: 15689
2
some time related events?

standard
you

【在 d****o 的大作中提到】
: 讨论一下
: You are given a the source to a application which is crashing when run.
: After running it 10 times in a debugger, you find it never crashes in the
: same place. The application is single threaded, and uses only the C standard
: library. What programming errors could be causing this crash? How would you
: test each one?

s****a
发帖数: 528
3
1.time related events (as above)
2. un-intialized memory, or array index overflow?
what else?
S**I
发帖数: 15689
4
more general version of 2: stack corruption, or memory leak

【在 s****a 的大作中提到】
: 1.time related events (as above)
: 2. un-intialized memory, or array index overflow?
: what else?

h**********l
发帖数: 6342
5
random()

【在 s****a 的大作中提到】
: 1.time related events (as above)
: 2. un-intialized memory, or array index overflow?
: what else?

x*******1
发帖数: 28835
6
多数是初始化问题。 -g 能过, without 就过不了。
-O 能过, -O3过不了。差不多吧
h******6
发帖数: 2697
7
会不会是内存的问题,诸如越界访问,内存未释放之类的。
y**********u
发帖数: 6366
8

time related events are mostly in multi-threads
Mostly possible: variable non intialized, or invalid pointer. Also, in
debugger mod, variable in reg are mostly pushed into memory

【在 s****a 的大作中提到】
: 1.time related events (as above)
: 2. un-intialized memory, or array index overflow?
: what else?

1 (共1页)
进入JobHunting版参与讨论
相关主题
u know why i love periscope?两道testing相关的题,crashing, server,client side
又一个ipo-ed 的startup 股票crash了求牛人帮我理解一个题的一句话好吗
OBAMACARE网站刚上市的时候,由于在线人数太多, CRASHED (转载)google phone screen
Bannon: war with China in 5 yearsAmazon二面结束,求BLESS
两道G题the shortest code to crash your system
面试回来。面试题分享。flextrade电面面经+求教
MS店面题讨论有人在玩 Facebook 的黑客杯吗?
Interview Question: System Crash (转载)感覺自己的答案代碼crashed leetcode,好幾次了
相关话题的讨论汇总
话题: 测试题话题: debugger话题: what话题: mostly