Author Topic: The 19 June 2015 build (10341) is out.  (Read 77803 times)

ToApolytoXaos

  • Guest
Re: The 19 June 2015 build (10341) is out.
« Reply #15 on: June 24, 2015, 06:55:35 pm »
With svn10343 when closing C::B, it aborts. I debugged it and got the following:

Code
19:51:46: Debug: 3 threads were not terminated by the application.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000030 in ?? ()
(gdb) list
308 #endif // wxCHECK_VERSION
309 };
310 #if wxCHECK_VERSION(3,0,0)
311 void cbMessageOutputNull::Output(cb_unused const wxString &str){}
312 #else
313 void cbMessageOutputNull::Printf(cb_unused const wxChar* format, ...){}
314 #endif
315 } // namespace
316
317 IMPLEMENT_APP(CodeBlocksApp) // TODO: This gives a "redundant declaration" warning, though I think it's false. Dig through macro and check.
(gdb) bt
#0  0x0000000000000030 in ?? ()
#1  0x00007ffff5d1378b in ~wxEventTableEntryBase (
    this=0x7ffff5fc3d40 <wxTreeListCtrl::sm_eventTableEntries>,
    __in_chrg=<optimized out>) at ../include/wx/event.h:3177
#2  ~wxEventTableEntry (
    this=0x7ffff5fc3d40 <wxTreeListCtrl::sm_eventTableEntries>,
    __in_chrg=<optimized out>) at ../include/wx/event.h:3196
#3  __tcf_0 () at ../src/generic/treelist.cpp:987
#4  0x00007ffff153bf4f in __cxa_finalize (d=0x7ffff5fc1030)
    at cxa_finalize.c:56
#5  0x00007ffff5c79073 in __do_global_dtors_aux ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
#6  0x00007fffffffe090 in ?? ()
#7  0x00007ffff7deb00a in _dl_fini () at dl-fini.c:252
Backtrace stopped: frame did not save the PC
(gdb) c
Continuing.

Program received signal SIGABRT, Aborted.
0x00007ffff1539107 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff1539107 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff153a4e8 in __GI_abort () at abort.c:89
#2  0x00007ffff4b6d6e1 in wxFatalSignalHandler ()
    at ../src/unix/utilsunx.cpp:1397
#3  <signal handler called>
#4  0x0000000000000030 in ?? ()
#5  0x00007ffff5d1378b in ~wxEventTableEntryBase (
    this=0x7ffff5fc3d40 <wxTreeListCtrl::sm_eventTableEntries>,
    __in_chrg=<optimized out>) at ../include/wx/event.h:3177
#6  ~wxEventTableEntry (
    this=0x7ffff5fc3d40 <wxTreeListCtrl::sm_eventTableEntries>,
    __in_chrg=<optimized out>) at ../include/wx/event.h:3196
#7  __tcf_0 () at ../src/generic/treelist.cpp:987
#8  0x00007ffff153bf4f in __cxa_finalize (d=0x7ffff5fc1030)
    at cxa_finalize.c:56
#9  0x00007ffff5c79073 in __do_global_dtors_aux ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
#10 0x00007fffffffe090 in ?? ()
#11 0x00007ffff7deb00a in _dl_fini () at dl-fini.c:252
Backtrace stopped: frame did not save the PC
(gdb)

Any advice?

Cheers

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 19 June 2015 build (10341) is out.
« Reply #16 on: June 24, 2015, 09:30:22 pm »
With svn10343 when closing C::B, it aborts. I debugged it and got the following:

Any advice?

Cheers

The debug info is not something I can follow.

But, I would suggest disabling each plugin one at a time and see if one crashes.
After, all the CB Plugins are disabled I would see if shutting CB still causes a crash.

If it no longer causes a crash, I would turn on one plugin at a time to see what plugin causes the crash.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

ToApolytoXaos

  • Guest
Re: The 19 June 2015 build (10341) is out.
« Reply #17 on: June 24, 2015, 10:59:37 pm »
The debug info is not something I can follow.

But, I would suggest disabling each plugin one at a time and see if one crashes.
After, all the CB Plugins are disabled I would see if shutting CB still causes a crash.

If it no longer causes a crash, I would turn on one plugin at a time to see what plugin causes the crash.

Tim S.

Tim, I did exactly what you said and the issue remains the same. It's not a plugin's fault, but something else.

Cheers

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 19 June 2015 build (10341) is out.
« Reply #18 on: June 25, 2015, 01:47:29 am »
Oh, so it is not the debugger error reported by valrgind, I've fixed...

What version of wx are you using this time? Self compiled wx?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ToApolytoXaos

  • Guest
Re: The 19 June 2015 build (10341) is out.
« Reply #19 on: June 25, 2015, 04:35:31 pm »
No, the one that comes with GNU / Debian testing 64-bit

