« first day (1741 days earlier)      last day (1114 days later) » 

1:29 AM
@sehe I don't think it's necessary because it worked before without any issues. Although, for some unknown reason, poll is telling me that my client is sending me a message, even though my clients currently only receive messages from the server, weird!
 
 
8 hours later…
9:39 AM
A client based on c++ occured crashed occasionally, Can any one help me and check the c++ code
the error info with windows system like this
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-04-16T12:02:16.919150600Z" />
<EventRecordID>4983</EventRecordID>
<Channel>Application</Channel>
<Computer>ITSK-20200806XS</Computer>
<Security />
</System>
<EventData>
<Data>news.exe</Data>
<Data>1.0.0.33</Data>
<Data>60796511</Data>
<Data>ntdll.dll</Data>
 
@Mike 0xc0000374 is heap corruption
if you have your debug symbols for that exact version you might be able to figure out which function it happened in, but without an actual crashdump I think debugging based this info alone is going to be hard
I guess the function it points to is probably not even useful. Most time heap corruption is detected, it's in a call to new/delete sometime after the actual corruption happened
 
It is very strange, There is no crashdump to print
Then I have no idea to locate the problem
Then would you tell me some ideas to figure out the cause
 
I don't know if writing crash dumps is enabled by default, you can enable it for specific applications
I think with the gflags tool or with some registry entries
 
9:54 AM
can you remote review the code with the remote tools
 
if you can reproduce the crash then sure attaching a debugger can show you where it crashes. You'll only see "code" if you build with debugsymbols
 
It is the biggest problem. Because the crashed situation occured occasionally
 
yeah, that's why usually enabling crash dumps is the easiest thing to get closer to the issue. Because you can just let it run for days or weeks and if it crashes you get the stack (or if you enable full dumps the full program state). Then you can copy the dump and use it to debug the program on another machine
but yeah, if it's heap corruption then I guess just running it locally with adress sanitizer enabled or with a leak detector (most also detect illegal writes) might find the same problem
 
what leak detector ? the tools name is ?
 
10:10 AM
You can try enabling debug heap with gflags, or use something like visual leak detect, but the second one requires you to re-compile the program
Oh and "Enable Page Heap" in gflags, if you have the memory to spare
 
I had done leak detector , but find that it is not heap corruption
Is there any ideas
 
So you already tried ASan, VLD, Page Heap and crash dumps?
 
10:33 AM
I had done VLD dmp . There is no more info
 
10:45 AM
The client based on c++ and vue
Can you remote review the code?
There is another pointer. The interaction between the vue and c++, if there is a problem
 
11:10 AM
anybody there ?
 
If you suspect some code, link it here.
I'm not sure what you mean by "there's no more info" in the dump? Did it not even have a callstack?
 
How about remote to review ?
Would you have teamviewer or oray softwar?
Would you have teamviewer or oray software?
It means that I had done VLD dmp . There is no heap crashed or inturrpted info
 
11:27 AM
I don't want to connect to random peoples machines. If you have some code, I can try and see if there's something obviously wrong with it if you upload it somewhere.
 
 
1 hour later…
12:30 PM
?
I have a dmp file , But I dont know if it is useful
 
You can open it in visual studio or in windbg
 
 
2 hours later…
2:48 PM
whats the best way to delete all bits larger than the kth position?
or equivalently how to extract number up to kth bit
 
3:37 PM
bits are all equally large :)
@Trajan So, that are "larger bits", from what are you "deleting" (disk, strings, integers, whatever), what does deleting mean (should the physical medium become shorter? this may sound whimsicla, but it's not actually that strange if the "medium" is a bitset, or a file etc. etc.)
There are very very very simple answers to your question, but it's really impossible to know whether it does you any good.
(e.g. value & ((1<<k+1)-1) should work for pretty simple assumptions)
Where ((1<<(k+1))-1) makes mask by taking the integral value of the (k+1)th significant bit in common integral representation (mind signed types here) and subtracts 1 to flip all the less significant bits (by carry). This is then used as a bit mask to AND te value with,
 
 
2 hours later…
5:21 PM
@sehe I don't understand how is possible such new and adavanced mysql library like amy drop connections, amd my game DBManager can handle 8.000 connections ame time
 
 
4 hours later…
9:49 PM
@IrinelIovan Every library when used wrong will do the wrong thing. Amy isn't new, and precisely how advanced it was is up for debate. The point is, software without tests never worked, and it's a bit cheap to stomp on your open source suppliers to move the blame.
DBManager is doing things right. Auth apparently not enough. Again, I might look at it, given more information.
 
10:26 PM
@sehe How we can talk private more? It's bad always here.. xd I need explain u everything about project,payments and so
 
I rather enjoy having it here. You could always email me (but it could take a week for me to notice)
 
11:04 PM
@sehe Tommorow we will open itemshop, and i can pay u
we hope to make around 100k euro in 2 months
 
11:45 PM
:raises-brow: That's with 5 years of investment?
yesterday, by sehe
So, I'd say we can look at this, but we need a good stress test to reproduce. I need a database script so I can repro locally, looking at the code in peace and also tweaking mysql configs, perhaps.
 

« first day (1741 days earlier)      last day (1114 days later) »