After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633969 - crash in gegl_operation_get_bounding_box
crash in gegl_operation_get_bounding_box
Status: RESOLVED FIXED
Product: GEGL
Classification: Other
Component: operations
git master
Other All
: High critical
: Future
Assigned To: Default Gegl Component Owner
Default Gegl Component Owner
Depends on:
Blocks:
 
 
Reported: 2010-11-04 06:20 UTC by Mohammad Tashackori
Modified: 2011-04-06 08:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
[PATCH] Check if aux_rect is NULL before dereferencing (870 bytes, patch)
2011-04-04 14:49 UTC, Mukund Sivaraman
none Details | Review

Description Mohammad Tashackori 2010-11-04 06:20:38 UTC
What were you doing when the application crashed?
Working with GEGL Operation / hstack


Distribution: openSUSE 11.3 (x86_64)
Gnome Release: 2.30.2 (null) (SUSE)
BugBuddy Version: 2.30.0

System: Linux 2.6.34.7-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10800000
Selinux: No
Accessibility: Enabled
GTK+ Theme: QtCurve
Icon Theme: nuvola
GTK+ Modules: canberra-gtk-module, gail-gnome, gail:atk-bridge, gnomebreakpad

Memory status: size: 1072607232 vsize: 1072607232 resident: 245264384 share: 32198656 rss: 245264384 rss_rlim: 18446744073709551615
CPU usage: start_time: 1288849790 rtime: 7496 utime: 6797 stime: 699 cutime:5883 cstime: 374 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/gimp-2.6'

[Thread debugging using libthread_db enabled]
[New Thread 0x7fa4b5aaa710 (LWP 8398)]
[New Thread 0x7fa4cd371710 (LWP 7603)]
[New Thread 0x7fa4db57d710 (LWP 7411)]
[New Thread 0x7fa4dbd7e710 (LWP 7410)]
0x00007fa4e72c5e7d in waitpid () from /lib64/libpthread.so.0

Thread 1 (Thread 0x7fa4ea35d8e0 (LWP 7395))

  • #0 waitpid
    from /lib64/libpthread.so.0
  • #1 g_spawn_sync
    from /usr/lib64/libglib-2.0.so.0
  • #2 g_spawn_command_line_sync
    from /usr/lib64/libglib-2.0.so.0
  • #3 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #4 <signal handler called>
  • #5 ??
    from /usr/lib64/gegl-0.1/hstack.so
  • #6 gegl_operation_get_bounding_box
    from /usr/lib64/libgegl-0.1.so.0
  • #7 ??
    from /usr/lib64/libgegl-0.1.so.0
  • #8 ??
    from /usr/lib64/libgegl-0.1.so.0
  • #9 ??
    from /usr/lib64/libgegl-0.1.so.0
  • #10 gegl_eval_mgr_apply
    from /usr/lib64/libgegl-0.1.so.0
  • #11 gegl_node_blit
    from /usr/lib64/libgegl-0.1.so.0
  • #12 gegl_processor_work
    from /usr/lib64/libgegl-0.1.so.0
  • #13 gimp_image_map_do
  • #14 g_main_context_dispatch
    from /usr/lib64/libglib-2.0.so.0
  • #15 ??
    from /usr/lib64/libglib-2.0.so.0
  • #16 g_main_loop_run
    from /usr/lib64/libglib-2.0.so.0
  • #17 app_run
  • #18 main
A debugging session is active.

	Inferior 1 [process 7395] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors ---------------------
Try: zypper install -C "debuginfo(build-id)=8f5f2a4a1aabf146cee833ec4bc985e38d0b5d94"
Missing separate debuginfo for /usr/lib64/gegl-0.1/png-save.so
Try: zypper install -C "debuginfo(build-id)=9a0a635879594a370ce7f528de5b0c43c4874ce3"
Missing separate debuginfo for /usr/lib64/gegl-0.1/buffer-sink.so
Try: zypper install -C "debuginfo(build-id)=047b94962ebe106278b2b32b4b02b7df2b0ca46c"
Missing separate debuginfo for /usr/lib64/gegl-0.1/display.so
Try: zypper install -C "debuginfo(build-id)=b75ba7b7f6bf4885eee348b944a04a704849ab30"
Missing separate debuginfo for /usr/lib64/libSDL-1.2.so.0
Try: zypper install -C "debuginfo(build-id)=c5aa6b6953423fa2e8a2e9990629487f647c6975"
Missing separate debuginfo for /usr/lib64/gio/modules/libgioremote-volume-monitor.so
Try: zypper install -C "debuginfo(build-id)=1b63db14d7ec6a1e3f23fed0cdab7e818ed82899"
Missing separate debuginfo for /usr/lib64/pango/1.6.0/modules/pango-arabic-lang.so
Try: zypper install -C "debuginfo(build-id)=01421fe715632a411561b497c9783084e875803d"
Missing separate debuginfo for /usr/lib64/pango/1.6.0/modules/pango-arabic-fc.so
Try: zypper install -C "debuginfo(build-id)=1b378936755707703d83326b79592d454736fcff"
--------------------------------------------------
Comment 1 Akhil Laddha 2010-11-04 08:19:52 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!
Comment 2 Mohammad Tashackori 2010-11-04 08:51:24 UTC
(In reply to comment #1)
> Thanks for taking the time to report this bug.
> Unfortunately, that stack trace is missing some elements that will help a lot
> to solve the problem, so it will be hard for the developers to fix that crash.
> Can you get us a stack trace with debugging symbols? Please see
> http://live.gnome.org/GettingTraces for more information on how to do so.
> Thanks in advance!

Thanks for your fast attention,

This report Automatically generated with gnome bugzilla and I can't edit this.

Thank you twice

yours,
Mohammad Tashackori
Comment 3 Nils Philippsen 2011-04-04 14:09:50 UTC
A Fedora user has probably run into the same issue. A more complete backtrace (against 2.6.10) can be found attached to the respective Fedora bug:

https://bugzilla.redhat.com/show_bug.cgi?id=627184
https://bugzilla.redhat.com/attachment.cgi?id=440879
Comment 5 Mukund Sivaraman 2011-04-04 14:49:21 UTC
Created attachment 185113 [details] [review]
[PATCH] Check if aux_rect is NULL before dereferencing

 operations/workshop/hstack.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Comment 6 Mukund Sivaraman 2011-04-04 14:51:06 UTC
This fixes the crash in comment #3. It was due to a NULL deference in the hstack (workshop) op. Haven't checked the other crashes.

(In reply to comment #5)
> Created an attachment (id=185113) [details] [review]
> [PATCH] Check if aux_rect is NULL before dereferencing
> 
>  operations/workshop/hstack.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
Comment 7 Mukund Sivaraman 2011-04-04 14:52:51 UTC
(In reply to comment #4)
> An even better one is here:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=661533
> https://bugzilla.redhat.com/attachment.cgi?id=467593

This seems to be the hstack crash too.
Comment 8 Mukund Sivaraman 2011-04-04 14:54:01 UTC
The original bug in comment #0 seems to be the hstack crash as well.
Comment 9 Mukund Sivaraman 2011-04-06 08:03:24 UTC
commit 742446507e819755bd3f44e2d47b157f8cd19ab2
Author: Mukund Sivaraman <muks@banu.com>
Date:   Tue Apr 5 00:58:50 2011 +0530

    Bug #633969: Check if aux_rect is NULL before dereferencing