Code
libwxbase3.0-0:amd64
libwxbase3.0-0-dbg:amd64
libwxbase3.0-dev
libwxgtk-media3.0-0:amd64
libwxgtk-media3.0-0-dbg:amd64
libwxgtk-media3.0-dev
libwxgtk-webview3.0-0:amd64
libwxgtk-webview3.0-0-dbg:amd64
libwxgtk-webview3.0-dev
libwxgtk3.0-0:amd64
libwxgtk3.0-0-dbg:amd64
libwxgtk3.0-dev
wx-common
wx3.0-examples
wx3.0-headers

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: The 19 June 2015 build (10341) is out.
« Reply #20 on: June 26, 2015, 12:30:07 am »
Is this using the gtk2 or gtk3? The loaded libs are gtk2.
I'm really confused by your wx versions.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ToApolytoXaos

  • Guest
Re: The 19 June 2015 build (10341) is out.
« Reply #21 on: June 26, 2015, 12:46:47 am »
wx-config --list reports Default config is gtk2-unicode-3.0.

ToApolytoXaos

  • Guest
Re: The 19 June 2015 build (10341) is out.
« Reply #22 on: June 26, 2015, 09:24:00 pm »
This issue appears to affect Code::Blocks due to the use of wx3.0 package. Since svn10315 that Debian decided to remove wx2.8.x from testing, I have this 'aborted' message.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 19 June 2015 build (10341) is out.
« Reply #23 on: June 27, 2015, 01:26:59 pm »
Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my debian-repo.
These packages are build against wxWidgets 3.0 from Debian repos and mght not be as stable than the versions build against wx2.8, but there are no wx2.8 packages available (at least for stable) from official repos.
Please test and give feedback.

Currently compiling, will soon be uploaded.

Any update on Debian build status?

Edit: Thank you, I am now installing 10345.
Edit2: Will post update when I get it installed; Internet download speed really slow today. Likely storm or flood related local issues.
Edit3: Installed CB; building CB core wx28 project to test operation of installation.
Edit4: I did not see shutdown issue reported by ToApolytoXaos; but, I do have wxGTK2.8 installed. And, I am on Debian 8.1 Jessie instead of Debian testing.

Tim S.
« Last Edit: June 27, 2015, 03:37:10 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 19 June 2015 build (10341) is out.
« Reply #24 on: June 27, 2015, 03:11:34 pm »
Debian packages (binaries and sources) for 32-bit and 64-bit systems can be found in my debian-repo.
These packages are build against wxWidgets 3.0 from Debian repos and mght not be as stable than the versions build against wx2.8, but there are no wx2.8 packages available (at least for stable) from official repos.
Please test and give feedback.

Currently compiling, will soon be uploaded.

Any update on Debian build status?

Tim S.
I moved my server to a larger one and migrated from debian to centos.
So I had to crossbuild pbuilder for centos and create new scripts to generate the repo.
This should be done now.
Please test and give feedback.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 19 June 2015 build (10341) is out.
« Reply #25 on: June 27, 2015, 03:54:29 pm »

Any update on Debian build status?

Tim S.
I moved my server to a larger one and migrated from debian to centos.
So I had to crossbuild pbuilder for centos and create new scripts to generate the repo.
This should be done now.
Please test and give feedback.

The build installed without any issue.
It built CB wx28 core project and the project ran and shutdown without any problems.
Tested on Debian 8.1 Jessie with wxGTK2.8 and wxGTK3.0 development packages installed.

Tim S.
 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

ToApolytoXaos

  • Guest
Re: The 19 June 2015 build (10341) is out.
« Reply #26 on: June 27, 2015, 04:27:02 pm »
The build installed without any issue.
It built CB wx28 core project and the project ran and shutdown without any problems.
Tested on Debian 8.1 Jessie with wxGTK2.8 and wxGTK3.0 development packages installed.

Tim S.
That's odd; wxGTK2.8 got removed from jessie and onwards. Did you download the package and installed it manually yourself @stahta01?

https://packages.debian.org/source/jessie/misc/wxwidgets3.0
« Last Edit: June 27, 2015, 04:29:18 pm by ToApolytoXaos »

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 19 June 2015 build (10341) is out.
« Reply #27 on: June 27, 2015, 09:36:25 pm »
The build installed without any issue.
It built CB wx28 core project and the project ran and shutdown without any problems.
Tested on Debian 8.1 Jessie with wxGTK2.8 and wxGTK3.0 development packages installed.

Tim S.
That's odd; wxGTK2.8 got removed from jessie and onwards. Did you download the package and installed it manually yourself @stahta01?

https://packages.debian.org/source/jessie/misc/wxwidgets3.0

Yes, I downloaded the source package from sid and built and installed it, myself.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 19 June 2015 build (10341) is out.
« Reply #28 on: June 28, 2015, 12:07:08 am »
It should work if you enable the oldstable (wheezy)  repos and isnatll it from there. At least it did short after jessie became stable.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 19 June 2015 build (10341) is out.
« Reply #29 on: June 28, 2015, 12:41:45 am »
It should work if you enable the oldstable (wheezy)  repos and isnatll it from there. At least it did short after jessie became stable.

I am 90% sure you will have minor problem doing both wx28 and wx30 dev that way.

The package was changed in a way that wx-common is now supplied by wx30.

But, maybe installing wx-common from wx30 first will prevent problems.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org