-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As per commit 0b3ffab application core dumps on files update #14
Comments
Cannot reproduce. Please give precise and complete list of parameters selected (selection "Data" combo, checked "Cases", "Moving average" checked?, country selected in tree, etc; or post the corona.cfg file ) |
Hey @wp-xyz, First of all please accept my deepest apologies. I've should've done that in the issue posting. I re-ran the application and it core dumps with or without country selection. I also noted that the message that indicates the files are downloaded flashes right before it core dumps. Well, something flashes before core dump. It's too quick to read and I'm assuming. Edit Here's the config file: corona.cfg.zip I'm on Ubuntu 20.04, 64b and compiled the application with Cheers, |
Hey @wp-xyz, With all due respect and if you don't mind, let me tell you what I'm thinking here: Due to the fact that the core dump is right after the download, I'm guessing that it as to do with the release of the containers of the old data and the creation of the containers with the new data. Now... What really baffles me is the fact that it's a core dump, very catastrophic, and not an access violation, potentially catastrophic. If you're using pointers, and I know and you know you shouldn't 😉, I would tend to think that a access violation would be more common. But with a core dump, the only thing that comes to mind is the application going into an infinite loop? Maybe? Like I said, the core dump instead of an access violation is really throwing me off. So... if I was chasing this bug my priorities would be: (And this is just me spitballing, don't take me serious)
In any case, good luck my friend. A core dump is a bastard bug to chase, sorry!! Cheers, |
Reading these new notes I get the impression that the core dump happens immediately after clicking "Update", not 30 to 40 seconds later as you said in the first post. Which statement is correct? Another question: Is the issue reproducible in the sense that EVERY press of "Update" leads to the core dump? Does the core dump happen only after the commit that you specify in the first post, or did is happen already with older versions? |
I am now compiling the program with FPC 3.2.0 for the first time and I am getting a crash in the routine which reads the locations file at line "New(loc)" . loc is a pointer to a simple record containing two integers (plus an optional shortstring). This did not happen with fpc 3.0.4. It occurs only after pressing "Update" - similar to your bug, probably the same (I am on Windows). |
…for LocationParams records. Issue #14. Update of data files.
Found an issue with memory allocation introduced for reading the US data file. No more crash for me on Win10. Please test on your system. |
Hey @wp-xyz ,
I have a really bad internet connection and I also forgot I had my PascalCoin Miner running, so my times may be a bit longer than usual. I've Pointers, bah, always them buggers 😉 Cheers, |
Hi there,
As per commit 0b3ffab the application core dumps, after about 30 to 40 seconds after you press the Update button.
Cheers,
Gus
The text was updated successfully, but these errors were encountered: