Kirjoittaja Aihe: Pinta ei toimi  (Luettu 4432 kertaa)

TMD106

  • Käyttäjä
  • Viestejä: 321
    • Profiili
Pinta ei toimi
« : 05.09.18 - klo:20.57 »
Kaatuu melkein heti jos sillä yrittää jotakin tehdä. Asensin sovelluskaupasta, päätteeltä ja verkkosivulta, aina sama juttu.
Saako mistään toimivaa versiota? Gimp on turhan mutkikas.

nm

  • Käyttäjä
  • Viestejä: 16430
    • Profiili
Vs: Pinta ei toimi
« Vastaus #1 : 05.09.18 - klo:21.08 »
Mikä Ubuntun versio ja mitä ohjelma listaa päätteeseen, jos käynnistät sitä kautta?

TMD106

  • Käyttäjä
  • Viestejä: 321
    • Profiili
Vs: Pinta ei toimi
« Vastaus #2 : 05.09.18 - klo:21.24 »
Ubuntu 18.04.1

nm

  • Käyttäjä
  • Viestejä: 16430
    • Profiili
Vs: Pinta ei toimi
« Vastaus #3 : 05.09.18 - klo:21.25 »
Kuvassa ohjelma on vielä käynnissä, eli ei ole kaatunut? Mitä päätteessä näkyy kaatumisen jälkeen?

Vai jäätyykö ikkuna niin, että ohjelma on pakko tappaa?

TMD106

  • Käyttäjä
  • Viestejä: 321
    • Profiili
Vs: Pinta ei toimi
« Vastaus #4 : 05.09.18 - klo:21.46 »
Koodia: [Valitse]
xx@xx-ThinkPad-T460:~$ pinta
Gtk-Message: 21:44:12.658: Failed to load module "canberra-gtk-module"
double free or corruption (out)
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) GLib.SList.g_free (intptr) <0x0005f>
  at GLib.ListBase.Empty () <0x0013c>
  at GLib.ListBase.Dispose (bool) <0x0000f>
  at GLib.ListBase.Finalize () <0x0001d>
  at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr) <0x00068>

Native stacktrace:

/usr/bin/mono(+0xc8514) [0x563aed29a514]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fcb1448d890]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fcb13eb0e97]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fcb13eb2801]
/lib/x86_64-linux-gnu/libc.so.6(+0x89897) [0x7fcb13efb897]
/lib/x86_64-linux-gnu/libc.so.6(+0x9090a) [0x7fcb13f0290a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x525) [0x7fcb13f09e75]
[0x41b0eaf0]

Debug info from gdb:

[New LWP 16889]
[New LWP 16890]
[New LWP 16891]
[New LWP 16892]
[New LWP 16898]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
95 ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Tiedostoa tai hakemistoa ei ole.
  Id   Target Id         Frame
