LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-20-2017, 09:13 AM   #16
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367

Agreed. I stick to my original assessment that the ports and base are out of sync. Not trying to draw traffic from this site, but I suggest the OP focus on investigating that possibility first over at daemonforums (which is at least frequented by a handful of NetBSD users) and look into diagnosing, possibly non-existent, hardware issues later. Reproducible segfaults relating to libc and triggered by gtk2 programmes, does not sound like failing hardware.

The "had the same problems in Alpine Linux" comment doesn't mean much at this stage as there is no available data to show that the two problems are in any way related.
 
Old 02-20-2017, 02:09 PM   #17
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cynwulf View Post
I'm not familiar with "testdisk" so not sure if that error referring to the drive geometry is relevant. Can you post your fdisk and disklabel outputs? For disklabel you will need to specify the device node.
16 heads in NetBSD disklabel disk geometry and 255 in BIOS disk geometry.
 
Old 02-20-2017, 03:07 PM   #18
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cynwulf View Post
Agreed. I stick to my original assessment that the ports and base are out of sync. Not trying to draw traffic from this site, but I suggest the OP focus on investigating that possibility first over at daemonforums (which is at least frequented by a handful of NetBSD users) and look into diagnosing, possibly non-existent, hardware issues later. Reproducible segfaults relating to libc and triggered by gtk2 programmes, does not sound like failing hardware.
I would like to believe that the issue is with something like this. As I stated previously, the base is 7.0.2 and the repository is set to 7.0.2 as well. Also, I could've understood it if it would happen with binaries from the repository but it happens with locally built software as well. I may file a bug report to gain a bit more attention. On DF nothing has been posted after your latest message three days ago.

Quote:
The "had the same problems in Alpine Linux" comment doesn't mean much at this stage as there is no available data to show that the two problems are in any way related.
Sadly, I don't have Alpine on this machine currently. I remember that mplayer worked back then.

I just ran gtk-demo under gdb:
Code:
Program received signal SIGSEGV, Segmentation fault.
0x00007f7fecc07060 in open () from /usr/lib/libpthread.so.1
(gdb) bt
#0  0x00007f7fecc07060 in open () from /usr/lib/libpthread.so.1
#1  0x00007f7fec8f3dd6 in fopen () from /usr/lib/libc.so.12
[and libXcursor...]
on keyboard input in message/dialogue boxes.
 
Old 02-21-2017, 07:05 AM   #19
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Cág View Post
I would like to believe that the issue is with something like this. As I stated previously, the base is 7.0.2 and the repository is set to 7.0.2 as well. Also, I could've understood it if it would happen with binaries from the repository but it happens with locally built software as well.
Yet in your post not netbsd-users and at the forums you have stated that one of the packages does not segfault when built via pkgsrc? I suggest deleting all packages and installing only binary packages. If you can reproduce the same segfaults with the same packages, then you might want to file a new bug report.
 
Old 02-21-2017, 02:17 PM   #20
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by cynwulf View Post
Yet in your post not netbsd-users and at the forums you have stated that one of the packages does not segfault when built via pkgsrc? I suggest deleting all packages and installing only binary packages. If you can reproduce the same segfaults with the same packages, then you might want to file a new bug report.
Once sxiv worked if built locally from pkgsrc but it doesn't anymore. I tried also both gimp from pkgsrc and the binary package and both don't work. I upgraded the base, the kernel and modules from the installation media (from 7.0.2 to 7.0.2, nice) but the things didn't change.
 
Old 02-23-2017, 03:55 AM   #21
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
I reinstalled without X11, only installed mpg321 to test it (it didn't work back then as well) and it segfaults in libpthread.so.1.
 
Old 02-23-2017, 05:07 AM   #22
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Right now running Xubuntu, segfaults in GTK were caused by the cursor theme (Alkano), hence the errors. Could someone try it to confirm? You need to start typing in a GTK+2 programme.
 
Old 02-28-2017, 11:43 AM   #23
Cág
LQ Newbie
 
Registered: Oct 2016
Posts: 18

Original Poster
Rep: Reputation: 0
Since mpg321 is the only thing that segfaults, I mark this as solved. Summary:
  • libXcursor.so part of GTK+2 and sxiv segfaults were caused by the cursor theme. Apparently mplayer crashed there as well since now it works.
  • sxiv runs fine if built with gmake, not make (bmake that is).
Thanks everyone for their time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove programmes GuyFawkes Linux - Newbie 12 08-26-2016 06:26 AM
I can't run my programmes fazc99 Programming 5 02-11-2012 10:53 AM
email programmes ambiant Linux - Software 8 01-01-2011 01:54 PM
Install programmes lijoyx Linux - Newbie 1 11-05-2007 10:44 AM
Compiling programmes: How to use #ifdef? asciimonster Linux - General 1 12-13-2004 01:35 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration