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 778909 - Locally saving changes to a Mallard page already opened in Yelp reproducibly crashes Yelp
Locally saving changes to a Mallard page already opened in Yelp reproducibly ...
Status: RESOLVED OBSOLETE
Product: yelp
Classification: Applications
Component: Crashers
3.22.x
Other Linux
: Normal critical
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-19 13:11 UTC by André Klapper
Modified: 2018-05-22 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2017-02-19 13:11:11 UTC
yelp-3.22.0-1.fc25.x86_64

1. $:acko\> gedit import-single-files.page 
2. $:acko\> gdb yelp
3. $:acko\>(gdb) run import-single-files.page  
3. Change file in gedit
4. Save in gedit
5. Have yelp immediately crash, 100% reproducible:

$:acko\> gdb yelp
GNU gdb (GDB) Fedora 7.12.1-46.fc25
(gdb) run import-single-files.page 
Starting program: /usr/bin/yelp import-single-files.page
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe0aa6700 (LWP 10687)]
[New Thread 0x7fffd8df4700 (LWP 10688)]
[New Thread 0x7fffd3fff700 (LWP 10689)]
[New Thread 0x7fffd37fe700 (LWP 10690)]
[New Thread 0x7fffd2ffd700 (LWP 10691)]
[New Thread 0x7fffd27fc700 (LWP 10692)]
[New Thread 0x7fffd1ffb700 (LWP 10693)]
[Thread 0x7fffd1ffb700 (LWP 10693) exited]
[New Thread 0x7fff79933700 (LWP 10694)]
[New Thread 0x7fff79132700 (LWP 10695)]
[New Thread 0x7fff78931700 (LWP 10696)]
Detaching after fork from child process 10697.
[New Thread 0x7fff73fff700 (LWP 10699)]
Detaching after fork from child process 10700.
[New Thread 0x7fff737fe700 (LWP 10702)]
[New Thread 0x7fff72ffd700 (LWP 10703)]
[New Thread 0x7fff72331700 (LWP 10723)]
[Thread 0x7fff72331700 (LWP 10723) exited]
[New Thread 0x7fff71b30700 (LWP 10724)]
[New Thread 0x7fff70e2f700 (LWP 10725)]
[Thread 0x7fff71b30700 (LWP 10724) exited]
[Thread 0x7fff70e2f700 (LWP 10725) exited]
[Thread 0x7fffd27fc700 (LWP 10692) exited]
[Thread 0x7fffd2ffd700 (LWP 10691) exited]
[New Thread 0x7fffd2ffd700 (LWP 10745)]
[New Thread 0x7fffd27fc700 (LWP 10746)]
[Thread 0x7fffd2ffd700 (LWP 10745) exited]
[Thread 0x7fffd27fc700 (LWP 10746) exited]

Thread 1 "yelp" received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106		movdqu	(%rax), %xmm4
(gdb) thread apply all bt full

Thread 1 (Thread 0x7ffff7f18ac0 (LWP 10660))

  • #0 strlen
    at ../sysdeps/x86_64/strlen.S line 106
  • #1 document_callback
    at libyelp/yelp-view.c line 781
  • #2 request_idle_contents
    at libyelp/yelp-document.c line 1417
  • #3 g_idle_dispatch
    at gmain.c line 5545
  • #4 g_main_dispatch
    at gmain.c line 3203
  • #5 g_main_context_dispatch
    at gmain.c line 3856
  • #6 g_main_context_iterate
    at gmain.c line 3929
  • #7 g_main_context_iteration
    at gmain.c line 3990
  • #8 g_application_run
    at gapplication.c line 2381
  • #9 __libc_start_main
    at ../csu/libc-start.c line 289
  • #10 _start

(gdb) info register
rax            0x0	0
rbx            0x555555927460	93824996242528
rcx            0x0	0
rdx            0x0	0
rsi            0x1	1
rdi            0x0	0
rbp            0x555555fbe100	0x555555fbe100
rsp            0x7fffffffdc08	0x7fffffffdc08
r8             0x0	0
r9             0x0	0
r10            0x55555591cd80	93824996199808
r11            0x0	0
r12            0x7ffff7bc3580	140737349694848
r13            0x0	0
r14            0x7ffff05388d0	140737225394384
r15            0x0	0
rip            0x7fffeff9afe6	0x7fffeff9afe6 <strlen+38>
eflags         0x10293	[ CF AF SF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
(gdb)
Comment 1 André Klapper 2017-11-04 19:47:30 UTC
Cannot reproduce anymore in 3.26 (I still could in 3.24)
Comment 2 André Klapper 2017-11-04 20:00:25 UTC
meh, too fast. It still sometimes happens, but not always, it seems
Comment 3 GNOME Infrastructure Team 2018-05-22 13:12:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/yelp/issues/122.