[xml] RE: Segmentation fault on windows

Date view Thread view Subject view Author view

From: Alfred Reibenschuh (alfred.reibenschu@chello.at)
Date: Fri Jul 07 2000 - 04:28:56 EDT


hi !

i'm using "mingw gcc version 2.95.2 19991024 (release)"
on win2k. i can reproduce the error you mentoned only
if i give no url to testURI, so:

        testURI -- segfaults
but
        testURI http:/somewhen/allways -- does not

i looked into it and found a weakness in the argument evaluation
which produces segfaults if fewer than 1 arguments are given

can you send me a test case which will reproduce
what your program is doing (incuding the segfaults) ?

-- Alfred Reibenschuh

+----------------------------------------------------+
| linux geek, perl monger, roleplayer & sf-fanatic |
+----------------------------------------------------+
| Sometimes I hear voices in my head |
| telling me to do strange things, but |
| I always wonder if that's just me thinking |
| about things I really want to do anyway. |
| |
| Why do the voices never say, |
| "Your dosage needs adjustment"? |
+----------------------------------------------------+
| look @ http://penguin.at0.net/~fredo/ |
+----------------------------------------------------+

> -----Original Message-----
> From: Nicholas Lewin-Koh [mailto:kohnicho@comp.nus.edu.sg]
> Sent: Friday, July 07, 2000 6:17 AM
> To: xml@rufus.w3.org
> Cc: alfred.reibenschu@chello.at
> Subject: Segmentation fault on windows
>
>
> Hi,
> I compiled libxml-2.1.1 using alfred reibenschuh's port. I am using the
> mingw compiler gcc-2.95.2-1. The problem, when I compile my program before
> the program even starts there is a segementation fault, and of course
> stupid windows does not core dump. But I tried the test programs and the
> same thing happens with testURI. Anyone have any thoughts?
>
> Nicholas
>
>

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:22 EDT