[MacPorts] #58017: gimp2 crashes while loading certain images (exiv2?)

MacPorts noreply at macports.org
Mon Feb 4 01:56:21 UTC 2019


#58017: gimp2 crashes while loading certain images (exiv2?)
-----------------------+--------------------
  Reporter:  rmottola  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  lion
      Port:  exiv2     |
-----------------------+--------------------
Changes (by ryandesign):

 * cc: dbevans (added)
 * keywords:  gimp2 exiv2 lion => lion
 * port:  exiv => exiv2


Old description:

> A fresh compiled gimp2, exiv2 crashes when loading a JPG image
> ~This is on Lion 10.7
> I'm unsure if this is a gimp2 or exiv2 issue, I suppose the latter, given
> the stacktrace.
>
>   exiv2 @0.27_1 (active) platform='darwin 11' archs='x86_64'
> date='2019-02-03T21:14:53+0100'
>   gimp2 @2.10.8_3+python27+quartz (active) platform='darwin 11'
> archs='x86_64' date='2019-02-03T21:54:28+0100'
>
> gimp(72592,0x7fff7d067960) malloc: *** error for object 0x101b0f0e0:
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
>
> Program received signal SIGABRT, Aborted.
> 0x00007fff90b2ece2 in __pthread_kill ()
> (gdb) bt
> #0  0x00007fff90b2ece2 in __pthread_kill ()
> #1  0x00007fff8ef2d7d2 in pthread_kill ()
> #2  0x00007fff8ef1ea7a in abort ()
> #3  0x00007fff8ef7d84c in free ()
> #4  0x00007fff994f96b4 in std::string::_Rep::_M_destroy ()
> #5  0x000000010142c429 in gexiv2_metadata_init_internal ()
> #6  0x000000010142bdce in gexiv2_metadata_open_internal ()
> #7  0x000000010142be86 in gexiv2_metadata_open_buf ()
> #8  0x0000000100cd180a in gimp_metadata_new ()
> #9  0x0000000100cd1b1d in gimp_metadata_deserialize ()
> #10 0x000000010021e33a in image_set_metadata_invoker ()
> #11 0x00000001002639cf in gimp_procedure_execute ()
> #12 0x000000010025e65b in gimp_pdb_execute_procedure_by_name_args ()
> #13 0x0000000100269b13 in gimp_plug_in_handle_message ()
> #14 0x000000010026722e in gimp_plug_in_recv_message ()
> #15 0x00000001014ca9a5 in g_main_context_dispatch ()
> #16 0x00000001014cac82 in g_main_context_iterate ()
> #17 0x00000001014caed6 in g_main_loop_run ()
> #18 0x000000010026cce8 in gimp_plug_in_manager_call_run ()
> #19 0x000000010027359a in gimp_plug_in_procedure_execute ()
> #20 0x00000001002639cf in gimp_procedure_execute ()
> #21 0x000000010025e65b in gimp_pdb_execute_procedure_by_name_args ()
> #22 0x000000010025eb07 in gimp_pdb_execute_procedure_by_name ()
> #23 0x0000000100341a06 in file_open_image ()
> #24 0x00000001003425f1 in file_open_with_proc_and_display ()
> #25 0x0000000100342481 in file_open_with_display ()
> #26 0x0000000100024ea1 in file_open_recent_cmd_callback ()
> #27 0x0000000101455cdb in g_closure_invoke ()
> #28 0x00000001014692e8 in signal_emit_unlocked_R ()
> #29 0x000000010146a183 in g_signal_emit_valist ()
> #30 0x000000010146a58e in g_signal_emit ()
> #31 0x0000000101455cdb in g_closure_invoke ()
> #32 0x00000001014690dc in signal_emit_unlocked_R ()
> #33 0x000000010146a183 in g_signal_emit_valist ()
> #34 0x000000010146a58e in g_signal_emit ()
> #35 0x00000001007af4af in _gtk_action_emit_activate ()
> #36 0x0000000101455cdb in g_closure_invoke ()
> #37 0x00000001014690dc in signal_emit_unlocked_R ()
> #38 0x000000010146a183 in g_signal_emit_valist ()
> #39 0x000000010146a58e in g_signal_emit ()
> #40 0x0000000101455cdb in g_closure_invoke ()
> #41 0x00000001007910cd in idle_call_activate ()
> #42 0x0000000100bb610c in gdk_threads_dispatch ()
> #43 0x00000001014ca9a5 in g_main_context_dispatch ()
> #44 0x00000001014cac82 in g_main_context_iterate ()
> #45 0x00000001014caed6 in g_main_loop_run ()
> #46 0x000000010000c524 in app_run ()
> #47 0x000000010000e900 in main ()
> (gdb)

