Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MyPaint 1.2.1 crashed #790

Closed
Abhasara opened this issue Mar 6, 2017 · 13 comments
Closed

MyPaint 1.2.1 crashed #790

Abhasara opened this issue Mar 6, 2017 · 13 comments
Labels
info.NeedInfo Please describe the issue more clearly info.WorksForMe Can't reproduce platform.Windows Issue is reported on Windows type.Support.User User needs support

Comments

@Abhasara
Copy link

Abhasara commented Mar 6, 2017

C:\Program Files\mypaint-w64\mingw64\bin\libgdk_pixbuf-2.0-0.dll

Exception thrown at 0x000000006534243A (libgdk_pixbuf-2.0-0.dll) in python2w.exe: 0xC0000005: Access violation reading location 0x0000000700000008.
Unhandled exception at 0x000000006534243A (libgdk_pixbuf-2.0-0.dll) in python2w.exe: 0xC0000005: Access violation reading location 0x0000000700000008.
wisualstudio

@achadwick
Copy link
Member

I don't have access to Visual Studio, so the screenshot is not helpful.

Can this be reproduced reliably? If so, please run MyPaint in gdb and paste a backtrace here.

@achadwick
Copy link
Member

achadwick commented Mar 6, 2017

Thanks for the report!

There's not enough information in your original report to move this issue forward, sadly. Please read the bug reporting guidelines for details of what we need. We need more information about your system, and more information about your MyPaint installation if this report is going to be useful to us.

We very definitely need information about what you were attempting in MyPaint when the error happened.

@Abhasara
Copy link
Author

Abhasara commented Mar 6, 2017 via email

@Abhasara
Copy link
Author

Abhasara commented Mar 6, 2017 via email

@achadwick
Copy link
Member

I cannot see your screengrab, something went wrong. Please post the text of the backtrace between 2 triple-backtick lines,

```
like
this
```

if that makes sense 😄
You can read more about formatting for github here: https://guides.github.com/features/mastering-markdown/

We have debugging documentation here: https://github.com/mypaint/mypaint/wiki/Debugging-crashes-on-Windows. The goal for debugging GUI code is to discover what bit of our Python code is wrong though, it isn't necessarily a bug in GTK.

Can you reproduce this with the current master within an MSYS2 development environment?

@Abhasara
Copy link
Author

Abhasara commented Mar 6, 2017 via email

@Abhasara
Copy link
Author

Abhasara commented Mar 6, 2017 via email

@achadwick
Copy link
Member

@Abhasara
We need a backtrace. Can you do a bt full or bt in gdb, as described in https://github.com/mypaint/mypaint/wiki/Debugging-crashes-on-Windows#running-gdb

The debugging symbols for GTK and GDK can be found on the release page at https://github.com/mypaint/mypaint/releases/tag/v1.2.1. Please don't use Visual Studio, I don't know how to read the output.

Is this Windows 10? This may be a duplicate of #788.

Are you using your graphics tablet when this crash happens?

(Please, please use the web interface on github. Things format so much nicer on it.)

@Abhasara
Copy link
Author

Abhasara commented Mar 6, 2017

I have Windows 10 and Wacom Tablet Intuos4 S
Here is this report from My Paint debug

Mypaint version: 1.2.1+gitexport.bcf5a28d
System information: Windows-10-10.0.14393-SP0
Using: Python 2.7.13, GTK 3.22.7, GdkPixbuf 2.36.4, Cairo 1.15.4, GLib 2.50.1
Traceback (most recent call last):
  File "C:/Program Files/mypaint-w64/mingw64/share/mypaint/gui/application.py", line 802, crash_program_cb(self=<gui.application.Application object>, action=<Gtk.Action object at 0x000000000c169f50 (GtkAction at 0x000000000b6a0c40)>)
            """Tests exception handling."""
            raise Exception("This is a crash caused by the user.")
  variables: {'Exception': ('builtin', <type 'exceptions.Exception'>)}
Exception: This is a crash caused by the user.
Here is the report from MSYS
2

Ruda@SWAN-PC MINGW64 ~
$  gdb -ex r --args python ./mypaint -c /tmp/debug-cfg-1
GNU gdb (GDB) 7.12
Copyright (C) 2016 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-w64-mingw32".
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"...
Traceback (most recent call last):
  File "<string>", line 3, in <module>
