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 376861 - crash in Help: typed "yelp info:octave"...
crash in Help: typed "yelp info:octave"...
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: General
2.16.x
Other All
: High critical
: ---
Assigned To: Yelp maintainers
Yelp maintainers
: 420353 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-11-19 02:04 UTC by petrosyan
Modified: 2007-08-08 20:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description petrosyan 2006-11-19 02:04:31 UTC
Version: 2.16.0

What were you doing when the application crashed?
typed "yelp info:octave" in the terminal


Distribution: Fedora Core release 6 (Zod)
Gnome Release: 2.16.0 2006-09-04 (Red Hat, Inc)
BugBuddy Version: 2.16.0

System: Linux 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70101000
Selinux: No
Accessibility: Disabled
----------- .xsession-errors (337 sec old) ---------------------
External connections disabled in config file
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
Adding file /home/sahak/.aMule/Temp/022.part.met to shares
Adding file /home/sahak/.aMule/Temp/016.part.met to shares
Adding file /home/sahak/.aMule/Temp/015.part.met to shares
Adding file /home/sahak/.aMule/Temp/014.part.met to shares
Adding file /home/sahak/.aMule/Temp/012.part.met to shares
Adding file /home/sahak/.aMule/Temp/009.part.met to shares
Adding file /home/sahak/.aMule/Temp/006.part.met to shares
Loading "installonlyn" plugin
Window manager warning: Received a _NET_WM_MOVERESIZE message for 0x4800003 (Bug Buddy); these messages lack timestamps and therefore suck.
** Message: sqlite cache needs updating, reading in metadata
Window manager warning: Received a _NET_WM_MOVERESIZE message for 0x4400003 (Bug Buddy); these messages lack timestamps and therefore suck.
--------------------------------------------------

Memory status: size: 91725824 vsize: 0 resident: 91725824 share: 0 rss: 22712320 rss_rlim: 0
CPU usage: start_time: 1163901854 rtime: 0 utime: 100 stime: 0 cutime:94 cstime: 0 timeout: 6 it_real_value: 0 frequency: 0

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

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208269088 (LWP 3099)]
[New Thread -1244234864 (LWP 3101)]
[New Thread -1210369136 (LWP 3100)]
0x00436402 in __kernel_vsyscall ()

Thread 1 (Thread -1208269088 (LWP 3099))

  • #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 strncpy
    from /lib/libc.so.6
  • #5 IA__g_strndup
    at /usr/include/bits/string3.h line 143
  • #6 info_process_text_notes
  • #7 parse_tree_level
    at yelp-info-parser.c line 717
  • #8 parse_tree_level
    at yelp-info-parser.c line 732
  • #9 yelp_info_parser_parse_tree
    at yelp-info-parser.c line 763
  • #10 info_pager_parse
    at yelp-info-pager.c line 196
  • #11 xslt_pager_process
    at yelp-xslt-pager.c line 185
  • #12 process_cb
    at yelp-pager.c line 268
  • #13 g_idle_dispatch
    at gmain.c line 3926
  • #14 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #15 g_main_context_iterate
    at gmain.c line 2677
  • #16 IA__g_main_loop_run
    at gmain.c line 2881
  • #17 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 main
    at yelp-main.c line 118
  • #19 __libc_start_main
    from /lib/libc.so.6
  • #20 _start
  • #0 __kernel_vsyscall

Comment 1 Christian Kirbach 2006-11-19 20:21:59 UTC
unqiue, excellent trace, confirming

thanks

Comment 2 Don Scorgie 2006-11-20 18:51:58 UTC
Thanks for the fantastic stacktrace :)

I've reproduced the problem here and committed a fix for it.  This fix will appear in 2.16.2.

Marking as Fixed.  Thanks.

2006-11-20  Don Scorgie  <dscorgie@cvs.gnome.org>

        * src/yelp-info-parser.c: 
        When whitespace on new line of a note is < 2,
        don't crash (bug #376861)
        Fix crash on libc info page (bug #367410, Matthias Clasen)
Comment 3 Don Scorgie 2007-08-08 20:31:11 UTC
*** Bug 420353 has been marked as a duplicate of this bug. ***