Bug 551337
| Summary: | [abrt] crash detected in expendable-0.0.9-1.fc12 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | vlapan |
| Component: | expendable | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | abrt_hash:639888b7 | ||
| Fixed In Version: | 0.0.9-2.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-01-19 00:57:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
vlapan
2009-12-30 06:14:21 UTC
Are you able to reproduce the problem? There isn't enough information in this report to diagnose what went wrong. I am sending full crash report with trace now. The problem occures during save data. Where have you sent the trace to? I still don't see it... UUID: 639888b7
architecture: i686
cmdline: /usr/bin/python /usr/share/expendable/main.py
component: expendable
executable: /usr/share/expendable/main.py
kernel: 2.6.31.9-174.fc12.i686
package: expendable-0.0.9-1.fc12
release: Fedora release 12 (Constantine)
uuid: 639888b7
UUID: 639888b7
architecture: i686
cmdline: /usr/bin/python /usr/share/expendable/main.py
component: expendable
executable: /usr/share/expendable/main.py
kernel: 2.6.31.9-174.fc12.i686
package: expendable-0.0.9-1.fc12
release: Fedora release 12 (Constantine)
uuid: 639888b7
How to reproduce
-----
1.entered mortgage info
2.changed the mortgage info
3.exited from the program saving the data and received crash
backtrace
-----
Summary: TB639888b7 xmlfile.py:146:save:IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
File "/usr/share/expendable/main.py", line 947, in destroy
response = self.maybe_save_changes ()
File "/usr/share/expendable/main.py", line 941, in maybe_save_changes
self.xmlfile.save ()
File "/usr/share/expendable/xmlfile.py", line 146, in save
self.file.write (content)
IOError: [Errno 9] Bad file descriptor
Local variables in innermost frame:
content: <money>
<accounts limit-nper="360">
<account name="My Mortgage">
<mortgage>
<rate>0.0500</rate>
<loan_amount>200000.0000</loan_amount>
<nper>120</nper>
<offset_amount>0.0000</offset_amount>
</mortgage>
<account name="Kate">
<mortgage>
<rate>0.0535</rate>
<loan_amount>480000.0000</loan_amount>
<nper>360</nper>
</mortgage>
</account>
<account name="Monthly overpayment">
<gain>
<amount>0.0000</amount>
</gain>
</account>
<account name="Fixed Term Deposit (into offset)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="My Savings">
<savings>
<rate>0.0650</rate>
<taxrate>0.2000</taxrate>
<balance>0.0000</balance>
</savings>
<account name="Monthly spend">
<spend>
<amount>0.0000</amount>
</spend>
</account>
<account name="Big purchase">
<payment>
<amount>0.0000</amount>
</payment>
</account>
<account name="Fixed Term Deposit (into savings)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="Regular Savings">
<regsave>
<rate>0.1000</rate>
<taxrate>0.2000</taxrate>
<amount>0.0000</amount>
<minamount>0.0000</minamount>
<term>12</term>
</regsave>
</account>
</account>
</account>
</accounts>
</money>
xml: <money>
<accounts limit-nper="360">
<account name="My Mortgage">
<mortgage>
<rate>0.0500</rate>
<loan_amount>200000.0000</loan_amount>
<nper>120</nper>
<offset_amount>0.0000</offset_amount>
</mortgage>
<account name="Kate">
<mortgage>
<rate>0.0535</rate>
<loan_amount>480000.0000</loan_amount>
<nper>360</nper>
</mortgage>
</account>
<account name="Monthly overpayment">
<gain>
<amount>0.0000</amount>
</gain>
</account>
<account name="Fixed Term Deposit (into offset)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="My Savings">
<savings>
<rate>0.0650</rate>
<taxrate>0.2000</taxrate>
<balance>0.0000</balance>
</savings>
<account name="Monthly spend">
<spend>
<amount>0.0000</amount>
</spend>
</account>
<account name="Big purchase">
<payment>
<amount>0.0000</amount>
</payment>
</account>
<account name="Fixed Term Deposit (into savings)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="Regular Savings">
<regsave>
<rate>0.1000</rate>
<taxrate>0.2000</taxrate>
<amount>0.0000</amount>
<minamount>0.0000</minamount>
<term>12</term>
</regsave>
</account>
</account>
</account>
</accounts>
</money>
nodes: <Element money at 9f51a8c>
self: <xmlfile.File instance at 0x985f34c>
new_filename: None
UUID: 639888b7
architecture: i686
cmdline: /usr/bin/python /usr/share/expendable/main.py
component: expendable
executable: /usr/share/expendable/main.py
kernel: 2.6.31.9-174.fc12.i686
package: expendable-0.0.9-1.fc12
release: Fedora release 12 (Constantine)
uuid: 639888b7
How to reproduce
-----
1.entered mortgage info
2.changed the mortgage info
3.exited from the program saving the data and received crash
backtrace
-----
Summary: TB639888b7 xmlfile.py:146:save:IOError: [Errno 9] Bad file descriptor
Traceback (most recent call last):
File "/usr/share/expendable/main.py", line 947, in destroy
response = self.maybe_save_changes ()
File "/usr/share/expendable/main.py", line 941, in maybe_save_changes
self.xmlfile.save ()
File "/usr/share/expendable/xmlfile.py", line 146, in save
self.file.write (content)
IOError: [Errno 9] Bad file descriptor
Local variables in innermost frame:
content: <money>
<accounts limit-nper="360">
<account name="My Mortgage">
<mortgage>
<rate>0.0500</rate>
<loan_amount>200000.0000</loan_amount>
<nper>120</nper>
<offset_amount>0.0000</offset_amount>
</mortgage>
<account name="Kate">
<mortgage>
<rate>0.0535</rate>
<loan_amount>480000.0000</loan_amount>
<nper>360</nper>
</mortgage>
</account>
<account name="Monthly overpayment">
<gain>
<amount>0.0000</amount>
</gain>
</account>
<account name="Fixed Term Deposit (into offset)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="My Savings">
<savings>
<rate>0.0650</rate>
<taxrate>0.2000</taxrate>
<balance>0.0000</balance>
</savings>
<account name="Monthly spend">
<spend>
<amount>0.0000</amount>
</spend>
</account>
<account name="Big purchase">
<payment>
<amount>0.0000</amount>
</payment>
</account>
<account name="Fixed Term Deposit (into savings)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="Regular Savings">
<regsave>
<rate>0.1000</rate>
<taxrate>0.2000</taxrate>
<amount>0.0000</amount>
<minamount>0.0000</minamount>
<term>12</term>
</regsave>
</account>
</account>
</account>
</accounts>
</money>
xml: <money>
<accounts limit-nper="360">
<account name="My Mortgage">
<mortgage>
<rate>0.0500</rate>
<loan_amount>200000.0000</loan_amount>
<nper>120</nper>
<offset_amount>0.0000</offset_amount>
</mortgage>
<account name="Kate">
<mortgage>
<rate>0.0535</rate>
<loan_amount>480000.0000</loan_amount>
<nper>360</nper>
</mortgage>
</account>
<account name="Monthly overpayment">
<gain>
<amount>0.0000</amount>
</gain>
</account>
<account name="Fixed Term Deposit (into offset)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="My Savings">
<savings>
<rate>0.0650</rate>
<taxrate>0.2000</taxrate>
<balance>0.0000</balance>
</savings>
<account name="Monthly spend">
<spend>
<amount>0.0000</amount>
</spend>
</account>
<account name="Big purchase">
<payment>
<amount>0.0000</amount>
</payment>
</account>
<account name="Fixed Term Deposit (into savings)">
<ftd>
<rate>0.1000</rate>
<taxrate>0.0000</taxrate>
<amount>0.0000</amount>
<term>12</term>
</ftd>
</account>
<account name="Regular Savings">
<regsave>
<rate>0.1000</rate>
<taxrate>0.2000</taxrate>
<amount>0.0000</amount>
<minamount>0.0000</minamount>
<term>12</term>
</regsave>
</account>
</account>
</account>
</accounts>
</money>
nodes: <Element money at 9f51a8c>
self: <xmlfile.File instance at 0x985f34c>
new_filename: None
Thanks, fixed in CVS. expendable-0.0.9-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/expendable-0.0.9-2.fc11 expendable-0.0.9-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/expendable-0.0.9-2.fc12 expendable-0.0.9-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update expendable'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0271 expendable-0.0.9-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update expendable'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0297 expendable-0.0.9-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. expendable-0.0.9-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |