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 394024 - crash in giop_send_buffer_append_string
crash in giop_send_buffer_append_string
Status: RESOLVED DUPLICATE of bug 364839
Product: at-spi
Classification: Platform
Component: atkbridge
1.7.x
Other All
: High critical
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2007-01-07 20:55 UTC by Jim Cornette
Modified: 2007-01-13 03:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Jim Cornette 2007-01-07 20:55:32 UTC
What were you doing when the application crashed?
I was testing out the Gnucash program in order to see if I could get a crash on exit as described by anouther development user. I was able to create an account and then exit. This failure happened on failure. I will get the debuginfo packages installed for more details later for this report.


Distribution: Fedora Core release 6 (Rawhide)
Gnome Release: 2.17.2 2006-11-07 (Red Hat, Inc)
BugBuddy Version: 2.17.3

System: Linux 2.6.19-1.2904.fc7 #0 SMP Tue Jan 2 00:25:46 EST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Enabled

Memory status: size: 102215680 vsize: 0 resident: 102215680 share: 0 rss: 43499520 rss_rlim: 0
CPU usage: start_time: 1168203026 rtime: 0 utime: 1811 stime: 0 cutime:1623 cstime: 0 timeout: 188 it_real_value: 0 frequency: 11

Backtrace was generated from '/usr/bin/gnucash'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208588592 (LWP 3368)]
0x00390402 in __kernel_vsyscall ()

Thread 1 (Thread -1208588592 (LWP 3368))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 870
  • #3 <signal handler called>
  • #4 strlen
    from /lib/libc.so.6
  • #5 giop_send_buffer_append_string
    at giop-send-buffer.c line 515
  • #6 ORBit_marshal_value
    at corba-any.c line 208
  • #7 ORBit_marshal_value
    at corba-any.c line 166
  • #8 ORBit_marshal_any
    at corba-any.c line 374
  • #9 ORBit_marshal_value
    at corba-any.c line 139
  • #10 ORBit_marshal_value
    at corba-any.c line 166
  • #11 orbit_small_marshal
    at orbit-small.c line 353
  • #12 ORBit_small_invoke_stub
    at orbit-small.c line 646
  • #13 ORBit_small_invoke_stub_n
    at orbit-small.c line 575
  • #14 ORBit_c_stub_invoke
    at poa.c line 2643
  • #15 Accessibility_EventListener_notifyEvent
    at Accessibility-stubs.c line 321
  • #16 spi_atk_emit_eventv
    at bridge.c line 745
  • #17 spi_atk_bridge_exit_func
    at bridge.c line 1268
  • #18 *__GI_exit
    at exit.c line 75
  • #19 gnc_shutdown
    from /usr/lib/gnucash/libgncmod-gnome-utils.so.0
  • #20 main
  • #0 __kernel_vsyscall


----------- .xsession-errors (12 sec old) ---------------------
(gnucash:3368): GLib-CRITICAL **: Invalid key name: Show Hidden
(gnucash:3368): GLib-CRITICAL **: Invalid key name: Show Zero Total
(gnucash:3368): GLib-CRITICAL **: Invalid key name: Selected Account
(gnucash:3368): GLib-CRITICAL **: Invalid key name: Open Account 1
(gnucash:3368): GLib-CRITICAL **: Invalid key name: Number of Open Accounts
GTK Accessibility Module initialized
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Bonobo accessibility support initialized
"/usr/bin/gnucash": not in executable format: File format not recognized
--------------------------------------------------
Comment 1 Jim Cornette 2007-01-07 21:11:17 UTC
Installed debuginfo package and ran again. Debuginfo in-line.

Distribution: Fedora Core release 6 (Rawhide)
Gnome Release: 2.17.2 2006-11-07 (Red Hat, Inc)
BugBuddy Version: 2.17.3

System: Linux 2.6.19-1.2904.fc7 #0 SMP Tue Jan 2 00:25:46 EST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Enabled

Memory status: size: 80408576 vsize: 0 resident: 80408576 share: 0 rss: 43659264 rss_rlim: 0
CPU usage: start_time: 1168203915 rtime: 0 utime: 1194 stime: 0 cutime:1110 cstime: 0 timeout: 84 it_real_value: 0 frequency: 11

Backtrace was generated from '/usr/bin/gnucash'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1209092400 (LWP 22838)]
0x00f0b402 in __kernel_vsyscall ()

