From patchwork Sun Mar 19 12:37:17 2006 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andreas Brachold X-Patchwork-Id: 12230 Received: from n115-124.dsl.de.inter.net ([213.73.115.124] helo=wopr.deltab.de) by www.linuxtv.org with esmtp (Exim 4.50) id 1FKxAK-0001i0-Nv for vdr@linuxtv.org; Sun, 19 Mar 2006 13:37:48 +0100 Received: from andreas by wopr.deltab.de with local (Exim 4.50) id 1FKx9p-0001RK-MH; Sun, 19 Mar 2006 13:37:17 +0100 Subject: Re: [vdr] segfault with 1.3.44 and graphlcd 0.1.3 From: Andreas Brachold To: VDR Mailing List In-Reply-To: <441D4CA3.9030403@4t.to> References: <001201c64ab7$1c6046a0$6564a8c0@dlpc01wxph> <441D4CA3.9030403@4t.to> Date: Sun, 19 Mar 2006 13:37:17 +0100 Message-Id: <1142771837.5192.7.camel@wopr.deltab.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 12:37:49 -0000 Status: O X-Status: X-Keywords: X-UID: 8440 Hi, Am Sonntag, den 19.03.2006, 13:20 +0100 schrieb Friedhelm Büscher: > with vanilla vdr-1.3.44 and graphlcd-0.1.3 i get a segfault at startup. > graphlcd is configured to use the GU140X32F Driver. a gdb-backtrace says: > > (gdb) bt > #0 0xb7d31e84 in mallopt () from /lib/tls/libc.so.6 > #1 0xb7d30dcb in free () from /lib/tls/libc.so.6 > #2 0xb7eb0d23 in operator delete () from /usr/lib/libstdc++.so.5 > #3 0xb7eb0d7f in operator delete[] () from /usr/lib/libstdc++.so.5 > #4 0xb7c31e38 in GLCD::cDriverGU140X32F::DeInit (this=0xb7df0e80) at > gu140x32f.c:219 > #5 0xb7c6cfcf in cPluginGraphLCD::~cPluginGraphLCD () from > ./PLUGINS/lib/libvdr-graphlcd.so.1.3.44 > #6 0x080d6068 in cDll::~cDll () > #7 0x0810b13b in cListBase::Del () > #8 0x080d7097 in cPluginManager::Shutdown () > #9 0x0810dadc in main () This could be only a secondary effect. I attacted a patch avoid this segmentation fault. But, don't ask my why cPluginManager::Shutdown is called at statup. You see maybe more informations at syslog. Regards, Andreas Index: gu140x32f.c =================================================================== --- gu140x32f.c (Revision 58) +++ gu140x32f.c (Arbeitskopie) @@ -95,7 +95,9 @@ cDriverGU140X32F::cDriverGU140X32F(cDriverConfig * config) -: config(config) +: config(config) +, m_pDrawMem(0) +, m_pVFDMem(0) { oldConfig = new cDriverConfig(*config);