Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: Need help with a backtrace
@ 2001-02-12 11:46 Michael Elizabeth Chastain
  2001-02-12 17:09 ` Matt Schalit
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Elizabeth Chastain @ 2001-02-12 11:46 UTC (permalink / raw)
  To: gdb, mschalit

Gurgle.  It looks like your gdb is doing its job properly.
You'll have to show that backtrace to some Gnome people.

If you can get a core dump, then it would be useful to put some
files in a directory on your ftp server:

  the core file
  the executable file
  all shared libraries that you use
    (check out the "ldd" command if you have it)
  a typescript with the backtrace and any messages

I can help you with gdb but I can't help you with gnome.

Michael Elizabeth Chastain
<chastain@redhat.com>
"love without fear"


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Need help with a backtrace
@ 2001-02-15 12:48 Michael Elizabeth Chastain
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Elizabeth Chastain @ 2001-02-15 12:48 UTC (permalink / raw)
  To: gdb, mschalit

Hi Matt,

> In general, when a backtrace gives a really meager output 
> like the following:
> 
> ...
> 
> and that's all the lines it output, am I supposed to
> put breakpoints into my convert program to see when
> it makes a call to a libc function?

That depends on what your goal is.

If your goal is to debug your gnome app and send useful reports to
the gnome people -- then you put breakpoints in your convert program.

You could also build your program with "-static", which brings in a
static copy of all the library functions that you use.  That will make
gdb behave a lot better.

If your goal is to help improve gdb -- then you write up a detailed
bug report:

  the whole source code of a program that demonstrates the bug
  the exact command line you used to build
  "gcc --version" (or the equivalent with the compiler you use)
  "ldd a.out" on your executable (or the Unixware equivalent)
  ls -l on each shared library used
  "gdb --version"
  a typescript showing your whole gdb session

Writing a detailed gdb bug report is a task in its own right.

Then you post the bug report, and see if someone will work on it.
If no one responds in a couple of days, you can check the MAINTAINERS
file and e-mail the SCO/Unixware maintainers and ask them the status of
your bug report.

Michael Elizabeth Chastain
<chastain@redhat.com>
"love without fear"


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Need help with a backtrace
@ 2001-02-12 11:33 Matt Schalit
  2001-02-12 11:53 ` Fernando Nasser
  0 siblings, 1 reply; 9+ messages in thread
From: Matt Schalit @ 2001-02-12 11:33 UTC (permalink / raw)
  To: gdb

Hi all,

Thanks for reading this.  I'm new to debugging and don't understand 
enough to read a backtrace.  I could use a little help with that.

I'm running an i586-sco-sysv5uw7.1.1, and getting SIGSEGV's whenever
I try to run gnomecc-1.2.2 (gnome control center) via 
enlightenment-0.16.5.   I never see a window.  

Regardless of whether I try to open any windows in Gnome, as soon
as I start the desktop, I do see one warning about MIT-SHM not
working correctly and to disable to Enlightenment Pager snapshots.
I don't think that issue is relate to gnomecc.

Can someone tell me what this means or point me to a nifty howto?
Thanks a lot,
Matthew



----------------------------------------------------------------------------
$ gdb

(gdb) file /usr/local/bin/gnomecc
Reading symbols from /usr/local/bin/gnomecc...done.
(gdb) run
Starting program: /usr/local/bin/gnomecc
warning: Lowest section in /usr/lib/libdl.so.1 is .hash at 00000094
[New LWP 1]
[New LWP 2]

Program received signal SIGSEGV, Segmentation fault.
0xbfa6f929 in _Xwcslen () from /usr/lib/libX11.so.6.1
[New Thread 1]
(gdb) bt
#0  0xbfa6f929 in _Xwcslen () from /usr/lib/libX11.so.6.1
#1  0x400 in ?? ()
#2  0xbfa6fa28 in _XwcTextListToTextProperty () from /usr/lib/libX11.so.6.1
#3  0xbfb9048b in gtk_label_parse_uline (label=0x8139180,
    string=0xc615 <Address 0xc615 out of bounds>) at gtklabel.c:1005
#4  0xbfd95397 in create_label (label_text=0xbfe0a339 "", keyval=0x8047878)
    at gnome-app-helper.c:402
#5  0xbfd9630e in create_menu_item (menu_shell=0x8137ed0, uiinfo=0x809c770,
    is_radio=0, radio_group=0x81379f8, uibdata=0x8047988,
    accel_group=0x812ea40, uline_accels=1, pos=134510536)
    at gnome-app-helper.c:933
#6  0xbfd96f1a in gnome_app_fill_menu_custom (menu_shell=0x8137ed0,
    uiinfo=0x809c770, uibdata=0x8047988, accel_group=0x812ea40,
    uline_accels=1, pos=1) at gnome-app-helper.c:1326
#7  0xbfd96fa9 in gnome_app_fill_menu_custom (menu_shell=0x812bd28,
    uiinfo=0x809c84c, uibdata=0x8047988, accel_group=0x812ea40,
    uline_accels=1, pos=1) at gnome-app-helper.c:1341
#8  0xbfd976a1 in gnome_app_create_menus_custom (app=0x812db90,
    uiinfo=0x809c820, uibdata=0x8047988) at gnome-app-helper.c:1516
#9  0xbfd97163 in gnome_app_create_menus (app=0x812db90, uiinfo=0x809c820)
    at gnome-app-helper.c:1395
#10 0x804e967 in create_window () at main.c:200
#11 0x804ecf8 in main (argc=1, argv=0x8047a0c) at main.c:282
(gdb)
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-02-15 12:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-12 11:46 Need help with a backtrace Michael Elizabeth Chastain
2001-02-12 17:09 ` Matt Schalit
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15 12:48 Michael Elizabeth Chastain
2001-02-12 11:33 Matt Schalit
2001-02-12 11:53 ` Fernando Nasser
2001-02-15  5:33   ` Matt Schalit
2001-02-15  6:17     ` Fernando Nasser
2001-02-15 11:04       ` Matt Schalit
2001-02-15 12:56         ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox