Bug#780023: xbmc: XBMC crash at startup

Bálint Réczey balint at balintreczey.hu
Mon Mar 9 23:43:02 UTC 2015


Control: reassign -1 libgl1-mesa-glx 10.3.2-1
Control: tags -1 - moreinfo unreproducible
Control: affects -1 xbmc

Hi Jeremy,

2015-03-09 23:25 GMT+01:00 Jeremy Guitton <debotux at gmail.com>:
> Hi Balint,
>
> Are you sure hat is a sqlite issue ? From the log I see a segmentation fault
> on line 30 :
>
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  brw_meta_fast_clear (brw=brw at entry=0x27d8b68, fb=fb at entry=0x2839b60,
> buffers=buffers at entry=2, partial_clear=partial_clear at entry=false) at
> ../../../../../../../src/mesa/drivers/dri/i965/brw_meta_fast_clear.c:447

You are correct, it looks like a mesa crash, not an SQLite3 one:

Thread 1 (Thread 0x7ffd3af5c840 (LWP 17572)):
#0  brw_meta_fast_clear (brw=brw at entry=0x27d8b68,
fb=fb at entry=0x2839b60, buffers=buffers at entry=2,
partial_clear=partial_clear at entry=false) at
../../../../../../../src/mesa/drivers/dri/i965/brw_meta_fast_clear.c:447
#1  0x00007ffd18303a48 in brw_clear (ctx=0x27d8b68, mask=2) at
../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:246
#2  0x00000000012e7877 in CRenderSystemGL::ClearBuffers(unsigned int) ()
#3  0x0000000000805180 in CGUIWindowManager::RenderPass() const ()
#4  0x0000000000805388 in CGUIWindowManager::Render() ()
#5  0x0000000000ccef77 in CApplication::RenderNoPresent() ()
#6  0x0000000000ccf951 in CApplication::Render() ()
#7  0x0000000000d87b51 in CXBApplicationEx::Run() ()
#8  0x0000000000d8e43b in XBMC_Run ()
#9  0x00000000006903a8 in main ()

I have not looked at the beginning of the file just started looking
for the first thread which was not in a blocking call - thus I missed
the real problem.

>
> To reproduce the bug just install a jessie with defaults options, add xbmc
> and lanch it with double-click on the icon. Like that xbmc segfault 2/3 of
> the time. No add-ons installed and fresh install, .xbmc in home deleted.
>
> I join to this mail, a log with mesa-dbg and  libsqlite3-0-dbg packages
> installed.
>
> A friend have the same issue, with also an intel graphic cards. Perhaps a
> bug in mesa ?
I'm reassigning the bug to mesa, in the hope that Mesa maintainers can
help in debugging and fixing the issue.

I started XBMC three times with no crash. My Intel card used for testing is:
$ lspci
...
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core
processor Graphics Controller (rev 09)
...

Cheers,
Balint

>
> Cheers.
> Jérémy
>
> 2015-03-09 21:06 GMT+01:00 Bálint Réczey <balint at balintreczey.hu>:
>>
>> Control: tags -1 unreproducible moreinfo
>>
>> Hi Jeremy,
>>
>> 2015-03-08 11:57 GMT+01:00 Jeremy Guitton <debotux at gmail.com>:
>> > Package: xbmc
>> > Version: 2:13.2+dfsg1-4
>> > Severity: important
>> >
>> > Dear Maintainer,
>> >
>> > On fresh install of jessie with Gnome Desktop, XBMC crash at startup. I
>> > join
>> > the log file.
>> From the logs it looks like the crash happens in SQLite 3.
>>
>> Thread 11 (Thread 0x7f6f7daaf700 (LWP 4072)):
>> #0  0x00007f6fb0dd4860 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #1  0x00007f6fb0de003b in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #2  0x00007f6fb0df142c in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #3  0x00007f6fb0e0c659 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #4  0x00007f6fb0e0c85f in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #5  0x00007f6fb0e0cfc5 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #6  0x00007f6fb0e3ef21 in ?? () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #7  0x00007f6fb0e3ff27 in sqlite3_step () from
>> /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
>> #8  0x0000000000a10062 in dbiplus::SqliteDataset::query
>> (this=0x7f6f680863d0, query=0x7f6f6801d4f8 "SELECT sum(watchedcount)
>> FROM tvshowview LIMIT 1") at sqlitedataset.cpp:662
>> #9  0x00000000009ee8f1 in CDatabase::GetSingleValue
>> (this=this at entry=0x7f6f7daaeb60, que
>>
>> If you can reproduce the issue please install libsqlite3-0-dbg to have
>> a better stack trace and attach it.
>>
>> I tried reproducing the crash, but with no luck. Could you please list
>> the steps I need to take?
>> Do you have any add-ons installed?
>>
>> Cheers,
>> Balint
>>
>> >
>> >
>> >
>> > -- System Information:
>> > Debian Release: 8.0
>> >   APT prefers testing-updates
>> >   APT policy: (500, 'testing-updates'), (500, 'testing')
>> > Architecture: amd64 (x86_64)
>> > Foreign Architectures: i386
>> >
>> > Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
>> > Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
>> > Shell: /bin/sh linked to /bin/dash
>> > Init: systemd (via /run/systemd/system)
>> >
>> > Versions of packages xbmc depends on:
>> > ii  fonts-dejavu-core  2.34-1
>> > ii  fonts-roboto       1:4.4.4r2-6
>> > ii  libjs-iscroll      5.1.2+dfsg1-1
>> > ii  libjs-jquery       1.7.2+dfsg-3.2
>> > ii  mesa-utils         8.2.0-1
>> > ii  python-imaging     2.6.1-1
>> > pn  python:any         <none>
>> > ii  ttf-dejavu-core    2.34-1
>> > ii  x11-utils          7.7+2
>> > ii  xbmc-bin           2:13.2+dfsg1-4
>> >
>> > xbmc recommends no packages.
>> >
>> > xbmc suggests no packages.
>> >
>> > -- no debconf information
>
>



More information about the pkg-multimedia-maintainers mailing list