ImportError: No module named libstdcxx.v6.printers
c:\msys64\mingw64\bin\../etc/gdbinit:5: Error in sourced command file:
Error while executing Python code.
Reading symbols from python...(no debugging symbols found)...done.
Starting program: C:\msys64\mingw64\bin\python.exe ./mypaint -c C:/msys64/tmp/de                                                                                                                                                             bug-cfg-1
[New Thread 10772.0x1be4]
[New Thread 10772.0x64c]
[New Thread 10772.0x2ac8]
C:\msys64\mingw64\bin\python.exe: can't open file './mypaint': [Errno 2] No such                                                                                                                                                              file or directory
[Thread 10772.0x2ac8 exited with code 2]
[Thread 10772.0x64c exited with code 2]
[Inferior 1 (process 10772) exited with code 02]
(gdb)
```

@Abhasara Abhasara closed this as completed Mar 6, 2017
@achadwick
Copy link
Member

@Abhasara
You have closed this issue. Is it still a problem? Please reopen it if you want me to work on it.

  • You need to type bt full at the (gdb) prompt (and press return).
  • The Python backtrace above is not useful.
  • The gdb session above does not contain a backtrace.

I cannot take this any further right now.

@achadwick achadwick added info.NeedInfo Please describe the issue more clearly type.Support.User User needs support platform.Windows Issue is reported on Windows info.WorksForMe Can't reproduce labels Mar 8, 2017
@Abhasara
Copy link
Author

Abhasara commented Mar 9, 2017

Hi Andrew,
This problem continuing still.
I made new report according to your advice.

Running gdb.exe...
GNU gdb (GDB) 7.12
Copyright (C) 2016 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-w64-mingw32".
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"...
Traceback (most recent call last):
  File "<string>", line 3, in <module>
ImportError: No module named libstdcxx.v6.printers
c:\program files\mypaint-w64\mingw64\bin\../etc/gdbinit:5: Error in sourced command file:
Error while executing Python code.
Reading symbols from python2.exe...(no debugging symbols found)...done.
Starting program: C:\program files\mypaint-w64\mingw64\bin\python2.exe mingw64/bin/mypaint
[New Thread 3264.0x2ca4]
[New Thread 3264.0x16c4]
[New Thread 3264.0x1c38]
INFO: mypaint: Installation layout: conventional POSIX-like structure with prefix u'C:/Program Files/mypaint-w64/mingw64'
[New Thread 3264.0x2414]
INFO: lib.i18n: Windows: LANG='cs_CZ'
INFO: lib.i18n: Windows: LANGUAGE='cs_CZ'
WARNING: mypaint: No bindtextdomain builtins found in module 'locale'.
INFO: mypaint: Trying platform-specific fallback hacks to find bindtextdomain funcs.
INFO: mypaint: Windows: found working bindtextdomain funcs in 'libintl-8.dll' (ctypes)
[New Thread 3264.0xb28]
[New Thread 3264.0x1dd0]
[New Thread 3264.0x2164]
[New Thread 3264.0x1a74]
warning: HEAP[python2.exe]:
warning: Heap block at 000000000A2FA000 modified at 000000000A2FA011 past requested size of 1

Thread 1 received signal SIGTRAP, Trace/breakpoint trap.
0x00007ff91eeac4cf in ntdll!RtlpNtMakeTemporaryKey () from C:\WINDOWS\SYSTEM32\ntdll.dll
(gdb) bt full
#0  0x00007ff91eeac4cf in ntdll!RtlpNtMakeTemporaryKey () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#1  0x00007ff91ee3ad94 in ntdll!RtlDecompressBufferEx () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#2  0x00007ff91ee78238 in ntdll!memset () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#3  0x00007ff91ee43d01 in ntdll!EtwEventProviderEnabled () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#4  0x00007ff91ee6df51 in ntdll!memset () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#5  0x00007ff91edecfb6 in ntdll!RtlFreeHeap () from C:\WINDOWS\SYSTEM32\ntdll.dll
No symbol table info available.
#6  0x00007ff91e989dac in msvcrt!free () from C:\WINDOWS\System32\msvcrt.dll
No symbol table info available.
#7  0x000000006241e64b in ?? () from C:\program files\mypaint-w64\mingw64\lib\python2.7\site-packages\gi\_gi.pyd
No symbol table info available.
#8  0x000000006241cbd8 in ?? () from C:\program files\mypaint-w64\mingw64\lib\python2.7\site-packages\gi\_gi.pyd
No symbol table info available.
#9  0x000000006241e2ff in ?? () from C:\program files\mypaint-w64\mingw64\lib\python2.7\site-packages\gi\_gi.pyd
No symbol table info available.
#10 0x000000006ce4b701 in libpython2.7!PyObject_Call () from C:\program files\mypaint-w64\mingw64\bin\libpython2.7.dll
No symbol table info available.
#11 0x000000006ceddd95 in libpython2.7!PyEval_EvalFrameEx ()
   from C:\program files\mypaint-w64\mingw64\bin\libpython2.7.dll
No symbol table info available.
#12 0x000000006cee0445 in libpython2.7!PyEval_EvalFrameEx ()
   from C:\program files\mypaint-w64\mingw64\bin\libpython2.7.dll
No symbol table info available.
#13 0x000000006cee0445 in libpython2.7!PyEval_EvalFrameEx ()
---Type <return> to continue, or q <return> to quit---
``` @

@corumba
Copy link

corumba commented Sep 14, 2017

I got exactly the same issue (using Windows 10 x64 Wacom PTH651L). Why has this issue been closed, can it be reopened?

EDIT: I have been testing for 30min and this issue seems to have been fixed in version 1.3.0-alpha+git.8a0a9160

@achadwick
Copy link
Member

@Abhasara
Can you confirm that this issue is no longer present in 8a0a916?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info.NeedInfo Please describe the issue more clearly info.WorksForMe Can't reproduce platform.Windows Issue is reported on Windows type.Support.User User needs support
Development

No branches or pull requests

3 participants