Re: www/dillo crash on startup (powerpc)

2016-04-13 Thread Landry Breuil
On Wed, Apr 13, 2016 at 07:30:57PM +0200, Solène Rapenne wrote:
> Hello,
> 
> As xombrero doesn't work on powerpc I tried dillo, but I encounter an issue 
> with this one too. When starting it with "dillo", I get "Illegal instruction 
> (core dumped)"
> 
> I am on -current on a macppc, updated today.
> 
> I recompiled from ports with "make DEBUG="-g"" x11/fltk and www/dillo. Here 
> is the backtrace

If you want a usable browser on macppc, i'd recommend www/netsurf.
That's the only graphical one that doesnt crash all around, been using
it since the others stopped working.

(of course, that shouldnt prevent anyone from fixing dillo on macppc.
Thanks for providing a backtrace :)

Landry



www/dillo crash on startup (powerpc)

2016-04-13 Thread Solène Rapenne
Hello,

As xombrero doesn't work on powerpc I tried dillo, but I encounter an issue 
with this one too. When starting it with "dillo", I get "Illegal instruction 
(core dumped)"

I am on -current on a macppc, updated today.

I recompiled from ports with "make DEBUG="-g"" x11/fltk and www/dillo. Here is 
the backtrace


(gdb) run
Starting program: /usr/local/bin/dillo 

Program received signal SIGILL, Illegal instruction.
0xa7e77000 in ?? ()
Current language:  auto; currently c
(gdb) bt
#0  0xa7e77000 in ?? ()
#1  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#2  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#3  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#4  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#5  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#6  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#7  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#8  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#9  0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#10 0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
#11 0xa7ef8be4 in Node (this=0xb09baac0, path=Variable "path" is not available.
) at Fl_Preferences.cxx:1241
Previous frame inner to this frame (corrupt stack?)


The line 1241 of Fl_Preferences.cxx is the first statement of this function


// create a node that represents a group
// - path must be a single word, prferable alnum(), dot and underscore only. 
Space is ok.
Fl_Preferences::Node::Node( const char *path ) {
  if ( path ) path_ = strdup( path ); else path_ = 0; // < line 1241
  child_ = 0; next_ = 0; parent_ = 0;
  entry_ = 0;
  nEntry_ = NEntry_ = 0;
  dirty_ = 0;
  top_ = 0;
  indexed_ = 0;
  index_ = 0;
  nIndex_ = NIndex_ = 0;
}

I tried to comment the line and replace it with path_ = 0; but it did not make 
the trick and honestly I have no idea what I am doing in this.

It's broken since 5.9. In 5.8 (powerpc of course) dillo is working fine.

If someone could recommend me a graphical internet browser working on powerpc, 
I will be thanksful ! :)

Kind regards