[grisbi-devel] RE : Building Grisbi on Mac OS Lion?

Barrie Treloar baerrach at gmail.com
Wed Feb 15 01:11:51 CET 2012


On Wed, Feb 15, 2012 at 10:18 AM, Barrie Treloar <baerrach at gmail.com> wrote:
> On Thu, Feb 2, 2012 at 2:49 PM, Barrie Treloar <baerrach at gmail.com> wrote:
>> On Thu, Feb 2, 2012 at 9:19 AM, Barrie Treloar <baerrach at gmail.com> wrote:
>>> There is a section on Xcode 4 that I didn't see before starting.
>>> Something about adding
>>> export ARCHFLAGS="-arch x86_64 -arch i386"
> [del]
>> The good thing about running it in a console is that the error dialog
>> "grisbi quit unexpectedly"
>> prints out to the console
>> grisbi(19174,0x7fff73ecb960) malloc: *** error for object
>> 0x7fe5bad3fae0: pointer being freed was not allocated
>> *** set a breakpoint in malloc_error_break to debug
>> Abort trap: 6
>>
>> So there is a chance I can work out what its doing.
>
> I'll put this in the notes I write up.
> The short answer is that I needed to start again with gtk.
>
> OS X Lion must have
>  jhbuild bootstrap --skip=libiconv
>
> and ~/.jhbuild-customrc
>  setup_sdk(target="10.6", sdk_version="10.6", architectures=["i386"])
>
> Then it build x86 binaries (as GTK 64 bit is no good) and I no longer
> get crashes on close.

Spoke too soon.
Had been building stable not grisbi-devel :)

(Grisbi-bin:73760): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed
Grisbi-bin(73760,0xacf8c2c0) malloc: *** error for object 0x23e7c30:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Grisbi-bin(73760,0xacf8c2c0) malloc: *** error for object 0xb0161e2a:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Wed Feb 15 10:40:33 2012 : 15 elements in stack.
	0   Grisbi-bin                          0x00021ae9 print_backtrace + 57
	1   Grisbi-bin                          0x00021201 traitement_sigsegv + 817
	2   libsystem_c.dylib                   0x9a44359b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libglib-2.0.0.dylib                 0x01265e98 g_regex_unref + 88
	5   libglib-2.0.0.dylib                 0x01232e9e
g_hash_table_remove_all_nodes + 126
	6   libglib-2.0.0.dylib                 0x01234012
g_hash_table_remove_all + 114
	7   libglib-2.0.0.dylib                 0x012337d0 g_hash_table_destroy + 80
	8   Grisbi-bin                          0x000e05db gsb_regex_destroy + 43
	9   Grisbi-bin                          0x0012ddf5 free_variables + 21
	10  Grisbi-bin                          0x0000b8c0
main_window_destroy_event + 32
	11  libgobject-2.0.0.dylib              0x011c738f
g_cclosure_marshal_VOID__VOID + 223
	12  libgobject-2.0.0.dylib              0x011a8114 g_closure_invoke + 468
	13  libgobject-2.0.0.dylib              0x011c653f
signal_emit_unlocked_R + 2991
	14  libgobject-2.0.0.dylib              0x011c529b g_signal_emit_valist + 2619


More information about the devel mailing list