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 74010 - CDDBSlave2 freeze if nonexistance query
CDDBSlave2 freeze if nonexistance query
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: CDDBSlave2
unspecified
Other other
: High critical
: ---
Assigned To: Iain
Iain
: 74042 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-03-08 20:30 UTC by kz
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description kz 2002-03-08 20:30:42 UTC
Package: gnome-media
Severity: critical
Version: 1.176.0
Synopsis: CDDBSlave2 crashes whenever trying to fetch cddb.
Bugzilla-Product: gnome-media
Bugzilla-Component: CDDBSlave2
BugBuddy-GnomeVersion: 2.0 (1.112.1)

Description:
Description of Problem:


Steps to reproduce the problem:
1. tray a new cd.
2. launch gnome-cd.
3. gnome-cd call CDDBSlave2 to fetch cddb.

Actual Results:
crash of CDDBSlave2.

Expected Results:
fetch cddb.

How often does this happen?
whenever

Additional Information:




Debugging Information:

[New Thread 1024 (LWP 3916)]
0x407beca9 in __wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 1024 (LWP 3916))

  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 596
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 giop_send_buffer_append_string
    at giop-send-buffer.c line 472
  • #7 ORBit_marshal_value
    at corba-any.c line 204
  • #8 ORBit_marshal_arg
    at corba-any.c line 367
  • #9 ORBit_small_invoke_adaptor
    at orbit-small.c line 838
  • #10 ORBit_POAObject_handle_request
    at poa.c line 1085
  • #11 ORBit_POA_handle_request
    at poa.c line 1172
  • #12 ORBit_handle_request
    at orbit-adaptor.c line 79
  • #13 giop_connection_handle_input
    at giop-recv-buffer.c line 945
  • #14 linc_connection_io_handler
    at linc-connection.c line 840
  • #15 linc_source_dispatch
    at linc-source.c line 56
  • #16 g_main_dispatch
    at gmain.c line 1617
  • #17 g_main_context_dispatch
    at gmain.c line 2161
  • #18 g_main_context_iterate
    at gmain.c line 2242
  • #19 g_main_loop_run
    at gmain.c line 2462
  • #20 bonobo_main
    at bonobo-main.c line 290
  • #21 main
    at main.c line 163
  • #22 __libc_start_main
    at ../sysdeps/generic/libc-start.c line 129
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #0 __wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 596
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 giop_send_buffer_append_string
    at giop-send-buffer.c line 472
  • #7 ORBit_marshal_value
    at corba-any.c line 204




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-03-08 15:30 -------

Reassigning to the default owner of the component, iain@ximian.com.

Comment 1 Luis Villa 2002-03-30 19:24:46 UTC
Any idea, iain? Is this a bonobo/orbit problem?
Comment 2 kz 2002-03-30 19:53:09 UTC
In latest snapshot an error dialog comes up:
"error while reading/saving settings."
I suspect this may gconf-related problem. but no sure.

and more, error dialog itself freeze.
if I close gnome-cd in this state, gnome-cd freeze too.
so I have to killall CDDBSlave2. and gnome-cd thawed to close.
Comment 3 Luis Villa 2002-03-30 20:05:46 UTC
iain: is this bug 76787? I'm guessing that since this doesn't appear
to occur anymore, it's fixed...
Comment 4 kz 2002-03-30 20:49:00 UTC
well, I cleaned up
/etc/gconf/gconf.xml.default/(apps|schema/apps)/CDDBSlave2
which is not included in gnome-media2 package. (may garbage of
premature removal of red-carpet)
rpm -V gnome-media2 is clear. and sure I have had gconftool --shutdown
before task.
(this is funny problem, silimar dirty registry of Windows)

now situation is more clear.
when I tried 'Coyote Ugly OST', gnome-cd show me a dialog to choose
one by multiple result.
and when I tried my native singer's CD. gnome-cd freeze, till killall
CDDBSlave2.

I expect this now be a duplicated, right? :)
Comment 5 Iain 2002-03-31 01:06:17 UTC
The locking up is because gnome-cd is waiting for CDDBSlave to reply,
and it doesn't. I'm not sure what the crash is. I've bee ngetting it
too, which is disconcerting. Maybe Michael would know, if it's a
"You're using Bonobo wrong" thing.

Michael?
Comment 6 Iain 2002-04-02 01:08:19 UTC
*** Bug 74042 has been marked as a duplicate of this bug. ***
Comment 7 Michael Meeks 2002-04-02 08:05:17 UTC
The solution is somewhat obvious - you can't marshal NULL strings with
CORBA

  • #6 giop_send_buffer_append_string

it looks like you're returning a NULL string from the getDiscTitle
method.
Comment 8 Iain 2002-04-02 12:23:28 UTC
Oh!!!!
Doh!

Thankyou :)
Comment 9 Iain 2002-04-02 14:12:19 UTC
Fixed in CVS. Don't return NULLs in CORBA. DOH DOH DOH!
Time to repeat CORBA101
Comment 10 Michael Meeks 2002-04-02 15:58:55 UTC
It would be great to have a g_error in the ORB string marshaller to
that effect as well Iain - if you'd like to commit a patch to ORBit2
to add that, with some (more descriptive) warning. Send me a patch as
you commit.