* 1    Thread 0x7fcb1504b780 (LWP 16888) "Main" __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
  2    Thread 0x7fcb12bff700 (LWP 16889) "SGen worker" 0x00007fcb144889f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563aed78da08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  3    Thread 0x7fcb13371700 (LWP 16890) "Finalizer" 0x00007fcb1448d23a in __waitpid (pid=16899, stat_loc=0x7fcb1336f76c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  4    Thread 0x7fcb0346b700 (LWP 16891) "gmain" 0x00007fcb13f86bf9 in __GI___poll (fds=0x563aedc73bd0, nfds=2, timeout=5311) at ../sysdeps/unix/sysv/linux/poll.c:29
  5    Thread 0x7fcb02c6a700 (LWP 16892) "gdbus" 0x00007fcb13f86bf9 in __GI___poll (fds=0x563aedbddc10, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  6    Thread 0x7fcae9ffd700 (LWP 16898) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 6 (Thread 0x7fcae9ffd700 (LWP 16898)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fcb09979f2a in g_cond_wait_until () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb099074f1 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb0995c7a4 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb0995be05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcb144826db in start_thread (arg=0x7fcae9ffd700) at pthread_create.c:463
#6  0x00007fcb13f9388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fcb02c6a700 (LWP 16892)):
#0  0x00007fcb13f86bf9 in __GI___poll (fds=0x563aedbddc10, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcb09934439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb099347d2 in g_main_loop_run () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb0a383e76 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fcb0995be05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcb144826db in start_thread (arg=0x7fcb02c6a700) at pthread_create.c:463
#6  0x00007fcb13f9388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fcb0346b700 (LWP 16891)):
#0  0x00007fcb13f86bf9 in __GI___poll (fds=0x563aedc73bd0, nfds=2, timeout=5311) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcb09934439 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcb0993454c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb09934591 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb0995be05 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcb144826db in start_thread (arg=0x7fcb0346b700) at pthread_create.c:463
#6  0x00007fcb13f9388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fcb13371700 (LWP 16890)):
#0  0x00007fcb1448d23a in __waitpid (pid=16899, stat_loc=0x7fcb1336f76c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x0000563aed29a5f0 in ?? ()
#2  <signal handler called>
#3  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4  0x00007fcb13eb2801 in __GI_abort () at abort.c:79
#5  0x00007fcb13efb897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fcb14028b9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#6  0x00007fcb13f0290a in malloc_printerr (str=str@entry=0x7fcb1402a870 "double free or corruption (out)") at malloc.c:5350
#7  0x00007fcb13f09e75 in _int_free (have_lock=0, p=0x563aee1e2aa0, av=0x7fcb1425dc40 <main_arena>) at malloc.c:4278
#8  __GI___libc_free (mem=0x563aee1e2ab0) at malloc.c:3124
#9  0x0000000041b0eaf0 in ?? ()
#10 0x0000563aee1e2ab0 in ?? ()
#11 0x0000563aed8e10d0 in ?? ()
#12 0x0000563aed8e10d0 in ?? ()
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fcb12bff700 (LWP 16889)):
#0  0x00007fcb144889f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x563aed78da08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x563aed78da20, cond=0x563aed78d9e0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x563aed78d9e0, mutex=0x563aed78da20) at pthread_cond_wait.c:655
#3  0x0000563aed422863 in ?? ()
#4  0x00007fcb144826db in start_thread (arg=0x7fcb12bff700) at pthread_create.c:463
#5  0x00007fcb13f9388f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fcb1504b780 (LWP 16888)):
#0  __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1  0x00007fcb13f0c352 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3407
#2  0x00007fcb099398b1 in g_malloc0 () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcb09931bde in g_source_new () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcb09935052 in g_idle_source_new () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcb0993508e in g_idle_add_full () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fcb051c00b4 in ?? () from /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libgail.so
#7  0x00007fcb051c0988 in ?? () from /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libgail.so
#8  0x00007fcb09c20cb8 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007fcb09c293f5 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fcb09c29e0f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007fcb0bc06271 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007fcb0bc12171 in gtk_widget_send_focus_change () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007fcb0bc1240f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007fcb0bc1267a in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#15 0x00007fcb09c0df6d in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007fcb09c20ac8 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007fcb09c293f5 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007fcb09c29e0f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007fcb0bc16cab in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007fcb09c14648 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x0000000041b0ea20 in ?? ()
#22 0x00007fcb12ff1340 in ?? ()
#23 0x0000000000000002 in ?? ()
#24 0x00007fcb12c37e70 in ?? ()
#25 0x00007fcb14f3dd50 in ?? ()
#26 0x00007fcb12ff1340 in ?? ()
#27 0x00007fffa0e80cf8 in ?? ()
#28 0x00007fffa0e804a0 in ?? ()
#29 0x00007fffa0e806b0 in ?? ()
#30 0x00007fffa0e804b0 in ?? ()
#31 0x0000000041b0e858 in ?? ()
#32 0x00007fcb12c411b8 in ?? ()
#33 0x0000000041b0e690 in ?? ()
#34 0x00007fcb12ff1340 in ?? ()
#35 0x0000000041b08456 in ?? ()
#36 0x0000000000000000 in ?? ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Keskeytetty (luotiin core-tiedosto)
xx@xx-ThinkPad-T460:~$

nm

  • Käyttäjä
  • Viestejä: 16430
    • Profiili
Vs: Pinta ei toimi
« Vastaus #5 : 05.09.18 - klo:22.48 »
Monon päivittäminen uusimpaan versioon saattaisi auttaa: https://askubuntu.com/a/955564

Koodia: [Valitse]
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-devel

TMD106

  • Käyttäjä
  • Viestejä: 321
    • Profiili
Vs: Pinta ei toimi
« Vastaus #6 : 05.09.18 - klo:23.30 »
Ei auttanut, poistin Pintan. Olkaamme kiitollisia Win 10:stä jossa Pinta toimii.

Roberto

  • Käyttäjä
  • Viestejä: 185
    • Profiili
Vs: Pinta ei toimi
« Vastaus #7 : 07.09.18 - klo:15.15 »
Auttaisikohan alla oleva, joka minulla on asennettu.

Koodia: [Valitse]
sudo apt-get install libcanberra-gtk-module

synapticilla asennennu Pinta 1.6-2 ja toimii.
Ubuntu 18.04.1, MATE 1.20.1
Dell OptiPlex 7470 (All in One), i5-9500 (6) @ 4,4 GHz, 32 Gt DDR4, Samsung 980 (PCIe NVMe M.2 SSD 2280) 500 Gt
Jäähyllä olevat: Amiga 500, C64

TMD106

  • Käyttäjä
  • Viestejä: 321
    • Profiili
Vs: Pinta ei toimi
« Vastaus #8 : 07.09.18 - klo:23.05 »
Kyllä se auttoi. Kiitos!