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 80981 - yelp 0.7 segv at startup
yelp 0.7 segv at startup
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: General
unspecified
Other Linux
: High critical
: ---
Assigned To: Mikael Hallendal
Malcolm Tredinnick
: 80965 81335 81795 82207 82252 82274 82287 82288 82304 82668 82728 82789 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-05-06 22:32 UTC by Christian Meyer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: Old
GNOME version: ---


Attachments
This one fix the problem, but I don't know if the yelp's behaviour for the sections is the same now. (1.85 KB, patch)
2002-05-18 13:06 UTC, Stéphane Démurget
none Details | Review

Description Christian Meyer 2002-05-06 22:32:06 UTC
gdb backtrace:

  • #0 strcmp
    from /lib/libc.so.6
  • #1 yelp_section_compare
    at yelp-section.c line 76
  • #2 g_list_sort_merge
    at glist.c line 745
  • #3 g_list_sort_real
    at glist.c line 795
  • #4 g_list_sort_real
    at glist.c line 795
  • #5 g_list_sort_real
    at glist.c line 795
  • #6 g_list_sort_real
    at glist.c line 795
  • #7 g_list_sort_real
    at glist.c line 795
  • #8 g_list_sort_real
    at glist.c line 795
  • #9 g_list_sort_real
    at glist.c line 795
  • #10 g_list_sort_real
    at glist.c line 795
  • #11 g_list_sort_real
    at glist.c line 795
  • #12 g_list_sort_real
    at glist.c line 795
  • #13 g_list_sort_real
    at glist.c line 795
  • #14 g_list_sort_real
    at glist.c line 795
  • #15 g_list_sort
    at glist.c line 806
  • #16 yelp_index_model_set_words
    at yelp-index-model.c line 419
  • #17 yelp_view_index_new
    at yelp-view-index.c line 409
  • #18 yelp_window_new
    at yelp-window.c line 727
  • #19 yelp_base_new_window
    at yelp-base.c line 192
  • #20 impl_Yelp_newWindow
    at yelp-base.c line 70
  • #21 GNOME_Yelp_newWindow
    at GNOME_Yelp-stubs.c line 25
  • #22 yelp_main_open_new_window
    at yelp-main.c line 125
  • #23 yelp_main_idle_start
    at yelp-main.c line 165
  • #24 g_idle_dispatch
    at gmain.c line 3129
  • #25 g_main_dispatch
    at gmain.c line 1617
  • #26 g_main_context_dispatch
    at gmain.c line 2161
  • #27 g_main_context_iterate
    at gmain.c line 2242
  • #28 g_main_loop_run
    at gmain.c line 2462
  • #29 bonobo_main
    at bonobo-main.c line 290
  • #30 main
    at yelp-main.c line 321

Comment 1 Mikael Hallendal 2002-05-07 00:46:17 UTC
*** Bug 80965 has been marked as a duplicate of this bug. ***
Comment 2 Mikael Hallendal 2002-05-07 00:48:42 UTC
ok, will try to fix this tomorrow or Wednesday and do a 0.7.1 release
before the weekend.
Comment 3 Heath Harrelson 2002-05-10 14:59:00 UTC
*** Bug 81335 has been marked as a duplicate of this bug. ***
Comment 4 Luis Villa 2002-05-14 20:13:02 UTC
Did this ever get fixed, Mikael?
Comment 5 Luis Villa 2002-05-15 04:46:59 UTC
*** Bug 81795 has been marked as a duplicate of this bug. ***
Comment 6 Mikael Hallendal 2002-05-18 00:17:25 UTC
not by me since I have no idea what it is and no way to reproduce it
(other than installing Debian unstable and run it there).
Comment 7 Mikael Hallendal 2002-05-18 00:21:51 UTC
going to try to run the thing through valgrind and see if it's doing
funky stuff that doesn't get triggered on Red Hat 7.2
Comment 8 Greg Schafer 2002-05-18 11:36:17 UTC
FWIW, I'm seeing this too, for a couple of weeks now. CVS everything
as of 20020517 on Linux From Scratch built with:-
LINUX 2.4.18
GCC 2.95.4
GLIBC 2.2.5
BINUTILS 2.12
Comment 9 Mikael Hallendal 2002-05-18 11:44:37 UTC
ok, this confirms my suspicions that something has changed between
glibc 2.2.4 and glibc 2.2.5 that triggers this bug :(
Comment 10 Stéphane Démurget 2002-05-18 12:11:06 UTC
I upgraded to 2.2.5 to have this bug, and the index list is
incorrectly constructed. If I comment the call to yelp_info_init in
yelp_base_new:177. There's no segfault anymore. I'm investigating
furthermore.
Comment 11 Stéphane Démurget 2002-05-18 13:06:42 UTC
Created attachment 8564 [details] [review]
This one fix the problem, but I don't know if the yelp's behaviour for the sections is the same now.
Comment 12 Mikael Hallendal 2002-05-18 13:24:52 UTC
doesn't seem to be 2.2.5 only, it seems to work on Gentoo Linux with
2.2.5.

Thanks for locating the problem. I'll look at the patch to see if it
disables something it shouldn't (otherwise it might give a hint to
what's wrong).

Thanks a million times for looking into this.!!
Comment 13 Mikael Hallendal 2002-05-18 14:37:45 UTC
ok, checked in a new version which should probably solve it. The patch
got me to look at the right place, thanks Stephane.
Comment 14 Mikael Hallendal 2002-05-18 14:38:33 UTC
marking as fixed, please reopen if the problem is still around.

going to release 0.8 on monday so I would appriciate testing before.
Comment 15 Mikael Hallendal 2002-05-19 00:08:17 UTC
*** Bug 82207 has been marked as a duplicate of this bug. ***
Comment 16 Mikael Hallendal 2002-05-19 14:57:24 UTC
*** Bug 82252 has been marked as a duplicate of this bug. ***
Comment 17 Mikael Hallendal 2002-05-19 22:09:07 UTC
*** Bug 82274 has been marked as a duplicate of this bug. ***
Comment 18 Mikael Hallendal 2002-05-19 22:09:38 UTC
*** Bug 82287 has been marked as a duplicate of this bug. ***
Comment 19 Mikael Hallendal 2002-05-19 22:09:45 UTC
*** Bug 82288 has been marked as a duplicate of this bug. ***
Comment 20 Mikael Hallendal 2002-05-20 02:16:24 UTC
*** Bug 82304 has been marked as a duplicate of this bug. ***
Comment 21 Mikael Hallendal 2002-05-22 23:03:33 UTC
*** Bug 82668 has been marked as a duplicate of this bug. ***
Comment 22 Mikael Hallendal 2002-05-23 10:05:58 UTC
*** Bug 82728 has been marked as a duplicate of this bug. ***
Comment 23 Mikael Hallendal 2002-05-23 23:12:05 UTC
*** Bug 82789 has been marked as a duplicate of this bug. ***