New description:

 A fresh compiled gimp2, exiv2 crashes when loading a JPG image\\
 ~This is on Lion 10.7\\
 I'm unsure if this is a gimp2 or exiv2 issue, I suppose the latter, given
 the stacktrace.

 {{{
   exiv2 @0.27_1 (active) platform='darwin 11' archs='x86_64'
 date='2019-02-03T21:14:53+0100'
   gimp2 @2.10.8_3+python27+quartz (active) platform='darwin 11'
 archs='x86_64' date='2019-02-03T21:54:28+0100'
 }}}
 {{{
 gimp(72592,0x7fff7d067960) malloc: *** error for object 0x101b0f0e0:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug

 Program received signal SIGABRT, Aborted.
 0x00007fff90b2ece2 in __pthread_kill ()
 (gdb) bt
 #0  0x00007fff90b2ece2 in __pthread_kill ()
 #1  0x00007fff8ef2d7d2 in pthread_kill ()
 #2  0x00007fff8ef1ea7a in abort ()
 #3  0x00007fff8ef7d84c in free ()
 #4  0x00007fff994f96b4 in std::string::_Rep::_M_destroy ()
 #5  0x000000010142c429 in gexiv2_metadata_init_internal ()
 #6  0x000000010142bdce in gexiv2_metadata_open_internal ()
 #7  0x000000010142be86 in gexiv2_metadata_open_buf ()
 #8  0x0000000100cd180a in gimp_metadata_new ()
 #9  0x0000000100cd1b1d in gimp_metadata_deserialize ()
 #10 0x000000010021e33a in image_set_metadata_invoker ()
 #11 0x00000001002639cf in gimp_procedure_execute ()
 #12 0x000000010025e65b in gimp_pdb_execute_procedure_by_name_args ()
 #13 0x0000000100269b13 in gimp_plug_in_handle_message ()
 #14 0x000000010026722e in gimp_plug_in_recv_message ()
 #15 0x00000001014ca9a5 in g_main_context_dispatch ()
 #16 0x00000001014cac82 in g_main_context_iterate ()
 #17 0x00000001014caed6 in g_main_loop_run ()
 #18 0x000000010026cce8 in gimp_plug_in_manager_call_run ()
 #19 0x000000010027359a in gimp_plug_in_procedure_execute ()
 #20 0x00000001002639cf in gimp_procedure_execute ()
 #21 0x000000010025e65b in gimp_pdb_execute_procedure_by_name_args ()
 #22 0x000000010025eb07 in gimp_pdb_execute_procedure_by_name ()
 #23 0x0000000100341a06 in file_open_image ()
 #24 0x00000001003425f1 in file_open_with_proc_and_display ()
 #25 0x0000000100342481 in file_open_with_display ()
 #26 0x0000000100024ea1 in file_open_recent_cmd_callback ()
 #27 0x0000000101455cdb in g_closure_invoke ()
 #28 0x00000001014692e8 in signal_emit_unlocked_R ()
 #29 0x000000010146a183 in g_signal_emit_valist ()
 #30 0x000000010146a58e in g_signal_emit ()
 #31 0x0000000101455cdb in g_closure_invoke ()
 #32 0x00000001014690dc in signal_emit_unlocked_R ()
 #33 0x000000010146a183 in g_signal_emit_valist ()
 #34 0x000000010146a58e in g_signal_emit ()
 #35 0x00000001007af4af in _gtk_action_emit_activate ()
 #36 0x0000000101455cdb in g_closure_invoke ()
 #37 0x00000001014690dc in signal_emit_unlocked_R ()
 #38 0x000000010146a183 in g_signal_emit_valist ()
 #39 0x000000010146a58e in g_signal_emit ()
 #40 0x0000000101455cdb in g_closure_invoke ()
 #41 0x00000001007910cd in idle_call_activate ()
 #42 0x0000000100bb610c in gdk_threads_dispatch ()
 #43 0x00000001014ca9a5 in g_main_context_dispatch ()
 #44 0x00000001014cac82 in g_main_context_iterate ()
 #45 0x00000001014caed6 in g_main_loop_run ()
 #46 0x000000010000c524 in app_run ()
 #47 0x000000010000e900 in main ()
 (gdb)
 }}}

--

Comment:

 Remember to use WikiFormatting when writing in Trac.

-- 
Ticket URL: <https://trac.macports.org/ticket/58017#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list