This does mean that you'll see more segfaults with buggy software,
but that means you get a better chance to debug them and get the
problem fixed, rather than have something silently proceed even
though there's a bug (only to have it intermittently fail in hard
to diagnose ways).
In general if you have segfaults you'll either need to provide
a backtrace, or provide a way to repeat it (this definitely
doesn't happen on every file with unrtf). But in this case
the version of unrtf in ports is ancient so there's no
point digging into it, I'll look at updating it, then if it
still fails with the new one you'll need to provide either
the file or a backtrace.
On 2011-06-10, Stuart Henderson <[hidden email]> wrote:
> On 2011/06/09 18:17, [hidden email] wrote:
>> OS OpenBSD 4.9 upgraded from 4.8
>> Command 'unrtf file.rtf' give me segmentation fault.
>> File seem regular because it can be converted on linux.
> In general if you have segfaults you'll either need to provide
> a backtrace, or provide a way to repeat it (this definitely
> doesn't happen on every file with unrtf). But in this case
> the version of unrtf in ports is ancient so there's no
> point digging into it, I'll look at updating it, then if it
> still fails with the new one you'll need to provide either
> the file or a backtrace.
here's a start of a diff to update it, but ugh...
it fails its own regression tests unless:
1. it's compiled with -O0
2. you disable malloc.conf options for picking up more bugs (FGJ etc).
Your answer is very complicated for my skills :-(.
I found the problem by making a random test and not for personal use, therefore
I have request to solve it not for me (I use unrtf on linux) but for OpenBSD
Please Stuard tell me if I did right or wrong I have to highlight it.
I'am sorry to have send incomplete mail to uncorrect address (bugs@openbsd),
but I have send it several days later that I have found problem, from another
computer and no other informations.
If my action was not correct I apologize.
Thank for your response.
Nel caso la mail sia stata ricevuta per errore
cortesemente avvisate il mittente e cancellatela immediatamente.