Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82946 - drag'n'drop-ing an URL onto tomboy's icon doesn't open a new note
Summary: drag'n'drop-ing an URL onto tomboy's icon doesn't open a new note
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-22 05:21 UTC by Frederic Grosshans
Modified: 2007-09-10 19:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Grosshans 2005-02-22 05:21:50 UTC
Tomboy 0.3.1 crashed while trying to drag'n'drop an URL onto the applet icon. The output in a currently opened xterm is

========================================================
 uri = http://raphael.slinckx.net/tomboy.html
uri =

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
in [0x0002e] (at /var/tmp/portage/tomboy-0.3.1/work/tomboy-0.3.1/Tomboy/Tray.cs: 292) Tomboy.TomboyTray:OnDragDataReceived (object,Gtk.DragDataReceivedArgs)
in (unmanaged) (wrapper managed-to-native) System.Reflection.MonoMethod:Internal Invoke (object,object[])
in <0x00004> (wrapper managed-to-native) System.Reflection.MonoMethod:InternalIn voke (object,object[])
in [0x00033] (at /home/cvs/1-mono/mcs/class/corlib/System.Reflection/MonoMethod. cs:121) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFla gs,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in [0x00052] (at /home/cvs/1-mono/mcs/class/corlib/System.Reflection/MonoMethod. cs:125) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFla gs,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in [0x00006] (at /home/cvs/1-mono/mcs/class/corlib/System.Reflection/MethodBase. cs:78) System.Reflection.MethodBase:Invoke (object,object[])
in [0x0005d] (at /home/cvs/1-mono/mcs/class/corlib/System/Delegate.cs:219) Syste m.Delegate:DynamicInvokeImpl (object[])
in [0x0001a] (at /home/cvs/1-mono/mcs/class/corlib/System/MulticastDelegate.cs:6 8) System.MulticastDelegate:DynamicInvokeImpl (object[])
in [0x00002] (at /home/cvs/1-mono/mcs/class/corlib/System/Delegate.cs:207) Syste m.Delegate:DynamicInvoke (object[])
in <0x0032d> GtkSharp.voidObjectObjectintintSelectionDatauintuintSignal:voidObje ctObjectintintSelectionDatauintuintCallback (intptr,intptr,int,int,intptr,uint,u int,int)
in <0x000f7> (wrapper native-to-managed) GtkSharp.voidObjectObjectintintSelectio nDatauintuintSignal:voidObjectObjectintintSelectionDatauintuintCallback (intptr, intptr,int,int,intptr,uint,uint,int)
in (unmanaged) (wrapper managed-to-native) PanelApplet.AppletFactory:panel_apple t_factory_main (string,intptr,PanelAppletSharp.FactoryCallbackNative,intptr)
in <0x00004> (wrapper managed-to-native) PanelApplet.AppletFactory:panel_applet_ factory_main (string,intptr,PanelAppletSharp.FactoryCallbackNative,intptr)
in [0x00075] (at /var/tmp/portage/tomboy-0.3.1/work/tomboy-0.3.1/Tomboy/panelapp let/AppletFactory.cs:23) PanelApplet.AppletFactory:Register (System.Type)
in [0x0000a] (at /var/tmp/portage/tomboy-0.3.1/work/tomboy-0.3.1/Tomboy/Tomboy.c s:54) Tomboy.Tomboy:RegisterPanelAppletFactory ()
in [0x00062] (at /var/tmp/portage/tomboy-0.3.1/work/tomboy-0.3.1/Tomboy/Tomboy.c s:36) Tomboy.Tomboy:Main (string[])
===================================================



Reproducible: Always
Steps to Reproduce:
1.Start the tomboy applet
2.Open a random webpage with epiphany 
3.Drag'n'drop its url onto the tomboy applet

Actual Results:  
tomboy crashed

Expected Results:  
It should have opened a new note with the URL


My gentoo system is mainly stable, and I tried to add as few ~x86 mono apps as
possible to compile tomboy:

My package.keywords contains
=======================================
app-misc/tomboy ~x86 # 0.3.1 known to work
<app-text/aspell-60.3 ~x86 # for tomboy 0.3.1
<dev-dotnet/mono-1.0.5 ~x86
<dev-dotnet/gnome-sharp-1.0.5 ~x86
<dev-dotnet/gtk-sharp-1.0.5 ~x86
<dev-dotnet/gconf-sharp-1.0.5 ~x86
<dev-dotnet/glade-sharp-1.0.5 ~x86
<dev-dotnet/art-sharp-1.0.5 ~x86
<dev-libs/icu-2.7 ~x86
============================

and package-uses contains the line
dev-dotnet/mono -nptl 

