-
Notifications
You must be signed in to change notification settings - Fork 133
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
Instant crash when export to print (on Ubuntu) #250
Comments
One of my numerous VMs is Kubuntu 16.04 and I cannot reproduce this. If you have gdb installed, run brewtarget from a command prompt like this:
and then cause the crash. When that happens, go back to the gdb prompt and say
and copy all the output from that here. You may have to page through a few windows of backtrace. Once you are done paging and back at a gdb prompt, say
which will close everything down. You have a production copy, so most of the useful symbols will have been stripped but I might be able to see enough. |
Hi, I've tried to recreate the error, however this time the program stalls I'll be happy to trouble shoot further, please fire away. On 5 May 2016 at 21:38, mikfire [email protected] wrote:
Vennlig hilsen, Lars-Andreas Kvisle |
I think the easiest thing now would be for me to get a copy of your database and see if I can find the malfunction. If you can tarball brewtarget's files:
and put the tarball somewhere I can download them (dropbox, google drive, whatever), I will try to figure out why your database is unhappy. |
Here you go: Yours, Lars On 7 May 2016 at 15:45, mikfire [email protected] wrote:
Vennlig hilsen, Lars-Andreas Kvisle |
If you give your recipe a style, brewtarget will stop crashing. I'll fix the code so this doesn't happen, but it will take some time for I'm still not certain why it has stopped working. I would suggest making Mik On Sat, May 7, 2016 at 11:42 AM, OiPenguin [email protected] wrote:
In a world of ninja v. pirate, I pilot a Gundam |
Excellent! Giving the receipe a style did magic. I'll keep that in mind and Thanks a lot! Yours sincerely, Lars On 12 May 2016 at 00:08, mikfire [email protected] wrote:
Vennlig hilsen, Lars-Andreas Kvisle |
This got fixed, but I cannot find the merge request that did it. |
I ran into the same issue as the original poster. (I tested with develop, but the differences between 2.4.0 and develop seem small.) Attached a patch against develop which fixes the issue. Do you prefer patches or pull requests for these small changes? |
Pull requests are the preferred, but I thought I had fixed this already? Mik Mik Firestone On Sun, Sep 11, 2016, at 11:22, mordante wrote:
Links: |
When the brewday is printed without a style or equipment the application crashes. The same happens when the print preview is requested. Fixes issue Brewtarget#250.
Not sure what happened. But when I print a recipe without a style and equipment everything goes well. When I print a brewday the application segfaults. Debugging found deferring two NULL pointers. The patch I posted fixes these two issues. I created a pull request with the patch. |
Ah. I fixed half the problem -- printing the recipe. I did not try the Mik Firestone On Mon, Sep 12, 2016, at 14:46, mordante wrote:
Links: |
When the brewday is printed without a style or equipment the application crashes. The same happens when the print preview is requested. Fixes issue Brewtarget#250.
I experience an instant crash of Brewtarget when attempting either:
File --> Brewday --> Print --> Print (from the dialogue box), or
File --> Brewday --> Print preview
I've just upgraded from v 2.1.* to 2.3.0 on Ubuntu 16.04 and I experience the issue on both versions of Brewtarget. I'll be happy to trouble shoot, but need guidance.
The text was updated successfully, but these errors were encountered: