Bug 71050 - Libreoffice crashes with segfault in r600_dri.so - r600_context_pipe_state_set_resource at r600_hw_context.c:845
Summary: Libreoffice crashes with segfault in r600_dri.so - r600_context_pipe_state_se...
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 14:52 UTC by Rpnpif
Modified: 2014-02-11 20:01 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
gdbtrace-20131031-1336.log (27.10 KB, text/plain)
2013-10-31 12:40 UTC, Rpnpif
Details
Output for debug of lib dri radeon (6.86 KB, text/plain)
2013-10-31 12:43 UTC, Rpnpif
Details
gdbtrace-20131031-1403 (12.53 KB, text/plain)
2013-10-31 13:06 UTC, Rpnpif
Details
Glxinfo output (21.94 KB, text/plain)
2014-02-11 17:54 UTC, Rpnpif
Details

Description Rpnpif 2013-10-30 14:52:01 UTC
Libreoffice 4.0.6.2 crashes with segfault when I want run a slideshow.

Program received signal SIGSEGV, Segmentation fault.
0xa96879b4 in ?? () from /usr/lib/dri/r600_dri.so
#0  0xa96879b4 in ?? () from /usr/lib/dri/r600_dri.so
#1  0xa9668951 in ?? () from /usr/lib/dri/r600_dri.so
#2  0xa9676422 in ?? () from /usr/lib/dri/r600_dri.so
#3  0xa982e75f in ?? () from /usr/lib/dri/r600_dri.so
#4  0xa982f2dd in ?? () from /usr/lib/dri/r600_dri.so
#5  0xa9678f46 in ?? () from /usr/lib/dri/r600_dri.so
#6  0xa97d84cc in ?? () from /usr/lib/dri/r600_dri.so
#7  0xa979d493 in ?? () from /usr/lib/dri/r600_dri.so
#8  0xad498135 in (anonymous namespace)::OGLTransitionerImpl::update(double) () from /opt/libreoffice4.0/program/../program/OGLTrans.uno.so
#9  0xad2cac93 in slideshow::internal::(anonymous namespace)::PluginSlideChange::TransitionViewPair::update(double) () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#10 0xad2cacf2 in slideshow::internal::(anonymous namespace)::PluginSlideChange::operator()(double) () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#11 0xad2349da in slideshow::internal::(anonymous namespace)::SimpleActivity<1>::perform(double, unsigned long) const () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#12 0xad24f3e9 in slideshow::internal::ContinuousActivityBase::simplePerform(double, unsigned long) const () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#13 0xad250e32 in slideshow::internal::SimpleContinuousActivityBase::perform() () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#14 0xad2504f5 in slideshow::internal::ActivitiesQueue::process() () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#15 0xad2ac0a6 in (anonymous namespace)::SlideShowImpl::update(double&) () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#16 0xabddc24e in sd::SlideshowImpl::updateSlideShow() () from /opt/libreoffice4.0/program/../program/libsdlo.so
#17 0xabddc6bf in sd::SlideshowImpl::PostYieldListener(void*) () from /opt/libreoffice4.0/program/../program/libsdlo.so
#18 0xb6a4c5bb in VclEventListeners2::callListeners(VclSimpleEvent*) () from /opt/libreoffice4.0/program/libvcllo.so
#19 0xb6a46229 in ImplYield(bool, bool) () from /opt/libreoffice4.0/program/libvcllo.so
#20 0xb6a45826 in Application::Yield(bool) () from /opt/libreoffice4.0/program/libvcllo.so
#21 0xb6a45857 in Application::Execute() () from /opt/libreoffice4.0/program/libvcllo.so
#22 0xb7f54df1 in desktop::Desktop::Main() () from /opt/libreoffice4.0/program/libsofficeapp.so
#23 0xb6a4a105 in ImplSVMain() () from /opt/libreoffice4.0/program/libvcllo.so
#24 0xb6a4a20e in SVMain() () from /opt/libreoffice4.0/program/libvcllo.so
#25 0xb7f6df94 in soffice_main () from /opt/libreoffice4.0/program/libsofficeapp.so
#26 0x080486b0 in main ()


Thread 21 (Thread 0xadcf8b70 (LWP 7089)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7d559a6 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb3707b73 in ICEConnectionWorker () from /opt/libreoffice4.0/program/libvclplug_genlo.so
#3  0xb7fa73af in osl_thread_start_Impl () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#4  0xb7c83955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb7d631de in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 20 (Thread 0xaf208b70 (LWP 7088)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7c884d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7d701a4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb7fc1159 in osl_waitCondition () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#4  0xaaeca20e in (anonymous namespace)::InitUpdateCheckJobThread::run() () from /opt/libreoffice4.0/program/../program/libupdchk.so
#5  0xaaec2061 in threadFunc () from /opt/libreoffice4.0/program/../program/libupdchk.so
#6  0xb7fa73af in osl_thread_start_Impl () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#7  0xb7c83955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb7d631de in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 11 (Thread 0xae7ffb70 (LWP 7077)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7c87fcf in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7d7014d in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb7fc1193 in osl_waitCondition () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#4  0xaf94a1f8 in GrammarCheckingIterator::DequeueAndCheck() () from /opt/libreoffice4.0/program/../program/liblnglo.so
#5  0xb7fa73af in osl_thread_start_Impl () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#6  0xb7c83955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7d631de in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xb2382b70 (LWP 7072)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7d559a6 in poll () from /lib/i686/cmov/libc.so.6
#2  0xb371adc1 in x11::SelectionManager::dispatchEvent(int) () from /opt/libreoffice4.0/program/libvclplug_genlo.so
#3  0xb371afec in x11::SelectionManager::run(void*) () from /opt/libreoffice4.0/program/libvclplug_genlo.so
#4  0xb7fa73af in osl_thread_start_Impl () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#5  0xb7c83955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6  0xb7d631de in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xb1b81b70 (LWP 7070)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7d64248 in accept () from /lib/i686/cmov/libc.so.6
#2  0xb7fa1f97 in osl_acceptPipe () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#3  0xb7f6b17c in desktop::OfficeIPCThread::execute() () from /opt/libreoffice4.0/program/libsofficeapp.so
#4  0xb7a478f0 in salhelper::Thread::run() () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_salhelpergcc3.so.3
#5  0xb7a47ac7 in threadFunc () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_salhelpergcc3.so.3
#6  0xb7fa73af in osl_thread_start_Impl () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#7  0xb7c83955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#8  0xb7d631de in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb47b4b70 (LWP 7068)):
#0  0xb7fe2424 in __kernel_vsyscall ()
#1  0xb7c884d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7d701a4 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xb7fabdec in rtl_cache_wsupdate_all(void*) () from /opt/libreoffice4.0/program/../ure-link/lib/libuno_sal.so.3
#4  0xb7c83955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb7d631de in clone () from /lib/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb47c56f0 (LWP 7065)):
#0  0xa96879b4 in ?? () from /usr/lib/dri/r600_dri.so
#1  0xa9668951 in ?? () from /usr/lib/dri/r600_dri.so
#2  0xa9676422 in ?? () from /usr/lib/dri/r600_dri.so
#3  0xa982e75f in ?? () from /usr/lib/dri/r600_dri.so
#4  0xa982f2dd in ?? () from /usr/lib/dri/r600_dri.so
#5  0xa9678f46 in ?? () from /usr/lib/dri/r600_dri.so
#6  0xa97d84cc in ?? () from /usr/lib/dri/r600_dri.so
#7  0xa979d493 in ?? () from /usr/lib/dri/r600_dri.so
#8  0xad498135 in (anonymous namespace)::OGLTransitionerImpl::update(double) () from /opt/libreoffice4.0/program/../program/OGLTrans.uno.so
#9  0xad2cac93 in slideshow::internal::(anonymous namespace)::PluginSlideChange::TransitionViewPair::update(double) () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#10 0xad2cacf2 in slideshow::internal::(anonymous namespace)::PluginSlideChange::operator()(double) () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#11 0xad2349da in slideshow::internal::(anonymous namespace)::SimpleActivity<1>::perform(double, unsigned long) const () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#12 0xad24f3e9 in slideshow::internal::ContinuousActivityBase::simplePerform(double, unsigned long) const () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#13 0xad250e32 in slideshow::internal::SimpleContinuousActivityBase::perform() () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#14 0xad2504f5 in slideshow::internal::ActivitiesQueue::process() () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#15 0xad2ac0a6 in (anonymous namespace)::SlideShowImpl::update(double&) () from /opt/libreoffice4.0/program/../program/slideshow.uno.so
#16 0xabddc24e in sd::SlideshowImpl::updateSlideShow() () from /opt/libreoffice4.0/program/../program/libsdlo.so
#17 0xabddc6bf in sd::SlideshowImpl::PostYieldListener(void*) () from /opt/libreoffice4.0/program/../program/libsdlo.so
#18 0xb6a4c5bb in VclEventListeners2::callListeners(VclSimpleEvent*) () from /opt/libreoffice4.0/program/libvcllo.so
#19 0xb6a46229 in ImplYield(bool, bool) () from /opt/libreoffice4.0/program/libvcllo.so
#20 0xb6a45826 in Application::Yield(bool) () from /opt/libreoffice4.0/program/libvcllo.so
#21 0xb6a45857 in Application::Execute() () from /opt/libreoffice4.0/program/libvcllo.so
#22 0xb7f54df1 in desktop::Desktop::Main() () from /opt/libreoffice4.0/program/libsofficeapp.so
#23 0xb6a4a105 in ImplSVMain() () from /opt/libreoffice4.0/program/libvcllo.so
#24 0xb6a4a20e in SVMain() () from /opt/libreoffice4.0/program/libvcllo.so
#25 0xb7f6df94 in soffice_main () from /opt/libreoffice4.0/program/libsofficeapp.so
#26 0x080486b0 in main ()
A debugging session is active.

        Inferior 1 [process 7065] will be killed.
Comment 1 Caolán McNamara 2013-10-31 09:19:41 UTC
If you are on a rpm using system can we get the output of...
rpm -qf /usr/lib/dri/r600_dri.so
and try debuginfo-install mesa-dri-drivers and get the backtrace again so we can see the details down in r600_dri.so

I suspect this happens on certain transitions and not all of them ?
Comment 2 Rpnpif 2013-10-31 12:40:51 UTC
Created attachment 88403 [details]
gdbtrace-20131031-1336.log

Hi,
On Debian, I installed :
apt-get install libgl1-mesa-dri-dbg

And I got the logs in attachment.
Comment 3 Rpnpif 2013-10-31 12:43:04 UTC
Created attachment 88404 [details]
Output for debug of lib dri radeon
Comment 4 Rpnpif 2013-10-31 13:06:19 UTC
Created attachment 88405 [details]
gdbtrace-20131031-1403

I added also libgl1-mesa-dri-dbg and I got the gdbtrace in attachment.
Comment 5 Rpnpif 2013-10-31 13:11:17 UTC
(In reply to comment #2)
> Created attachment 88403 [details]
> gdbtrace-20131031-1336.log
> 
> Hi,
> On Debian, I installed :
> apt-get install libgl1-mesa-dri-dbg
> 
> And I got the logs in attachment.

I am sorry but for my first try, I used libgl1-mesa-glx-dbg and not 
libgl1-mesa-dri-dbg (gdbtrace-20131031-1336.log).

In my second try, I added libgl1-mesa-dri-dbg also  (gdbtrace-20131031-1403).

Regards.
Comment 6 Rpnpif 2013-11-02 15:48:03 UTC
Same issues with some slide transitions in Impress of LibreOffice 4.1.3.2.
Comment 7 Andreas Boll 2014-02-08 20:43:42 UTC
Could you attach the output from glxinfo?
Comment 8 Rpnpif 2014-02-11 17:53:34 UTC
(In reply to comment #7)
> Could you attach the output from glxinfo?

Same issue with transitions in Libreoffice 4.2.0.4
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

Glxinfo.txt is following.
Comment 9 Rpnpif 2014-02-11 17:54:35 UTC
Created attachment 93878 [details]
Glxinfo output
Comment 10 Andreas Boll 2014-02-11 18:20:17 UTC
It looks like your are using a really old version of mesa.
From your glxinfo output:

OpenGL version string: 2.1 Mesa 7.10.3

Could you try a newer version?
Current stable version of mesa is 10.0.3 [1]

[1] http://www.mesa3d.org
Comment 11 Marek Olšák 2014-02-11 20:01:51 UTC
r600_context_pipe_state_set_resource doesn't exist in Mesa anymore. 7.10 is too old and unsupported. Closing.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.