DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th August 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default trojita pkg and port crash

trojita crash when starting.
OpenBSD 6.0
Tried both from pkg and ports.

Code:
QNativeImage: Unable to attach to shared memory segment. 
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
QNativeImage: Unable to attach to shared memory segment. 
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id:  0x0
Reply With Quote
  #2   (View Single Post)  
Old 17th August 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Please provide the output of the following command:

$ sysctl kern.version

...as it is unclear as to where the installed version of "6.0" fits in the development timeline. pledge(2) continues to be tightened down, & this has had interesting implications crop up in various ports. Knowing more about your installation may help provide context.
Reply With Quote
  #3   (View Single Post)  
Old 18th August 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

I just tried the application here, and got a W^X violation. This application is one that requires the wxneeded flag added at link editing.

See the August 8, 2016 entry in the Following -current FAQ, and related ports@ discussions.
Reply With Quote
  #4   (View Single Post)  
Old 18th August 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default

I searched with google. I found post about /etc/fstab
/usr/local has "wxallowed"

From current FAQ:
"2016/08/08 - Mandatory W^X enforcement
W^X violations are now only permitted for binaries marked wxneeded executed from filesystems marked wxallowed.

The base system is clean.
Starting in 6.0, the installer sets the /usr/local filesystem to wxallowed -- if your filesystem is not set so, make this change.
The ports tree contains a number of binaries which are not yet marked wxneeded but work is underway to mark them all. "

I will try add
Code:
USE_WXNEEDED=Yes
inside my makefile..
Reply With Quote
  #5   (View Single Post)  
Old 18th August 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default

I gave up trojita for now.
I have the last week tried upgrading several time in the hope newe base and pkg -uiv would fix it.
I have tried both from package and from source, evolution, thunderbird, and trojita.
As of bsd.rd 18.aug only evolution is the only thing I have manged to get running, with pkg_add install.
Reply With Quote
  #6   (View Single Post)  
Old 18th August 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

OpenBSD -current is the development branch. At this time, the Project is actively moving to enforce W^X and this impacts many ports.

The addition of the simple USE_WXNEEDED Makefile flag was only discussed today, and will take time to be committed and made available to you at your nearest CVS mirror.

https://marc.info/?t=147151169500002&r=1&w=2

You may add wxneeded without it.

https://marc.info/?t=147060154200005&r=1&w=2
Reply With Quote
  #7   (View Single Post)  
Old 18th August 2016
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

And, further news specific to this port:

http://marc.info/?t=147155058100002&r=1&w=2
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tor-0.2.5.12 can crash OpenBSD-5.7-stable hanzer OpenBSD Packages and Ports 11 16th July 2015 04:38 PM
fluxbox crash? HELP bsdnewbie999 OpenBSD General 9 2nd April 2009 04:35 AM
Firefox 2.0 Crash Problem disappearedng FreeBSD General 13 8th November 2008 05:54 AM
How to Crash my FreeBSD server - run portsdb Bruco FreeBSD Ports and Packages 15 1st September 2008 06:28 PM
Java + FF3 = crash graudeejs FreeBSD Ports and Packages 12 3rd August 2008 08:26 AM


All times are GMT. The time now is 08:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick