Works for me too. Thanks!
-----Original Message----- From: Dan Horák [mailto:[email protected]] Sent: Thursday, January 21, 2010 4:41 AM To: [email protected] Subject: Re: [Openhpi-devel] Linux support for hpiview Dan Horák píše v St 20. 01. 2010 v 18:44 +0100: > Anton Pak píše v Út 19. 01. 2010 v 19:54 +0300: > > I tried hpiview compiled from the source. > > It came up and failed to segmentation fault on any attempt to do something. > > Does it work for you? > > In Fedora 12 I am also getting a segfault after any action. Probably > there was a change in glib or gtk some time ago that makes the hpiview > code buggy and provokes the segfaults now. I am playing with gdb and > valgrind now ... And the result is that new gcc provokes the bug (global variable allocated on stack) in hpiview code. A simple fix is bellow and because there are other problems with the code, I will do some cleanup. Dan --- a/hpiview/hpiview.c +++ b/hpiview/hpiview.c @@ -23,11 +23,12 @@ #include "hview_windows.h" #include "hpiview.h" +static HviewWidgetsT widgets; + /* Initialization all Hpi View widgets */ static void hview_init(void) { - HviewWidgetsT widgets; GtkTreeModel *domains; gchar err[1024]; gint i; ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Openhpi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openhpi-devel ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Openhpi-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openhpi-devel
