pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Solved: SIGSEGV with x11/lablgtk (net/unison won't work)



On Nov 28, 2007 3:51 AM, Brian de Alwis <bsd%cs.ubc.ca@localhost> wrote:
> That patch wasn't sufficient to fix mldonkey-gui.  The patch below
> does appear to get the UI to work -- I've never used the app, so
> can't really atest to its actual functionality.  I'll submit this
> patch shortly to the PR too.
>
> Index: src/ml_gobject.c
> ===================================================================
> --- src/ml_gobject.c    (revision 1388)
> +++ src/ml_gobject.c    (working copy)
> @@ -51,7 +51,7 @@
>
>  Make_Val_final_pointer(GObject, g_object_ref, ml_g_object_unref_later, 0)
>  Make_Val_final_pointer_ext (GObject, _new, Ignore, ml_g_object_unref_later, 
> 20)
> -ML_1 (G_TYPE_FROM_INSTANCE, GObject_val, Val_int)
> +ML_1 (G_TYPE_FROM_INSTANCE, GObject_val, Val_GType)
>  // ML_1 (g_object_ref, GObject_val, Unit)
>  CAMLprim value ml_g_object_unref (value val)
>
>  {

Doesn't work for me - mlgui dumps core just after 'MLGui is working
in..." message - with or without the above patch.

As far as the first patch, this allowed unison to start, but after
creating the profile I get

Fatal Error: Uncaught exception Gpointer.Null

and it exits.
>
>
> --
>   Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
>       "Amusement to an observing mind is study." - Benjamin Disraeli
>




----------------------------------------------------------------
Chavdar Ivanov   | Talbot Way, Small Heath Business Park
Delcam UK        | Birmingham B10 0HJ, United Kingdom
Customer Support | (+44)121-6831014
----------------------------------------------------------------



Home | Main Index | Thread Index | Old Index