buggnubg - Bugs: bug #50617, *** stack smashing detected ***:...

 
 

bug #50617: *** stack smashing detected ***: gnubg terminated

Submitted by:  None
Submitted on:  Wed 22 Mar 2017 11:03:27 PM UTC  
 
Originator Name: amaleshOriginator Email: -unavailable-
Item Group: Crash errorCategory: Export
Release: 1.05-ReleasePrivacy: Public
Operating System: LinuxOS Type: 64Bit
Processor Type: IntelSeverity: 3 - Normal
Open/Closed: ClosedAssigned to: None
Priority: 5 - NormalStatus: Fixed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 05 Apr 2017 06:42:39 PM UTC, comment #4:

Fixed in render.c rev.1.104

Philippe Michel <plm>
Project Member
Sun 26 Mar 2017 09:00:13 PM UTC, comment #3:

As far as I can see, the issue is in the export to html and is still present in the current sources.

For now, I'd suggest you process your matches in two steps :
first, import / analyze / save to sgf / add to database
That should allow the possibly long analyses above to complete.
And then, load from sgf / export to html
That should allow you to put aside the matches that trigger the crash and export the others without wasting too much time.

Philippe Michel <plm>
Project Member
Fri 24 Mar 2017 08:54:07 PM UTC, comment #2:

Thank you for your fast answer.

I'm sorry, 1.05 is the right version.

The crash comes every time relatively quickly in my 200+ set.

But I found the single .mat file which produces the crash, nearly at the end of the the 800+ moves.

After the "stack smashing detected" comes the line "Aborted (core dumped)" - but I don't know, where to find the core dump.

(file #40116, file #40117)

A. Kempf <amalesh>
Thu 23 Mar 2017 10:32:59 PM UTC, comment #1:

Is the indicated release right ? 0.15, really ? Or the 1.05 version provided by ubuntu ?

By 7-12 do you mean it doesn't always crash in the same match, but it does every time and relatively quickly in your 200+ matches set ?

Doesn't it print more than the "stack smashing detected" line ? A few lines starting with "==== Backtrace: ====" for instance.

Philippe Michel <plm>
Project Member
Wed 22 Mar 2017 11:03:27 PM UTC, original submission:

gnubg crashes after 7-12 analyzed matches on Ubuntu 16.04 with the message
"*** stack smashing detected ***: gnubg terminated"

The command is:

~$ gnubg -t -q -c gnubg-batch-export.cfg

An example is in the attached file.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #40116:  crasher.cfg added by amalesh (1KiB - application/octet-stream - gnubg -t -q -c crasher.cfg)
file #40117:  3042161.mat added by amalesh (21KiB - application/octet-stream - gnubg -t -q -c crasher.cfg)
file #40087:  gnubg-batch-export.cfg added by None (60KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amalesh (Updated the item)
  • -unavailable- added by plm (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Apr 2017 06:42:39 PM UTCplmOpen/ClosedOpen=>Closed
      StatusConfirmed=>Fixed
    Sun 26 Mar 2017 09:00:13 PM UTCplmCategoryCommand line interface=>Export
      Release0.15=>1.05-Release
      StatusNone=>Confirmed
    Fri 24 Mar 2017 08:54:07 PM UTCamaleshAttached File-=>Added crasher.cfg, #40116
      Attached File-=>Added 3042161.mat, #40117
    Wed 22 Mar 2017 11:03:27 PM UTCNoneAttached File-=>Added gnubg-batch-export.cfg, #40087

    Back to the top


    Powered by Savane 3.1-cleanup1