Discussion:
[Expat-bugs] [ expat-Bugs-3534772 ] Crash when XML doesn't have newline at the end
SourceForge.net
2012-06-13 06:38:50 UTC
Permalink
Bugs item #3534772, was opened at 2012-06-12 23:38
Message generated for change (Tracker Item Submitted) made by jurinad
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex (jurinad)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash when XML doesn't have newline at the end

Initial Comment:
Please see this thread
https://bbs.archlinux.org/viewtopic.php?pid=1115372#p1115372
Without newline in XML GoogleEarth crashes, with it - running file. It was suggested in the thread that libexpat is the culprit.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127
SourceForge.net
2012-06-13 13:37:09 UTC
Permalink
Bugs item #3534772, was opened at 2012-06-12 23:38
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex (jurinad)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Crash when XML doesn't have newline at the end

Initial Comment:
Please see this thread
https://bbs.archlinux.org/viewtopic.php?pid=1115372#p1115372
Without newline in XML GoogleEarth crashes, with it - running file. It was suggested in the thread that libexpat is the culprit.

----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2012-06-13 06:37

Message:
Please submit a simple reproducible example that demonstrates the crash.
I just opened your file (with new line removed) in FireFox, which uses
Expat, and had no crash. Also, given that Expat is used i n millions of
installations, we would have heard of this earlier. I am inclined to reject
this bug report unless I can see a reproducible example.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127
SourceForge.net
2012-06-13 16:34:43 UTC
Permalink
Bugs item #3534772, was opened at 2012-06-12 23:38
Message generated for change (Comment added) made by jurinad
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex (jurinad)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Crash when XML doesn't have newline at the end

Initial Comment:
Please see this thread
https://bbs.archlinux.org/viewtopic.php?pid=1115372#p1115372
Without newline in XML GoogleEarth crashes, with it - running file. It was suggested in the thread that libexpat is the culprit.

----------------------------------------------------------------------
Comment By: Alex (jurinad)
Date: 2012-06-13 09:34

Message:
Scenario: install GoogleEarth for linux and try to start it, make sure you
have .drirc without newline at the end (for me it's crashing on start with
error).
Then add newline at the end of this file and start GoogleEarth again (for
me it starts fine).
On my system (x86_64 linux with lib32-expat installed) it is fully
reproducible.
Feel free to ask for more details if you need to.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2012-06-13 06:37

Message:
Please submit a simple reproducible example that demonstrates the crash.
I just opened your file (with new line removed) in FireFox, which uses
Expat, and had no crash. Also, given that Expat is used i n millions of
installations, we would have heard of this earlier. I am inclined to reject
this bug report unless I can see a reproducible example.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127
SourceForge.net
2012-06-13 17:09:04 UTC
Permalink
Bugs item #3534772, was opened at 2012-06-12 23:38
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex (jurinad)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Crash when XML doesn't have newline at the end

Initial Comment:
Please see this thread
https://bbs.archlinux.org/viewtopic.php?pid=1115372#p1115372
Without newline in XML GoogleEarth crashes, with it - running file. It was suggested in the thread that libexpat is the culprit.

----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2012-06-13 10:09

Message:
First: Installing GoogleEarth and running it is not a simple example to
demonstrate the bug in Expat.
Secondly: this example proves nothing, as there are so many components
involved that anyone of them could be to blame.
So many unanswered questions: How is the code written that uses Expat to
process the file, is a call-back handler expecting the end of line and
crashes because of it, is there some pre or post-processing done on the
file, what are the runtime libraries installed, etc. etc.

Also, the link you mentioned offers a few solutions, some of them simply
replacing another Dll with no hint that XML parsing is even involved.

As I said, a simple example that involves only Expat and some C code is
necessary to prove that an XML file without newline at end of file will
cause a crash.

----------------------------------------------------------------------

Comment By: Alex (jurinad)
Date: 2012-06-13 09:34

Message:
Scenario: install GoogleEarth for linux and try to start it, make sure you
have .drirc without newline at the end (for me it's crashing on start with
error).
Then add newline at the end of this file and start GoogleEarth again (for
me it starts fine).
On my system (x86_64 linux with lib32-expat installed) it is fully
reproducible.
Feel free to ask for more details if you need to.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2012-06-13 06:37

Message:
Please submit a simple reproducible example that demonstrates the crash.
I just opened your file (with new line removed) in FireFox, which uses
Expat, and had no crash. Also, given that Expat is used i n millions of
installations, we would have heard of this earlier. I am inclined to reject
this bug report unless I can see a reproducible example.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127
SourceForge.net
2012-06-13 17:24:34 UTC
Permalink
Bugs item #3534772, was opened at 2012-06-12 23:38
Message generated for change (Comment added) made by jurinad
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex (jurinad)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Crash when XML doesn't have newline at the end

Initial Comment:
Please see this thread
https://bbs.archlinux.org/viewtopic.php?pid=1115372#p1115372
Without newline in XML GoogleEarth crashes, with it - running file. It was suggested in the thread that libexpat is the culprit.

----------------------------------------------------------------------
Comment By: Alex (jurinad)
Date: 2012-06-13 10:24

Message:
Well, I don't know for sure if this is expat bug. I'm not so familiar with
C as to produce scenario that you speak of, this example with GoogleEarth
is the best I can do. Do whatever you like with this information, if you
think there's nothing to gain from it - throw it out :)

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2012-06-13 10:09

Message:
First: Installing GoogleEarth and running it is not a simple example to
demonstrate the bug in Expat.
Secondly: this example proves nothing, as there are so many components
involved that anyone of them could be to blame.
So many unanswered questions: How is the code written that uses Expat to
process the file, is a call-back handler expecting the end of line and
crashes because of it, is there some pre or post-processing done on the
file, what are the runtime libraries installed, etc. etc.

Also, the link you mentioned offers a few solutions, some of them simply
replacing another Dll with no hint that XML parsing is even involved.

As I said, a simple example that involves only Expat and some C code is
necessary to prove that an XML file without newline at end of file will
cause a crash.

----------------------------------------------------------------------

Comment By: Alex (jurinad)
Date: 2012-06-13 09:34

Message:
Scenario: install GoogleEarth for linux and try to start it, make sure you
have .drirc without newline at the end (for me it's crashing on start with
error).
Then add newline at the end of this file and start GoogleEarth again (for
me it starts fine).
On my system (x86_64 linux with lib32-expat installed) it is fully
reproducible.
Feel free to ask for more details if you need to.

----------------------------------------------------------------------

Comment By: Karl Waclawek (kwaclaw)
Date: 2012-06-13 06:37

Message:
Please submit a simple reproducible example that demonstrates the crash.
I just opened your file (with new line removed) in FireFox, which uses
Expat, and had no crash. Also, given that Expat is used i n millions of
installations, we would have heard of this earlier. I am inclined to reject
this bug report unless I can see a reproducible example.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3534772&group_id=10127
Loading...