Re: gnome_init hanging



On Wed, 16 Dec 1998, Jaka Mocnik wrote:

> Hawlisch Martin wrote:
> > 
> > Hi!
> > 
> > since yesterday Iīm having a strange problem: I canīt run ANY GNOME
> > application. I had a quick look and the problem is gnome_init, gnome_init
> > does not return and is hanging. No errormessages, simply nothing.
> > 
> > Iīm running a current DEBIAN Slink and got all (glib, gtk+, imlib, ...)
> > from CVS. I tried checkout and update multiple times but no change.
> > All the stuff compiles without errors.
> > 
> > Sorry, Iīve never used gdb and donīt know how to use it, maybe someone can
> > tell me what to try next.
> > 
> > Cheers, Martin.
> run your app with gdb (ie, if the app is ghex):
> 
> 	gdb ghex
> 
> after a while (it takes a bit longer for a debugged app to start up)
> break the
> application (Ctrl-C). this will bring you the gdb prompt: type backtrace
> <return>
> and send the gdb output to the mailing list.
> 
> regards,
> 	jaKa

OK, I used gdb and it looks like esound is the bad guy.

(gdb) run
Starting program: /opt/gnome/bin/gquest 

Program received signal SIGINT, Interrupt.
0x404a4002 in   ()
(gdb) backtrace
#0  0x404a4002 in   ()
#1  0x402f30e1 in   ()
#2  0x403c19c0 in esd_open_sound (host=0x0) at esdlib.c:250
#3  0x403b524c in gnome_sound_init (hostname=0x0) at gnome-sound.c:442
#4  0x403b7607 in gnomelib_option_cb (ctx=0x8061140,
reason=POPT_CALLBACK_REASON_POST, opt=0x0, arg=0x0, data=0x0) at
gnomelib-init.c:69
#5  0x403bc744 in invokeCallbacks (con=0x8061140, table=0x403b9b20,
post=1) at popt.c:56
#6  0x403bc709 in invokeCallbacks (con=0x8061140, table=0x8061038, post=1)
at popt.c:51
#7  0x403bd049 in poptGetNextOpt (con=0x8061140) at popt.c:294
#8  0x403b403e in gnomelib_parse_args (argc=1, argv=0xbffffc70,
popt_flags=0) at gnome-popt.c:71
#9  0x4006628c in gnome_init_with_popt_table (app_id=0x804e3f9
"Questionnaire", app_version=0x0, argc=1, argv=0xbffffc70, options=0x0,
flags=0, 
    return_ctx=0x0) at gnome-init.c:376
#10 0x400662f5 in gnome_init (app_id=0x804e3f9 "Questionnaire",
app_version=0x0, argc=1, argv=0xbffffc70) at gnome-init.c:393
#11 0x804a59c in main (argc=1, argv=0xbffffc70) at gquest.c:66


Itīs the same in different GNOME apps, hanging somewhere in
esd_open_sound.
I can run the apps using the arg --disable-sound .

Cheers, Martin.
 
+-------------------------------------------+
| Martin Hawlisch                           |
| http://freddy.rz.fh-mannheim.de/~hawlisch |
+-------------------------------------------+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]