(I'm on a 2.6 kernel with a nptl glibc)

If the bug comes from my to restrictive package.keywords file, the dependencies
of the ebuild should be updated to reflect this.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-02-22 08:20:29 UTC
I don't think it's an NPTL problem, but first can you try upgrading to mono-1.0.5-r4, with the "nptl" USE flag enabled? we no longer dep on gcc-3.4 to do so, only gcc-3.3.5.

I don't tihnk that's really the issue though, so i'll look into this when I find a chance. Can you see if the same happens when using tomboy as a notification area icon? Thanks.
Comment 2 Frederic Grosshans 2005-02-22 08:30:00 UTC
The same happens with the tray-icons.

mono-1.0.5-r4 +nptl is compiling right now.
Comment 3 Frederic Grosshans 2005-02-22 08:52:51 UTC
I emerged mono 1.0.5-r4 and re-emerged tomboy-0.3.1.
This doesn't seem to change anything.
It might be useful to upgrade the other *-sharp packages to 1.0.5
and I'll try it now.
Comment 4 Frederic Grosshans 2005-02-22 08:58:16 UTC
My last comment (#3) was stupid. The *-sharp packages do not have a 1.0.5 version but only a 1.0.4 an a 1.0.6 one.
Comment 5 Frederic Grosshans 2005-02-22 09:28:21 UTC
Emerging th following packages don't change anything neither

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-dotnet/gtk-sharp-1.0.6 [1.0.4-r1] 
[ebuild     U ] dev-dotnet/art-sharp-1.0.6 [1.0.4] 
[ebuild     U ] dev-dotnet/glade-sharp-1.0.6 [1.0.4] 
[ebuild     U ] dev-dotnet/gnome-sharp-1.0.6 [1.0.4] 
[ebuild     U ] dev-dotnet/gconf-sharp-1.0.6 [1.0.4] 
[ebuild   R   ] app-misc/tomboy-0.3.1  
Comment 6 Peter Johanson (RETIRED) gentoo-dev 2005-02-22 10:32:14 UTC
I've just confirmed that this doesn't cause a crasher here, however i'm on the package.masked mono-1.1.4. I'm going to give 1.0.5-r4 a try this evening to see if I can reproduce it here on that version of mono.
Comment 7 Peter Johanson (RETIRED) gentoo-dev 2005-05-05 11:13:10 UTC
This still a problem with the recently commited 0.3.2? Thanks.
Comment 8 Frederic Grosshans 2005-05-09 05:40:54 UTC
Yes it is :-(
Comment 9 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-02-01 00:12:29 UTC
Is this still a problem with 0.3.4?
Comment 10 Frederic Grosshans 2006-02-03 15:30:36 UTC
It doesn't crash anymore (tomboy 0.3.4 and mono 1.1.8.3, but I still don't have a note with the url. 
Comment 11 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-02-19 19:03:26 UTC
Can you try it with mono 1.1.12.1-r1 please?
Comment 12 Frederic Grosshans 2006-02-21 08:29:38 UTC
mono-1.1.12 doesn't even unpack on my ppc. I'll try now on my x86

agena ~ # emerge -va mono

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] dev-lang/mono-1.1.12.1-r1 [1.1.8.3] +X +nptl 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) dev-lang/mono-1.1.12.1-r1 to /
>>> md5 files   ;-) mono-1.1.13.2.ebuild
>>> md5 files   ;-) mono-1.1.8.3.ebuild
>>> md5 files   ;-) mono-1.0.5-r5.ebuild
>>> md5 files   ;-) mono-1.1.12.1-r1.ebuild
>>> md5 files   ;-) mono-1.1.13.1.ebuild
>>> md5 files   ;-) files/dotnet.conf
>>> md5 files   ;-) files/dotnet.init
>>> md5 files   ;-) files/mono-1.1.5-pathfix.diff
>>> md5 files   ;-) files/mono-1.1.9.1-io-layer-fix.diff
>>> md5 files   ;-) files/mono-1.1.7-ppc-tls.diff
>>> md5 files   ;-) files/mono-1.1.8.3-array-getvalue.diff
>>> md5 files   ;-) files/digest-mono-1.1.12.1-r1
>>> md5 files   ;-) files/mono-1.1.5-r42108.diff
>>> md5 files   ;-) files/digest-mono-1.0.5-r5
>>> md5 files   ;-) files/digest-mono-1.1.13.2
>>> md5 files   ;-) files/digest-mono-1.1.13.1
>>> md5 files   ;-) files/mcs-1.0.5-pathfix.diff
>>> md5 files   ;-) files/mono-1.1.5-r42122.diff
>>> md5 files   ;-) files/mono-1.1.5-icu-linking.diff
>>> md5 files   ;-) files/mono-1.1.6-r42300.diff
>>> md5 files   ;-) files/mono-1.1.13-pathfix.diff
>>> md5 files   ;-) files/mono-1.1.8.3-icall.diff
>>> md5 files   ;-) files/mono-1.1.13-resource-manager.diff
>>> md5 files   ;-) files/digest-mono-1.1.8.3
>>> md5 src_uri ;-) mono-1.1.12.1.tar.gz
>>> Unpacking source...
>>> Unpacking mono-1.1.12.1.tar.gz to /var/tmp/portage/mono-1.1.12.1-r1/work
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors

!!! ERROR: dev-lang/mono-1.1.12.1-r1 failed.
!!! Function unpack, Line 381, Exitcode 2
!!! failure unpacking mono-1.1.12.1.tar.gz
!!! If you need support, post the topmost build error, NOT this status message.
Comment 13 Frederic Grosshans 2006-02-21 08:47:49 UTC
This unpacking problem is ppc specific. 
Comment 14 Frederic Grosshans 2006-02-21 10:00:24 UTC
Going to tomboy 0.3.5, mon 1.1.12-r1 on x86 doesn't solve the problem :
drag'n'drop-ing an URL onto tomboy's icon doesn't seem to do anything
Comment 15 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-24 02:26:19 UTC
Is this bug still present in tomboy-.6* and mono-1.2*?
Comment 16 Frederic Grosshans 2007-07-02 10:32:56 UTC
Still present with 0.4.1 and mono 1.2.4. I will soon test with 0.6.3
Comment 17 Jurek Bartuszek (RETIRED) gentoo-dev 2007-08-07 23:46:33 UTC
what are the results with 0.6.3?
Comment 18 Jurek Bartuszek (RETIRED) gentoo-dev 2007-09-10 19:15:56 UTC
No response from the reporter for some time now, reopen if needed