public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Cyrill V. Gorcunov" <gorcunov@gmail.com>
To: alessandro.suardi@gmail.com
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: qconf: reproducible segfault
Date: Thu, 4 Jan 2007 12:42:31 +0300	[thread overview]
Message-ID: <200701041242.31508.gorcunov@gmail.com> (raw)
In-Reply-To: <459C1966.7040209@xs4all.nl>

Hi,
there is SIGSEGV happens in qconf.cc:995

	str += print_filter(sym->name);

but sym points to 0x1. To reproduce the error just do:

1) make xconfig (with Options->Show Debug Info unchecked)
2) go to Networking->Networking Options->Network packet filtering framework (Netfilter)->
   Network packet filtering framework (Netfilter) and the line "<| .." must be selected
   then just turn on Options->Show Debug info menu and you'll get:

	make[1]: *** [xconfig] Segmentation fault
	make: *** [xconfig] Error 2

gdb shows:

	Program received signal SIGSEGV, Segmentation fault.
	0x08069834 in ConfigInfoView::symbolInfo (this=0x85ae750) at qconf.cc:995
(gdb) bt
	#0  0x08069834 in ConfigInfoView::symbolInfo (this=0x85ae750) at qconf.cc:995
	#1  0x080696a9 in ConfigInfoView::setShowDebug (this=0x85ae750, b=true)
    at qconf.cc:946
	#2  0x080648bf in ConfigInfoView::qt_invoke (this=0x85ae750, _id=161, 
    _o=0xbfc56ea0) at qconf.moc:544
	#3  0xb7a5b1cc in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
	#4  0xb7a5b800 in QObject::activate_signal_bool ()
   from /usr/qt/3/lib/libqt-mt.so.3
	#5  0xb7dbd44b in QAction::toggled () from /usr/qt/3/lib/libqt-mt.so.3
	#6  0xb7ba0876 in QAction::setOn () from /usr/qt/3/lib/libqt-mt.so.3
	#7  0xb7ba0a94 in QAction::internalActivation ()
   from /usr/qt/3/lib/libqt-mt.so.3
	#8  0xb7dbd544 in QAction::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3
	#9  0xb7a5b1cc in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
	#10 0xb7d9cc7a in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
	#11 0xb7a753bd in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
	#12 0xb7b62c09 in QPopupMenu::mouseReleaseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
	#13 0xb7a915b7 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
	#14 0xb79fe9df in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
	#15 0xb79fde44 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
	#16 0xb79937c1 in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
	#17 0xb7991835 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
	#18 0xb79a8bb4 in QEventLoop::processEvents ()
   from /usr/qt/3/lib/libqt-mt.so.3
	#19 0xb7a10d18 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
	#20 0xb7a10bc8 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
	#21 0xb79fec31 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
	#22 0x08074453 in main (ac=2, av=0xbfc57ac4) at qconf.cc:1736
(gdb) p sym
	$20 = (symbol *) 0x1

I'm investigating this...

-- 
	- Cyrill

  parent reply	other threads:[~2007-01-04  9:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-03 21:00 qconf: reproducible segfault Bauke Jan Douma
2007-01-03 21:35 ` Randy Dunlap
2007-01-04  0:32 ` Alessandro Suardi
2007-01-04  9:42 ` Cyrill V. Gorcunov [this message]
     [not found]   ` <5a4c581d0701041316w83d1564rac875a1d4e0ef87a@mail.gmail.com>
     [not found]     ` <200701051022.59914.gorcunov@gmail.com>
2007-01-05 21:28       ` Alessandro Suardi
2007-01-04 17:14 ` Cyrill V. Gorcunov
2007-01-04 17:15   ` Randy Dunlap

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=200701041242.31508.gorcunov@gmail.com \
    --to=gorcunov@gmail.com \
    --cc=alessandro.suardi@gmail.com \
    --cc=linux-kernel@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox