[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#825789: kshisen crashes



in-line :-

On 30/05/2016, Maximiliano Curia <maxy@gnuservers.com.ar> wrote:
> Control: tag -1 unreproducible moreinfo
> Control: severity -1 important
>
> ¡Hola shirish!

Hola Maximiliano!

> El 2016-05-29 a las 22:44 +0000, shirish शिरीष escribió:
>> Package: kshisen
>> Version: 4:16.04.1-1
>> Justification: renders package unusable
>
>> Dear Maintainer,
>> Get the following when trying to launch the new kshisen on Debian testing
>> -
>
>> [$] kshisen
>
>> AL lib: (WW) ALCjackBackendFactory_init: jack_client_open() failed, 0x01
>> AL lib: (WW) alc_initconfig: Failed to initialize backend "jack"
>> AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
>> log_libkmahjongg: Using background at
>> "/usr/share/kmahjongglib/backgrounds/summerfield.svg"
>> terminate called after throwing an instance of 'std::out_of_range'
>>  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which
>> is 0)
>> [1]    24324 abort (core dumped)  kshisen
>
>> Please fix the issue mentioned above.
>
> I couldn't reproduce the issue, to test it I installed kshisen in a base
> system together with openbox and xserver-xorg, and kshisen launched fine,
> although some icons are missing.
>
>> -- System Information:
>> Debian Release: stretch/sid
>>  APT prefers testing
>>  APT policy: (600, 'testing'), (1, 'experimental'), (1, 'unstable')
>> Architecture: amd64 (x86_64)
>
> In order to take into account the pinning I removed kshisen and all it's
> auto
> installed denpencies (apt remove kshisen; apt autoremove); added the
> pinning,
> and reinstalled kshisen. Still, kshisen seems to be working fine.
>
> Can you provide a backtrace?
>
> Happy hacking,
> --
> "Programs must be written for people to read, and only incidentally for
> machines to execute."
> -- Hal Abelson, "Structure and Interpretation of Computer Programs"
> Saludos /\/\ /\ >< `/
>

Went to https://wiki.debian.org/AutomaticDebugPackages

Updated with debug packages, downloaded the kshisen dbgsym packages
and then backtraced it.

[$] gdb /usr/games/kshisen

GNU gdb (Debian 7.10-1+b1) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/games/kshisen...Reading symbols from
/usr/lib/debug/.build-id/7b/3c5257292f54f9f72d60566651fabe2de0690c.debug...done.
done.

(gdb) handle SIGPIPE nostop
Signal        Stop	Print	Pass to program	Description
SIGPIPE       No	No	Yes		Broken pipe

(gdb) run
Starting program: /usr/games/kshisen
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe55da700 (LWP 5697)]
[New Thread 0x7fffd5f0d700 (LWP 5703)]
[Thread 0x7fffd5f0d700 (LWP 5703) exited]
AL lib: (WW) ALCjackBackendFactory_init: jack_client_open() failed, 0x01
AL lib: (WW) alc_initconfig: Failed to initialize backend "jack"
[New Thread 0x7fffd5f0d700 (LWP 5704)]
AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse"
[Thread 0x7fffd5f0d700 (LWP 5704) exited]
[New Thread 0x7fffd4ddf700 (LWP 5707)]
log_libkmahjongg: Using background at
"/usr/share/kmahjongglib/backgrounds/summerfield.svg"
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)

Program received signal SIGABRT, Aborted.
0x00007ffff48b8458 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
55	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

(gdb) bt
#0  0x00007ffff48b8458 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007ffff48b98da in __GI_abort () at abort.c:89
#2  0x00007ffff4fb7f6d in __gnu_cxx::__verbose_terminate_handler() ()
at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff4fb5f36 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff4fb5f81 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff4fb6199 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff4fddda5 in std::__throw_out_of_range_fmt(char const*,
...) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x000000000041c0e7 in Board::newGame() (__n=0, this=<synthetic
pointer>) at /usr/include/c++/5/bits/stl_vector.h:803
#8  0x000000000041c0e7 in Board::newGame() (__n=0, this=<synthetic
pointer>) at /usr/include/c++/5/bits/stl_vector.h:824
#9  0x000000000041c0e7 in Board::newGame() (this=this@entry=0x875650)
at /build/kshisen-_tT8Mb/kshisen-16.04.1/src/board.cpp:545
#10 0x000000000041cd11 in Board::loadSettings()
(this=this@entry=0x875650) at
/build/kshisen-_tT8Mb/kshisen-16.04.1/src/board.cpp:158
#11 0x000000000041d4af in Board::Board(QWidget*) (this=0x875650,
parent=<optimized out>) at
/build/kshisen-_tT8Mb/kshisen-16.04.1/src/board.cpp:122
#12 0x0000000000410da0 in App::App(QWidget*) (this=0x86f2e0,
parent=<optimized out>, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at
/build/kshisen-_tT8Mb/kshisen-16.04.1/src/app.cpp:82
#13 0x000000000040e95d in main(int, char**) (argc=1, argv=<optimized
out>) at /build/kshisen-_tT8Mb/kshisen-16.04.1/src/main.cpp:74

(gdb) bt full
#0  0x00007ffff48b8458 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:55
        resultvar = 0
        pid = 5687
        selftid = 5687
#1  0x00007ffff48b98da in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0xab2ae8,
sa_sigaction = 0xab2ae8}, sa_mask = {__val = {140737299760896,
9836416, 140737351975024, 140737299760448, 1, 140737299760579,
8869600, 1, 140737306558312, 140737299760896, 9836416,
140737072658576, 140737072658576, 1, 140737072660944, 11217456}},
sa_flags = -415688976, sa_restorer = 0x7fffe738f8c0}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff4fb7f6d in __gnu_cxx::__verbose_terminate_handler() ()
at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff4fb5f36 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff4fb5f81 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff4fb6199 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff4fddda5 in std::__throw_out_of_range_fmt(char const*,
...) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x000000000041c0e7 in Board::newGame() (__n=0, this=<synthetic
pointer>) at /usr/include/c++/5/bits/stl_vector.h:803
        i = <optimized out>
        numberOfTiles = 0
        curTile = <optimized out>
        tileCount = <optimized out>
        tx = <optimized out>
        ty = <optimized out>
        oldfield = std::vector of length 144, capacity 144 = {34, 30,
27, 24, 1, 11, 15, 13, 38, 23, 20, 8, 5, 4, 4, 22, 25, 37, 11, 5, 14,
2, 25, 35, 16, 17, 35, 13, 35, 32, 28, 9, 37, 11, 20, 33, 27, 18, 10,
33, 32, 6, 35, 12, 3, 22, 33, 15, 36, 14, 4, 3, 42, 14, 1, 1, 26, 22,
23, 33, 32, 8, 4, 21, 34, 40, 36, 7, 10, 6, 2, 16, 25, 10, 9, 41, 36,
18, 29, 6, 19, 7, 13, 27, 38, 20, 3, 38, 24, 19, 13, 15, 21, 24, 2,
17, 12, 39, 6, 34, 21, 25, 5, 1, 2, 38, 8, 10, 12, 18, 18, 24, 32, 9,
7, 20, 26, 27, 22, 19, 26, 17, 15, 23, 37, 34, 19, 36, 7, 8, 17, 3,
14, 37, 23, 16, 26, 9, 12, 11, 21, 5, 16, 31}
        maxAttempts = 200
#8  0x000000000041c0e7 in Board::newGame() (__n=0, this=<synthetic
pointer>) at /usr/include/c++/5/bits/stl_vector.h:824
        i = <optimized out>
        numberOfTiles = 0
        curTile = <optimized out>
        tileCount = <optimized out>
        tx = <optimized out>
        ty = <optimized out>
        oldfield = std::vector of length 144, capacity 144 = {34, 30,
27, 24, 1, 11, 15, 13, 38, 23, 20, 8, 5, 4, 4, 22, 25, 37, 11, 5, 14,
2, 25, 35, 16, 17, 35, 13, 35, 32, 28, 9, 37, 11, 20, 33, 27, 18, 10,
33, 32, 6, 35, 12, 3, 22, 33, 15, 36, 14, 4, 3, 42, 14, 1, 1, 26, 22,
23, 33, 32, 8, 4, 21, 34, 40, 36, 7, 10, 6, 2, 16, 25, 10, 9, 41, 36,
18, 29, 6, 19, 7, 13, 27, 38, 20, 3, 38, 24, 19, 13, 15, 21, 24, 2,
17, 12, 39, 6, 34, 21, 25, 5, 1, 2, 38, 8, 10, 12, 18, 18, 24, 32, 9,
7, 20, 26, 27, 22, 19, 26, 17, 15, 23, 37, 34, 19, 36, 7, 8, 17, 3,
14, 37, 23, 16, 26, 9, 12, 11, 21, 5, 16, 31}
        maxAttempts = 200
#9  0x000000000041c0e7 in Board::newGame() (this=this@entry=0x875650)
at /build/kshisen-_tT8Mb/kshisen-16.04.1/src/board.cpp:545
        i = <optimized out>
        numberOfTiles = 0
        curTile = <optimized out>
        tileCount = <optimized out>
        tx = <optimized out>
        ty = <optimized out>
        oldfield = std::vector of length 144, capacity 144 = {34, 30,
27, 24, 1, 11, 15, 13, 38, 23, 20, 8, 5, 4, 4, 22, 25, 37, 11, 5, 14,
2, 25, 35, 16, 17, 35, 13, 35, 32, 28, 9, 37, 11, 20, 33, 27, 18, 10,
33, 32, 6, 35, 12, 3, 22, 33, 15, 36, 14, 4, 3, 42, 14, 1, 1, 26, 22,
23, 33, 32, 8, 4, 21, 34, 40, 36, 7, 10, 6, 2, 16, 25, 10, 9, 41, 36,
18, 29, 6, 19, 7, 13, 27, 38, 20, 3, 38, 24, 19, 13, 15, 21, 24, 2,
17, 12, 39, 6, 34, 21, 25, 5, 1, 2, 38, 8, 10, 12, 18, 18, 24, 32, 9,
7, 20, 26, 27, 22, 19, 26, 17, 15, 23, 37, 34, 19, 36, 7, 8, 17, 3,
14, 37, 23, 16, 26, 9, 12, 11, 21, 5, 16, 31}
        maxAttempts = 200
#10 0x000000000041cd11 in Board::loadSettings()
(this=this@entry=0x875650) at
/build/kshisen-_tT8Mb/kshisen-16.04.1/src/board.cpp:158
#11 0x000000000041d4af in Board::Board(QWidget*) (this=0x875650,
parent=<optimized out>) at
/build/kshisen-_tT8Mb/kshisen-16.04.1/src/board.cpp:122
        palette = {static staticMetaObject = {d = {superdata = 0x0,
stringdata = 0x7ffff5e7c400, data = 0x7ffff5e7c2a0, static_metacall =
0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x8bb300, {data
= {current_group = 0, resolve_mask = 1024},
for_faster_swapping_dont_use = 16384}}
#12 0x0000000000410da0 in App::App(QWidget*) (this=0x86f2e0,
parent=<optimized out>, __in_chrg=<optimized out>,
__vtt_parm=<optimized out>) at
/build/kshisen-_tT8Mb/kshisen-16.04.1/src/app.cpp:82
#13 0x000000000040e95d in main(int, char**) (argc=1, argv=<optimized
out>) at /build/kshisen-_tT8Mb/kshisen-16.04.1/src/main.cpp:74
        a = <incomplete type>
        migrate = {d = 0x846ec0}
        aboutData = {d = 0x85a730}
        parser = {d = 0x85a8a0}
        service = <incomplete type>
        app = <optimized out>
(gdb) quit
A debugging session is active.

	Inferior 1 [process 5687] will be killed.

Quit anyway? (y or n) y

Hopefully the above is helpful enough, if not, please let me know and
I'll try to provide/get more info.

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8


Reply to: