cleanrock / flobby

spring lobby
GNU General Public License v2.0
12 stars 5 forks source link

SIGSEGV when closing lobby #30

Open 1231e7b84a5de93a opened 8 years ago

1231e7b84a5de93a commented 8 years ago

To reproduce: open flobby, connect to server, join a battle room and Ctrl+Q.

Most of the time it segfaults. Happens at the end of main after Destructors of Model, Controller and UserInterface are called.

Can't trigger it anymore when I set CMAKE_BUILD_TYPE to RelWithDebInfo.

cleanrock commented 8 years ago

Unable to reproduce. Give more info like command line arguments, flobby version.

1231e7b84a5de93a commented 8 years ago

I'm able to reproduce. Not always, through. You need to be in a battle room.

No command line arguments. Compiled myself, version: 0.2-90-gd0378d5 (latest master) cmake output: https://gist.github.com/1231e7b84a5de93a/6e8f8caee1dfd2615b80ff5494ae60f7

Might it be a unitsync bug?

cleanrock commented 8 years ago

Perhaps you can give more info like what battle (game, engine) you join. E.g. give me access to start and end of flobby.log so i know more (see Settings/Logging... dialog).

1231e7b84a5de93a commented 8 years ago

https://gist.github.com/1231e7b84a5de93a/0a37e37996f76c6ccd2d6b619594b067 I snipped the middle with all the user and channel, battle listings. Can give you the complete log if you want.

Took like 3 tries to produce a crash. Joined one battle, switched one or two times. I Mostly join a BA game current engine 100 or 101. I clicked on the battle list a few times. Sometimes this seems to help produce a crash. Could be coincidence.

cleanrock commented 8 years ago

Thanks for log, I am still unable to reproduce this. I doubt it is a unitsync issue, you are using the auto-downloaded/auto-configured unitsync right ? What distro are you using ? Ubuntu 15.10 ?

@Jamanno, can you reproduce this ? I think SirMaverick only see this issue with a Release build.

Jamanno commented 8 years ago

I do not need to join a battle room. It always ends flobby for me with ctrl +q is that maybe fltk "feature" or some windowmanager setting? I can end any app in my windowmanager (awesome) with ctrl + q, so of course flobby as well. Cannot reproduce with LinuxMint 17.1 Rebecca... so I assume general X window system shortcut.

cleanrock commented 8 years ago

@Jamanno, perhaps you misunderstood me, i asked if you can reproduce the flobby crash (SIGSEGV) at Ctrl+Q in BA or other battle rooms on uberserver.

1231e7b84a5de93a commented 8 years ago

I self-compiled spring/unitsync. I'm using Debian. I'll try out auto-downloaded/auto-configured unitsync.