ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Помогите разобраться с сегфолтом
Date: Sat, 3 Mar 2018 17:03:36 +0700
Message-ID: <770dcfb6-9732-1a6d-4020-f3d2eb6266f7@ya.ru> (raw)

Доброго дня всем!

Помогите разобраться с причиной сегфолта.

screenshot-tool падает при запуске только на p8 с архитектурой i586. 
Приложение написано на vala. gdb backtrace выдаёт:

(gdb) backtrace
#0  0xb6fb2e8a in _IO_vfprintf_internal (s=0xbffff3c0, format=<optimized 
out>,
     ap=0xbffff5a8 "\034") at vfprintf.c:1632
#1  0xb70504bc in __GI___vasprintf_chk (result_ptr=0xbffff4bc, flags=1,
     format=0xb71c0784 "goption.c:2384: ignoring reverse flag on option 
of arg-type %d in entry %s:%s", args=0xbffff59c "lect") at 
vasprintf_chk.c:69
#2  0xb718e228 in vasprintf (__ap=0xbffff59c "lect",
     __fmt=0xb71c0784 "goption.c:2384: ignoring reverse flag on option 
of arg-type %d in entry %s:%s", __ptr=0xbffff4bc) at 
/usr/include/bits/stdio2.h:210
#3  g_vasprintf (string=0xbffff4bc,
     format=0xb71c0784 "goption.c:2384: ignoring reverse flag on option 
of arg-type %d in entry %s:%s", args=0xbffff59c "lect") at gprintf.c:316
#4  0xb7167bf9 in g_strdup_vprintf (
     format=0xb71c0784 "goption.c:2384: ignoring reverse flag on option 
of arg-type %d in entry %s:%s", args=0xbffff59c "lect") at gstrfuncs.c:514
#5  0xb714ecc7 in g_logv (log_domain=0xb71b732e "GLib",
     log_level=G_LOG_LEVEL_WARNING,
     format=0xb71c0784 "goption.c:2384: ignoring reverse flag on option 
of arg-type %d in entry %s:%s", args=0xbffff59c "lect") at gmessages.c:1264
#6  0xb714f045 in g_log (log_domain=0xb71b732e "GLib",
     log_level=G_LOG_LEVEL_WARNING,
     format=0xb71c0784 "goption.c:2384: ignoring reverse flag on option 
of arg-type %d in entry %s:%s") at gmessages.c:1398
#7  0xb7154e81 in g_option_group_add_entries (group=0x81548c0,
---Type <return> to continue, or q <return> to quit---
     entries=0xbffff618) at goption.c:2383
#8  0xb74d6816 in g_application_add_main_option_entries (
     application=0x8140108, entries=0x8179700) at gapplication.c:715
#9  0x0804cd59 in screenshot_screenshot_app_constructor (type=135569800,
     n_construct_properties=1, construct_properties=0x80fc870)
     at /usr/src/debug/screenshot-tool-0.1.4/src/Application.vala:52
#10 0xb726bdd5 in g_object_new_with_custom_constructor (n_params=0,
     params=0x0, class=0x818dea0) at gobject.c:1701
#11 g_object_new_internal (class=class@entry=0x818dea0,
     params=params@entry=0x0, n_params=n_params@entry=0) at gobject.c:1781
#12 0xb726d933 in g_object_newv (object_type=135569800, n_parameters=0,
     parameters=0x0) at gobject.c:1930
#13 0xb726e0bd in g_object_new (object_type=135569800, 
first_property_name=0x0)
     at gobject.c:1623
#14 0x0804c9c5 in screenshot_screenshot_app_construct (
     object_type=<optimized out>)
     at /usr/src/debug/screenshot-tool-0.1.4/src/Application.vala:22
#15 screenshot_screenshot_app_new ()
     at /usr/src/debug/screenshot-tool-0.1.4/src/Application.vala:22
#16 screenshot_screenshot_app_main (args=0xbffff8a4, args_length1=2)
     at /usr/src/debug/screenshot-tool-0.1.4/src/Application.vala:110
#17 0x0804c1bb in main (argc=2, argv=0xbffff8a4)
     at /usr/src/debug/screenshot-tool-0.1.4/src/Application.vala:101

Есть у кого какие мысли?

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>



                 reply	other threads:[~2018-03-03 10:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=770dcfb6-9732-1a6d-4020-f3d2eb6266f7@ya.ru \
    --to=midyukov-anton@ya.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git