Discussion:
midori-0.4.9nb11 segfaults on Netbsd 6.1.4/amd64
Ottavio Caruso
2014-05-14 21:04:58 UTC
Permalink
Hello,

I've installed midori-0.4.9nb11.tgz binary package with pkgin on my
Netbsd 6.1.3 (Amd64).

bash-4.3$ midori
The configuration couldn't be loaded: No such file or directory
Segmentation fault (core dumped)

bash-4.3$ ls -l
total 10600
drwxr-xr-x 2 oc users 512 Apr 6 22:56 Desktop
drwx------ 4 oc users 512 Apr 13 17:35 Mail
-rw------- 1 oc users 5398952 May 14 22:02 midori.core

I've googled this error message and all results seem to be associated
with midori v 0.4.x (current Midori is 0.5.2).

It appears that there should be a /usr/etc/xdg/midori/config and/or a
.config/midori/config file, which are both missing. So I've created a
config file with this entry:

[settings]
homepage=file:///usr/pkg/share/doc/midori/faq.html

and copied to both locations.

Restarted midori form the command line, nothing seems to happen. When
I stop the process (crtl+c) I still get the segfault and core dump.

On the midori faq page:
http://midori-browser.org/faqs/

I see:
=====================================
Midori crashes shortly before pages are loaded

There appears to be an issue with Glib 2.16. The recommended solution
is to upgrade your Glib package to 2.18.
======================================

I already have glib2-2.38.2 so I don't think this is the problem.

Can anybody shed a light?

Thanks
--
Ottavio
Ottavio Caruso
2014-05-16 15:51:37 UTC
Permalink
Post by Ottavio Caruso
Hello,
I've installed midori-0.4.9nb11.tgz binary package with pkgin on my
Netbsd 6.1.3 (Amd64).
bash-4.3$ midori
The configuration couldn't be loaded: No such file or directory
Segmentation fault (core dumped)
I have attached a debug log but I am not sure I have a clue of what
the problem is.

Can anybody tell me if I should file a bug report? I see a similar bug
report at:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=47620

Should I append it to this PR or create a new one?

Thanks
--
Ottavio
Christos Zoulas
2014-05-17 16:41:47 UTC
Permalink
-=-=-=-=-=-
Post by Ottavio Caruso
Hello,
I've installed midori-0.4.9nb11.tgz binary package with pkgin on my
Netbsd 6.1.3 (Amd64).
bash-4.3$ midori
The configuration couldn't be loaded: No such file or directory
Segmentation fault (core dumped)
I have attached a debug log but I am not sure I have a clue of what
the problem is.
Can anybody tell me if I should file a bug report? I see a similar bug
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=47620
Should I append it to this PR or create a new one?
Append to it. Also can you add a ktrace...

christos
Ottavio Caruso
2014-05-17 17:17:10 UTC
Permalink
Post by Christos Zoulas
-=-=-=-=-=-
Post by Ottavio Caruso
Hello,
I've installed midori-0.4.9nb11.tgz binary package with pkgin on my
Netbsd 6.1.3 (Amd64).
bash-4.3$ midori
The configuration couldn't be loaded: No such file or directory
Segmentation fault (core dumped)
I have attached a debug log but I am not sure I have a clue of what
the problem is.
Can anybody tell me if I should file a bug report? I see a similar bug
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=47620
Should I append it to this PR or create a new one?
Append to it. Also can you add a ktrace...
Thanks Christos.

I am reading the ktrace man page. Could you or anybody else point me
to the correct syntax for this command?

For example could I use ktruss instead:

ktruss /usr/pkg/bin/midori -o midori.trace

Would that work?
--
Ottavio
Eric Haszlakiewicz
2014-05-17 20:37:04 UTC
Permalink
Thanks Christos. I am reading the ktrace man page. Could you or
anybody else point me to the correct syntax for this command? For
example could I use ktruss instead: ktruss /usr/pkg/bin/midori -o
midori.trace Would that work?
Something like this should do it:

ktrace -di /usr/pkg/bin/midori
kdump > midori.trace

The trace is likely to be large, so you might want to make it available
somewhere and post a link.

Eric
Ottavio Caruso
2014-05-17 21:44:03 UTC
Permalink
Post by Eric Haszlakiewicz
Thanks Christos. I am reading the ktrace man page. Could you or anybody
else point me to the correct syntax for this command? For example could I
use ktruss instead: ktruss /usr/pkg/bin/midori -o midori.trace Would that
work?
ktrace -di /usr/pkg/bin/midori
kdump > midori.trace
The trace is likely to be large, so you might want to make it available
somewhere and post a link.
Oops!

I've already posted it to gnats-***@NetBSD.org but honestly I just
attached the dump file, I didn't think about how big it could be. It
was about 856KB and it hasn't reached pkgsrc-bugs yet.

In case the file is rejected by the list and somebody volunteers to
give it a look, here it is:
https://drive.google.com/file/d/0Bx5TGFTxBRWvU1g4djdxSEp1TllXOFlzY2FOeF9Wb2FZMmRF/edit
--
Ottavio
Christos Zoulas
2014-05-17 22:08:28 UTC
Permalink
On May 17, 7:17pm, ottavio2006-***@yahoo.com (Ottavio Caruso) wrote:
-- Subject: Re: midori-0.4.9nb11 segfaults on Netbsd 6.1.4/amd64

|
| Thanks Christos.
|
| I am reading the ktrace man page. Could you or anybody else point me
| to the correct syntax for this command?

ktrace -i /usr/pkg/bin/midori
[puts output to ktrace.out]
kdump > file.to.send

christos
Loading...