Thread 1 (Thread -1209092400 (LWP 22838))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 libgnomeui_segv_handle
    at gnome-ui-init.c line 870
  • #3 <signal handler called>
  • #4 strlen
    from /lib/libc.so.6
  • #5 giop_send_buffer_append_string
    at giop-send-buffer.c line 515
  • #6 ORBit_marshal_value
    at corba-any.c line 208
  • #7 ORBit_marshal_value
    at corba-any.c line 166
  • #8 ORBit_marshal_any
    at corba-any.c line 374
  • #9 ORBit_marshal_value
    at corba-any.c line 139
  • #10 ORBit_marshal_value
    at corba-any.c line 166
  • #11 orbit_small_marshal
    at orbit-small.c line 353
  • #12 ORBit_small_invoke_stub
    at orbit-small.c line 646
  • #13 ORBit_small_invoke_stub_n
    at orbit-small.c line 575
  • #14 ORBit_c_stub_invoke
    at poa.c line 2643
  • #15 Accessibility_EventListener_notifyEvent
    at Accessibility-stubs.c line 321
  • #16 spi_atk_emit_eventv
    at bridge.c line 745
  • #17 spi_atk_bridge_exit_func
    at bridge.c line 1268
  • #18 *__GI_exit
    at exit.c line 75
  • #19 gnc_shutdown
    at gnc-gnome-utils.c line 468
  • #20 inner_main
    at gnucash-bin.c line 482
  • #21 invoke_main_func
    at init.c line 367
  • #22 c_body
    at continuations.c line 366
  • #23 scm_c_catch
    at throw.c line 204
  • #24 scm_i_with_continuation_barrier
    at continuations.c line 342
  • #25 scm_c_with_continuation_barrier
    at continuations.c line 384
  • #26 scm_i_with_guile_and_parent
    at threads.c line 649
  • #27 scm_with_guile
    at threads.c line 637
  • #28 scm_boot_guile
    at init.c line 350
  • #29 main
    at gnucash-bin.c line 515
  • #0 __kernel_vsyscall


----------- .xsession-errors (16 sec old) ---------------------
(gnucash:22838): GLib-CRITICAL **: Invalid key name: Page Name
(gnucash:22838): GLib-CRITICAL **: Invalid key name: Register Type
(gnucash:22838): GLib-CRITICAL **: Invalid key name: Account Name
(gnucash:22838): GLib-CRITICAL **: Invalid key name: Register Style
(gnucash:22838): GLib-CRITICAL **: Invalid key name: Double Line Mode
GTK Accessibility Module initialized
Bonobo accessibility support initialized
GTK Accessibility Module initialized
Bonobo accessibility support initialized
"/usr/bin/gnucash": not in executable format: File format not recognized
--------------------------------------------------
Comment 2 Jim Cornette 2007-01-07 21:14:30 UTC
NOTE: someone mentioned ORBit2 possibly being the problem on a test list for Fedora.
Comment 3 Christian Stimming 2007-01-08 10:11:11 UTC
Thanks for this detailed bugreport. Which version of ORBit2 do you have installed? The crash seems to be caused in ORBit's giop-send-buffer.c:515 where the strlen() argument isn't checked for NULL. Changing product accordingly.
Comment 4 Jim Cornette 2007-01-08 12:05:29 UTC
I have ORBit2-2.14.4-1.fc7 version installed.

There is a bug report where downgrading the ORBit2 version stops the launching of bug buddy. I have not downgraded the package. Tom tested upgrading the package again and the error returned. Related report below.
http://bugzilla.gnome.org/show_bug.cgi?id=390362

Downstream report below:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=221778
Comment 5 Michael Meeks 2007-01-12 12:39:33 UTC
Sending NULL strings via CORBA is illegal / not-possible.

So - this is in fact expected - although, prolly we should throw a nice exception rather than segv'ing ;-)

The app passing this data needs fixing. In this case - it seems the a11y bridge.
Comment 6 Jim Cornette 2007-01-13 02:23:54 UTC
The several apps where I have seen the problem now do not segfault after at-spi was fixed. I agree that the applications need fixing since it happened due to one package across the whole system.
bug 364839 influenced the crash and its repair hid this problem once again.
Comment 7 Li Yuan 2007-01-13 03:13:32 UTC

*** This bug has been marked as a duplicate of 364839 ***