Gimp-sharp compiles, but all filters just segfault
Hi,
I'm trying to get GIMP# to run on Arch Linux. I've compiled and installed with no errors (the makefiles don't respect DESTDIR so my PKGBUILD requires some patching, but the files all seem to go in the right places now).
However, when I try eg. Filters -> Blur->Average I get this output in the terminal:
Parameters: 3
param.Size: 36
param.type.Size: 4
param.type.Data: 32
0 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
1 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
2 Int32
#Total scripts : 0
#Total actions : 0
#Total events : 0
#Parsed : 0
#Old : 0
#Failed : 0
#Scripts executable : 0
#Actions executable : 0
#Events executable : 0
% parsed : =EF=BF=BD
% executable scripts: =EF=BF=BD
% executable actions: =EF=BF=BD
% executable events : =EF=BF=BD
Parameters: 3
param.Size: 36
param.type.Size: 4
param.type.Data: 32
0 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
1 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
2 Int32
gimp-sharp: fatal error: Segmentation fault
and no visible response from Gimp (ie. no change to the undo history).
I get
$ mono /usr/lib/gimp/2.0/plug-ins/Raindrops.exe
gimp-sharp is a GIMP plug-in and must be run by GIMP to be used
but I guess this is expected.
Here are my gimp and mono versions:
$ pacman -Qi gimp
Name : gimp
Version : 2.6.8-1
URL : http://www.gimp.org/
Licenses : GPL
Groups : None
Provides : None
Depends On : gtk2>=3D2.14.4 lcms>=3D1.17 libxpm>=3D3.5.7
libwmf>=3D0.2.8.4 libxmu>=3D1.0.4 librsvg>=3D2.22.3 libmng>=3D1.0.10
dbus-glib>=3D0.76 libexif>=3D0.6.16
pygtk>=3D2.13.0 desktop-file-utils gegl>=3D0.1.0 curl
Optional Deps : gutenprint: for sophisticated printing only as gimp
has built-in cups print support
libwebkit: for the help browser
poppler-glib: for pdf support
hal: for Linux input event controller module
alsa-lib: for MIDI event controller module
Required By : gimp-dbp gimp-help-en gimp-help-nn
gimp-plugin-fblur gimp-plugin-gmic4gimp gimp-plugin-greycstoration
gimp-refocus gimp-sharp
Conflicts With : gimp-devel
Replaces : None
Installed Size : 59740,00 K
Packager : Eric Belanger <[email protected]>
Architecture : x86_64
Build Date : su. 13. des. 2009 kl. 03.10 +0100
Install Date : m=C3=A5. 18. jan. 2010 kl. 17.24 +0100
Install Reason : Explicitly installed
Install Script : Yes
Description : GNU Image Manipulation Program
$ pacman -Qi mono
Name : mono
Version : 2.6.1-1
URL : http://www.mono-project.com/
Licenses : GPL LGPL2 MPL custom:MITX11
Groups : None
Provides : monodoc
Depends On : zlib libgdiplus>=3D2.4.2 sh
Optional Deps : None
Required By : gimp-sharp gtk-sharp-2 mono-addins ndesk-dbus
Conflicts With : monodoc
Replaces : None
Installed Size : 137984,00 K
Packager : Daniel Isenmann <[email protected]>
Architecture : x86_64
Build Date : su. 20. des. 2009 kl. 16.19 +0100
Install Date : ty. 19. jan. 2010 kl. 21.09 +0100
Install Reason : Installed as a dependency for another package
Install Script : No
Description : Free implementation of the .NET platform including
runtime and compiler
Raindrops, similarly, gives
Parameters: 3
param.Size: 36
param.type.Size: 4
param.type.Data: 32
0 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
1 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
2 Int32
gimp-sharp: fatal error: Segmentation fault
and no UI change. Splitter pops up the dialogue, but segfaults if I try to use it (not if I cancel). All other filters just segfault.
Check for Updates gives me
Parameters: 3
param.Size: 36
param.type.Size: 4
param.type.Data: 32
0 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
1 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
2 Int32
0.16.0.0
The contents of the Html page are :
<packages>
<package version=3D"0.12" />
</packages>
Processing time: 00:00:00.48
and no UI feedback.
Picture Package amazingly worked on the first, third and fourth try
(but didn't show my Custom Text in the picture), giving this the
second and third times:
Parameters: 3
param.Size: 36
param.type.Size: 4
param.type.Data: 32
0 Int32
gimp-sharp: fatal error: Segmentation fault
Parameters: 3
param.Size: 36
param.type.Size: 4
param.type.Data: 32
0 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
1 Int32
param.Size: 36
param.type.Size: 4
param.type.Data: 32
2 Int32
Processing time: 00:00:01.55
while save as JavaFX pops up a dialogue and segfaults.
Now, the one reason I'm trying Gimp# is that I want Photoshop Actions. This gives me a dialogue with no available actions. Pressing OK does nothing, while on pressing Execute, Gimp gives a dialogue saying the plugin crashed and I should save and exit. Here's the console output:
#Total scripts : 0
#Total actions : 0
#Total events : 0
#Parsed : 0
#Old : 0
#Failed : 0
#Scripts executable : 0
#Actions executable : 0
#Events executable : 0
% parsed : =EF=BF=BD
% executable scripts: =EF=BF=BD
% executable actions: =EF=BF=BD
% executable events : =EF=BF=BD
Marshaling clicked signal
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException
to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.IndexOutOfRangeException:
Array index is out of range.
at Gimp.PhotoshopActions.PhotoshopActions+<CreateDialog>c__AnonStorey84.<=
>m__9
(System.Object , System.EventArgs ) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj,
BindingFlags invokeAttr, System.Reflection.Binder binder,
System.Object[] parameters, System.Globalization.CultureInfo culture)
[0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj,
System.Object[] parameters) [0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args)
[0x00000] in <filename unknown>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args)
[0x00000] in <filename unknown>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in
<filename unknown>:0
at GLib.Signal.ClosureInvokedCB (System.Object o,
GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args)
[0x00000] in <filename unknown>:0
at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr
invocation_hint, IntPtr marshal_data) [0x00000] in <filename
unknown>:0
at GLib.ExceptionManager.RaiseUnhandledException(System.Exception
e, Boolean is_terminal)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr
return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr
invocation_hint, IntPtr marshal_data)
at Gimp.GimpDialog.gimp_dialog_run(IntPtr )
at Gimp.GimpDialog.Run()
at Gimp.Plugin.DialogRun()
at Gimp.Plugin.Run(System.String name, Gimp.ParamDefList inParam,
Gimp.ParamDefList ByRef outParam)
at Gimp.Plugin.Run(System.String name, Int32 n_params, IntPtr
paramPtr, Int32 ByRef n_return_vals, IntPtr ByRef return_vals)
at Gimp.Plugin.gimp_main(GimpPlugInInfo ByRef , Int32 , System.String[] =
at Gimp.Plugin..ctor(System.String[] args, System.String package)
at Gimp.PhotoshopActions.PhotoshopActions..ctor(System.String[] args)
at Gimp.PhotoshopActions.PhotoshopActions.Main(System.String[] args)
Sorry if I'm being very verbose about some simple mistake, but I figured I might as well include what I've found so far...
Has anyone else here gotten gimp-sharp / Photoshop Actions up and running?
My PKGBUILD so far:
pkgname=gimp-sharp
pkgver=0.16
pkgrel=1
pkgdesc="Gimp# is a C# wrapper around the GIMP API"
arch=('i686' 'x86_64')
url="http://gimp-sharp.sourceforge.net/"
license=('GPL')
depends=('gimp' 'mono')
source=("http://downloads.sourceforge.net/sourceforge/gimp-sharp/gimp-sharp-${pkgver}.tar.gz")
md5sums=('9dc7f795269120a7dfb17a20a8e2ddb0') # todo, this is my patched version
build() {
cd "$srcdir"/gimp-sharp-$pkgver
./configure --prefix=/usr
make || return 1
mkdir -p ${pkgdir}/usr/lib/gimp/2.0/plug-ins
make DESTDIR="$pkgdir" install
although this also needs a patch I haven't made yet that changes the makefiles in the plug-ins subdirs to saying
echo "Copying po/$$lang to $(DESTDIR)$(GIMPLOCALE)/$$localedir/LC_MESSAGES/AverageBlur.mo";\
$(mkinstalldirs) $(DESTDIR)$(GIMPLOCALE)/$$localedir/LC_MESSAGES ;\
$(INSTALL_DATA) po/$$lang $(DESTDIR)$(GIMPLOCALE)/$$localedir/LC_MESSAGES/AverageBlur.mo;\
instead of
echo "Copying po/$$lang to $(GIMPLOCALE)/$$localedir/LC_MESSAGES/AverageBlur.mo";\
$(INSTALL_DATA) po/$$lang $(GIMPLOCALE)/$$localedir/LC_MESSAGES/AverageBlur.mo;\
but I'm hoping they'll just fix it upstream after my reports ;-)
Check if dmesg |tail has something interesting to say about these crashes.
Probably it's a bug in some shared library, to find out which one it is start your editor under gdb and run bt after it segfaults:
$ gdb ./test
GNU gdb (GDB) 7.5.1
blah blah blah
(gdb) run
Starting program: /home/m/test
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7aafc61 in __strlen_sse2 () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7aafc61 in __strlen_sse2 () from /usr/lib/libc.so.6 <- my program crashed in strlen in libc
#1 0x0000000000400519 in main ()
(gdb) quit
Similar Messages
-
The email on my iPad seems to keep disappearing. I have checked all of the settings, viewing settings, etc. On mail. I have compared it next to the settings on the iPhone and see no differences. The mail stays fine on the iPhone and the computer. Can anyone help me??
Did you ever resolve this issue? Mine started doing the same thing today after flawlessly working for over a year.
-
Hey I'm a novice on computers but i've just done a full system restore on my laptop and put it back to factory spec, obviously i backed up all the data on an external hard-drive but when i have re-installed itunes and gone to import all my old music files from my previous itunes library as mpeg4 files it keeps telling me i don't have permission??!! *** someone please explain or tell me how to get music on to my new itunes without having to re-import every cd i own which is alot!!!
Other than iMovie, GB always incorporates the audio files into the GB package. So just save or move the GB project to the external drive, and you're done - anything you import, edit or record will be saved to the external drive.
-
I bought a new iMac today. I'm using migration assistant to move all my software, but the time just keeps getting longer. It says connect an Ethernet cable for faster data transfer. I did, but that doesn't seem to help. Any ideas?
m1doc,
Are you migrating from a Mac or a MS Window machine? Either way you probably should be in touch with AppleCare, you have 90 days of free AppleCare telephone support. They can usually help on issues like this. If you don't know the phone number please use http://support.apple.com/kb/HE57 to help find the number in your country. -
Does iTunes match need to locate the actual files or just see its record in your library database? I am currently traveling in US and I have US and Australian iTunes accounts. But all my music files are on a hard drive in Australia. Can I start using itunes music match while I am travelling without the actual music files attached to my itunes?
In your situation I strongly recommend you read over that KB article. The international iTunes Stores are not cross-compatible.
My understanding of how it would work is that when activating iTunes Match on your US Store account, any songs you have in your iTunes Library that were purchased from the AUS Store account will NOT be matched. As I understand it, those files will be uploaded (which means you need the files on a local HDD). I also do not think it is possible to have iTunes Match active on more than one store ID on the same computer. But since iTunes Match is not available internationally yet, that point is moot for the moment.
To be honest you might want to wait until the service is available internationally so you can guage how will it will serve you. -
I just restored my iPhone so i could get rid of my other data but all it did was increase my other data by .5 gbs. How do i get rid of the "other data"?
kmsammon wrote:
... How do i get rid of the "other data"?
You will Not be able to get rid of it entirely...
Other is usually around 1 GB...
A ' Large Other ' usually indicates Corrupt Data...
First Try a Restore from Backup...
But... if the Large Other Persists, that is an Indicator of Corrupt Data in the Backup...
Then a Restore as New is the way to go...
Details Here > http://support.apple.com/kb/HT1414
More Info Here...
maclife.com/how_remove_other_data_your_iphone -
hi one guy stolen my iphone, and now i need my pictures which i have in my icloud i open my Apple id in icloud but i downlode just 20 pic how i got my all picturs in my pc?
Update: I reset my phone again and this time I restored it from my last iCloud backup. That "sort of" worked. (The missing info was on my phone temporarily, but it's still missing from iCloud.com and as the phone syncs with the cloud the missing contacts are disappearing.)
This is good news, but I'm losing progress. How can I restore my iCloud settings to that last backup? -
I am using iPhone 5 and tried to Erase All Contents and Settings but it is just showing an apple sign on the screen and nothing is happening now for about 3 days now. All it does is eat up my battery and still show apple sign after charging! Help!!!!
Hi DaVince Vince,
I'm sorry to hear that you are having issues with your iPhone. I also apologize, I'm a bit unclear what issues you were having that led up to the attempted Erase All, and/or exactly what behavior you are seeing now (restarting, not responding at all, etc). If you are seeing an Apple Logo screen and your iPhone does not appear to be starting correctly, you may find the following articles helpful:
If your iOS device restarts, displays the Apple logo, or powers off while you're using it - Apple Support
If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
Regards,
- Brenden -
unable to "share" a photo. Get error message stating server is not responding. But all normal email functions work just fine.????????
Just a quick bump... Anyone got any thoughts on this?
-
I just installed ios7 on my iPhone 4s. It seems to be working fine but all of the apps I had previously installed are gone. They show up in my app store as purchased, but the shortcuts are gone. Does anyone know how to get the shortcuts back? Thanks!
I updated via my iPhone 4s. The apps were on my iPhone 4s. That's all the information that I have. The update to ios7 seems to have gone smoothly - everything else is working, phone texting, email, internet, etc. But all of the apps I had installed over the past year are no longer showing up as shortcuts. No facebook, no twitter, no espn, etc. They are all still listed in my app store as purchased, but the shortcuts and my folders are gone. Thanks.
-
I usually play my music on Shuffle all, but having played just one of my albums it will not now shuffle all. Shuffle and shuffle all do exactly the same thing - no change. Seems to have happened after upgrade. Please advise
There's a good guide here on how to roll back to 10.7 https://discussions.apple.com/thread/4559563?tstart=0
-
I just upgraded from Logic pro 9 to Logic Pro X on my computer, but all my EXS24 libraries are missing all of a sudden. How do i Get them back???
I have checked both the resource folders, and made backups from Logic pro 9, but its not recognizing them, or saying that they're missing a bunch of samples.
What do i do?Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later. Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid. Apple notes it is your responsibility to back up your purchases.
Select the store on the left side of iTunes.
Click on Purchased on the right side under Quick Links.
You can re-download your available previous purchases. -
Been using g iPhone 6 for few months, just backed up my iPhone 5, restored my pics etc onto 6 but all original photos have been deleted, Is there a way I can get them back?
If you are backing up to your computer, check in iTunes/Edit/Preferences/Devices, if there is more than your recent iPhone 6 backup listed. If yes, transfer the photos from your phone to the computer first, then restore from the backup. After that, transfer the recovered photos again to your computer and sync all of the transferred pictures to your phone, using iTunes and the settings in the photo pane.
Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support -
Why won't my iMessage work with only one contact in my phone all my other iMessages send and they just got an iphone but all their iMessages are sending also. I've tried restarting my phone, deleting messages, contact, restarting network
Hello Jesslb23,
Thanks for using Apple Support Communities.
For more information on this, take a look at:
iOS: Troubleshooting Messages
http://support.apple.com/kb/ts2755
To resolve issues with sending and receiving iMessages, follow these steps first
Check iMessage system status for current service issues.
Go to Settings > Messages > Send & Receive and make sure that you have registered iMessage with your phone number or Apple ID and that you have selected iMessage for use. Learn more about troubleshooting iMessage registration if the phone number or Apple ID isn't available for use.
Open Safari and navigate to www.apple.com to verify data connectivity. Learn more about troubleshootingcellular data or a Wi-Fi connection if a data connection isn't available.
iMessage over cellular data might not be available while on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn more about which network your phone supports. Go to Settings > Wi-Fi and turn Wi-Fi on to use iMessage while on a call if your network doesn't support simultaneous data and voice calls.
Restart your device.
Tap Settings > General > Reset > Reset Network Settings on your iPhone.
If you are still unable to send or receive an iMessage, follow these steps
Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
Verify that the contact you are attempting to send a message to is registered with iMessage.
If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
If the issue occurs with a specific contact or contacts, delete and re-create the contact in the Contacts application. Create a new message to the newly created contact and try again.
Back up and restore your device as new.
Best of luck,
Mario -
Im trying to update, but all it does is backup my phone, My itunes is updated, BTW, I just went to Apple bar, i had previous problem with prior phone, now im having this update problem with thyis new phone, someone HELP!!
Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.
Maybe you are looking for
-
Can I keep a published/shared calendar current when using two synced macs?
I have two macs, home and office, thinking about a laptop for travel as well, plus iPhone. I sync all the calendars with .mac which works nicely, then publish and share. But I am not publishing the .mac version, I am publishing the version on one of
-
Does HP Proliant DL380 G4 work with Solaris 10?
Hi everybody!!! I�d like to know if anybody made HP Proliant DL380 G4 work with solaris 10. I didn�t find this server in HCL for solaris 10. has anybody tried to install solaris 10 on this server? tnx very much regards The player
-
Can I somehow let the user select multiple images from device?
Is there any way to let the user select multiple images from the device media gallery? The CameraRoll only selects one image. And the FileRefernceList doesn't show thumbnails (so you have no idea what you are selecting). Is there a way, or maybe some
-
Itunes not detecting my video ipod
I have installed itunes and my ipod but when i plug in my ipod nothing happens and in the preferences tab it sas no ipod connected. I've done the 5 R's and have reinstalled the ipod and itunes many times. When i try to restore my ipod it says no ipod
-
Raid not mounting, only mounts after restart
When i restart the MP, the 4tb RAID (2x WD Black Cav.) fail to mount, but show in disc utility. When I restart, the RAID Shows - Is this a sign they are about to die... I bought them in Oct 2011 - around the same time as the inflated HDD prices due t