TIA
--
> head -n1 /etc/*-{version,release} && uname -moprs
Slackware 13.37.0
Linux 2.6.37.6 x86_64 AMD Turion(tm) 64 Mobile Technology MK-36 GNU/Linux
> Can anybody confirm that urlview 0.9 crashes with a segmentation fault
> on Linux/x86_64? If I find out that it's not just my system, I might
> take a look at the code.
No one? Can anybody report if urlview 0.9 is *working* for them on an
x86_64 Linux system instead?
I *think* I had it running on x86_64 before...
Silly question perhaps, but have you checked the contents of
url_handler.sh? I really don't know why that file isn't in /etc
or in ~/.urlview; it needs to be edited unless you're using the
ca. 1998 defaults it contains. :)
--
caveat utilitor
♫ ❤ ♫ ❤ ♫ ❤ ♫
> I *think* I had it running on x86_64 before...
> Silly question perhaps, but have you checked the contents of
> url_handler.sh? I really don't know why that file isn't in /etc
> or in ~/.urlview; it needs to be edited unless you're using the
> ca. 1998 defaults it contains. :)
Yeah, you have a point there.
I actually edited url_handler.sh, but urlview crashes even before
reading that file, as I found out by inserting debugging messages at
different points in the source code.
Reports of how urlview 0.9 behaves on x86_64 would still be welcome.
Thank you.
You know that you can make the segfault create a core dump, right?
Which you then can look at using gdb?
> Reports of how urlview 0.9 behaves on x86_64 would still be welcome.
Sadly I've never heard of it.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
It was last year when I built it but I do remember the crash on x86_64.
The debian patches fixed it for me.
--
Steve Jones
sj...@slohj.org
> Can anybody confirm that urlview 0.9 crashes with a segmentation fault
> on Linux/x86_64? If I find out that it's not just my system, I might
> take a look at the code.
While looking for a patch, I found the following:
http://bugs.gentoo.org/show_bug.cgi?id=70254#c1
which fixed the problem. I'm attaching the patch for archival.
Thanks to all respondents.
=====BEGIN DIFF=====
--- urlview.c.orig 2005-02-06 17:10:54.000000000 +0100
+++ urlview.c 2005-02-06 17:57:06.998290062 +0100
@@ -40,6 +40,8 @@
#include <fcntl.h>
#include <sys/stat.h>
+#include "quote.h"
+
#ifdef HAVE_REGEX_H
#include <regex.h>
#else
=====END DIFF=====
> Can anybody confirm that urlview 0.9 crashes with a segmentation fault
> on Linux/x86_64? If I find out that it's not just my system, I might
> take a look at the code.
>
> TIA
Seems to work fine for me: openSUSE 10.3, x86_64.